Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007436/0.0007436, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000958/0.001702, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9852/0.9852, allocations: 177.2 MB / 188.2 MB, free: 4.492 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1602/1.145, allocations: 53.64 MB / 241.9 MB, free: 2.727 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008003/0.0008003, allocations: 144.8 kB / 242.8 MB, free: 1.871 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001039/0.00184, allocations: 478.6 kB / 243.2 MB, free: 1.418 MB / 234.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.02444/0.02444, allocations: 6.652 MB / 250.6 MB, free: 10.23 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004733/0.02917, allocations: 2.67 MB / 253.3 MB, free: 7.555 MB / 250.7 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(HanserModelica.VariablesTypes.VectorsMatrices2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2") translateModel(HanserModelica.VariablesTypes.VectorsMatrices2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 254.5 MB, free: 6.309 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.04e-05/2.235e-05, allocations: 4.422 kB / 254.5 MB, free: 6.305 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices2): time 0.00157/0.001592, allocations: 0.5596 MB / 255.1 MB, free: 5.746 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001456/0.003048, allocations: 1.158 MB / 256.3 MB, free: 4.574 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.855e-05/0.003076, allocations: 0 / 256.3 MB, free: 4.574 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001742/0.003251, allocations: 27.86 kB / 256.3 MB, free: 4.547 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.758e-05/0.003308, allocations: 23.89 kB / 256.3 MB, free: 4.523 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.669e-06/0.003313, allocations: 4 kB / 256.3 MB, free: 4.52 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 6.383e-05/0.003377, allocations: 19.92 kB / 256.3 MB, free: 4.5 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.052e-05/0.003417, allocations: 0 / 256.3 MB, free: 4.5 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000192/0.003609, allocations: 47.78 kB / 256.4 MB, free: 4.453 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001504/0.00376, allocations: 23.91 kB / 256.4 MB, free: 4.43 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.003776, allocations: 4 kB / 256.4 MB, free: 4.426 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.114e-05/0.003787, allocations: 0 / 256.4 MB, free: 4.426 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001298/0.003917, allocations: 75.86 kB / 256.5 MB, free: 4.352 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.709e-05/0.003944, allocations: 7.938 kB / 256.5 MB, free: 4.344 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 8.357e-05/0.004027, allocations: 51.72 kB / 256.5 MB, free: 4.293 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.695e-05/0.004044, allocations: 3.984 kB / 256.5 MB, free: 4.289 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.004045, allocations: 0 / 256.5 MB, free: 4.289 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.575e-05/0.004061, allocations: 0 / 256.5 MB, free: 4.289 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004069/0.004468, allocations: 308 kB / 256.8 MB, free: 3.965 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.004503, allocations: 8.031 kB / 256.8 MB, free: 3.957 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.426e-05/0.004557, allocations: 84.2 kB / 256.9 MB, free: 3.875 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/0.004709, allocations: 213.8 kB / 257.1 MB, free: 3.637 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.281e-05/0.004762, allocations: 158.9 kB / 257.3 MB, free: 3.48 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.359e-05/0.004806, allocations: 158.9 kB / 257.5 MB, free: 3.324 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.453e-05/0.00486, allocations: 101.5 kB / 257.6 MB, free: 3.219 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.298e-05/0.004883, allocations: 75.47 kB / 257.6 MB, free: 3.145 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.493e-05/0.004928, allocations: 158.9 kB / 257.8 MB, free: 2.988 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.474e-05/0.004973, allocations: 154.5 kB / 257.9 MB, free: 2.836 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.837e-05/0.005021, allocations: 154.6 kB / 258.1 MB, free: 2.684 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001963/0.005217, allocations: 357.3 kB / 258.4 MB, free: 2.32 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.326e-05/0.005291, allocations: 169.1 kB / 258.6 MB, free: 2.145 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.706e-05/0.005318, allocations: 80.14 kB / 258.7 MB, free: 2.062 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.304e-05/0.005341, allocations: 79.28 kB / 258.8 MB, free: 1.984 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.11e-05/0.005382, allocations: 105.8 kB / 258.9 MB, free: 1.871 MB / 250.7 MB Notification: Performance of pre-optimization done (n=0): time 1.312e-06/0.005383, allocations: 4 kB / 258.9 MB, free: 1.867 MB / 250.7 MB Notification: Performance of matching and sorting (n=0): time 6.789e-05/0.005451, allocations: 37.62 kB / 258.9 MB, free: 1.824 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.505e-05/0.005506, allocations: 126.7 kB / 259 MB, free: 1.688 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/0.005673, allocations: 187.5 kB / 259.2 MB, free: 1.492 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.937e-06/0.005682, allocations: 25.7 kB / 259.2 MB, free: 1.461 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.61e-05/0.005718, allocations: 95.89 kB / 259.3 MB, free: 1.363 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.91e-07/0.005719, allocations: 4 kB / 259.3 MB, free: 1.359 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.502e-05/0.005744, allocations: 17.75 kB / 259.3 MB, free: 1.336 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.914e-05/0.005843, allocations: 330.7 kB / 259.7 MB, free: 1.004 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.427e-06/0.005846, allocations: 0 / 259.7 MB, free: 1.004 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.429e-06/0.005851, allocations: 4 kB / 259.7 MB, free: 1 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.416e-05/0.005875, allocations: 79.28 kB / 259.7 MB, free: 0.9219 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.667e-05/0.005902, allocations: 75.28 kB / 259.8 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.86e-05/0.00597, allocations: 37.69 kB / 259.9 MB, free: 0.8047 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.163e-05/0.006012, allocations: 83.22 kB / 259.9 MB, free: 0.7227 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.133e-05/0.006043, allocations: 83.28 kB / 260 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.223e-05/0.006095, allocations: 150.6 kB / 260.2 MB, free: 0.4922 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.905e-05/0.006125, allocations: 79.22 kB / 260.2 MB, free: 424 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-05/0.00617, allocations: 158.5 kB / 260.4 MB, free: 264 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.482e-05/0.006255, allocations: 83.16 kB / 260.5 MB, free: 180 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.354e-05/0.006278, allocations: 75.28 kB / 260.6 MB, free: 104 kB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001334/0.006412, allocations: 271.2 kB / 260.8 MB, free: 15.82 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.123e-05/0.006483, allocations: 109 kB / 260.9 MB, free: 15.71 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.413e-05/0.006557, allocations: 117.6 kB / 261 MB, free: 15.59 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.56e-05/0.006623, allocations: 180.3 kB / 261.2 MB, free: 15.41 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.114e-05/0.006684, allocations: 188.2 kB / 261.4 MB, free: 15.21 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.168e-05/0.006745, allocations: 176.3 kB / 261.6 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002218/0.006967, allocations: 341.4 kB / 261.9 MB, free: 14.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.405e-05/0.007011, allocations: 112.9 kB / 262 MB, free: 14.56 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.009e-05/0.007051, allocations: 101 kB / 262.1 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.604e-05/0.007117, allocations: 120.8 kB / 262.2 MB, free: 14.33 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.305e-05/0.00718, allocations: 184.3 kB / 262.4 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.801e-05/0.007248, allocations: 180.3 kB / 262.6 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.568e-05/0.007314, allocations: 180.2 kB / 262.8 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.258e-05/0.007387, allocations: 180.2 kB / 262.9 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000148/0.007535, allocations: 315.7 kB / 263.2 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.266e-05/0.007597, allocations: 180.2 kB / 263.4 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.864e-05/0.007676, allocations: 104.9 kB / 263.5 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.804e-05/0.007754, allocations: 180.3 kB / 263.7 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.991e-05/0.007784, allocations: 104.9 kB / 263.8 MB, free: 12.67 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.763e-05/0.007851, allocations: 59.08 kB / 263.9 MB, free: 12.61 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007852, allocations: 0 / 263.9 MB, free: 12.61 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002348/0.008086, allocations: 8 kB / 263.9 MB, free: 12.61 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.383e-05/0.00818, allocations: 147.7 kB / 264 MB, free: 12.45 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 3.886e-05/0.008219, allocations: 7.938 kB / 264 MB, free: 12.45 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.008223, allocations: 0 / 264 MB, free: 12.45 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.242e-06/0.008224, allocations: 0 / 264 MB, free: 12.45 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002899/0.008514, allocations: 471.6 kB / 264.5 MB, free: 11.98 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000279/0.008793, allocations: 278.9 kB / 264.8 MB, free: 11.68 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.519e-05/0.008828, allocations: 71.33 kB / 264.8 MB, free: 11.59 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.473e-05/0.008843, allocations: 7.984 kB / 264.8 MB, free: 11.58 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.19e-05/0.008875, allocations: 47.38 kB / 264.9 MB, free: 11.54 MB / 266.7 MB Notification: Performance of SimCode: time 1.292e-06/0.008876, allocations: 0 / 264.9 MB, free: 11.54 MB / 266.7 MB Notification: Performance of Templates: time 0.001734/0.01061, allocations: 268.9 kB / 265.1 MB, free: 11.27 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.sim & ./HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.456476337276399]