Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001806/0.001806, allocations: 107.1 kB / 20.44 MB, free: 1.324 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002162/0.002162, allocations: 206.7 kB / 23.72 MB, free: 4.492 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.556/1.556, allocations: 230.5 MB / 257.4 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2553/0.2553, allocations: 46.94 MB / 360.8 MB, free: 3.895 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87") translateModel(ModelicaTest.Tables.CombiTimeTable.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002378/0.002378, allocations: 87.86 kB / 0.4967 GB, free: 6.941 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.437/0.4394, allocations: 66.09 MB / 0.5613 GB, free: 3.906 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.006586/0.446, allocations: 2.158 MB / 0.5634 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002647/0.4486, allocations: 1.266 MB / 0.5646 GB, free: 476 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001444/0.4488, allocations: 7.938 kB / 0.5646 GB, free: 468 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000452/0.4492, allocations: 139.3 kB / 0.5647 GB, free: 328 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006223/0.4498, allocations: 266.8 kB / 0.565 GB, free: 60 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004824/0.4503, allocations: 191.7 kB / 0.5652 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000581/0.4509, allocations: 474.4 kB / 0.5656 GB, free: 15.41 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001702/0.4511, allocations: 43.92 kB / 0.5657 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003909/0.4515, allocations: 335 kB / 0.566 GB, free: 15.03 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002321/0.4517, allocations: 167.1 kB / 0.5662 GB, free: 14.87 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.892e-05/0.4518, allocations: 16 kB / 0.5662 GB, free: 14.85 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001793/0.4519, allocations: 83.97 kB / 0.5663 GB, free: 14.77 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001802/0.4521, allocations: 151.4 kB / 0.5664 GB, free: 14.62 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001604/0.4523, allocations: 158.6 kB / 0.5665 GB, free: 14.46 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000583/0.4529, allocations: 493.2 kB / 0.567 GB, free: 13.98 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.4529, allocations: 0 / 0.567 GB, free: 13.98 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4529, allocations: 0 / 0.567 GB, free: 13.98 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.4529, allocations: 0 / 0.567 GB, free: 13.98 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.00131/0.4542, allocations: 0.8495 MB / 0.5678 GB, free: 13.1 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.4542, allocations: 8.031 kB / 0.5679 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001212/0.4543, allocations: 76.47 kB / 0.5679 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000642/0.455, allocations: 367.1 kB / 0.5683 GB, free: 12.63 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.687e-05/0.455, allocations: 12.36 kB / 0.5683 GB, free: 12.62 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.498e-05/0.4551, allocations: 24.31 kB / 0.5683 GB, free: 12.6 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004123/0.4555, allocations: 197.2 kB / 0.5685 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.113e-05/0.4555, allocations: 4 kB / 0.5685 GB, free: 12.38 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.204e-05/0.4555, allocations: 4 kB / 0.5685 GB, free: 12.38 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.4555, allocations: 4 kB / 0.5685 GB, free: 12.38 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002493/0.4558, allocations: 103.8 kB / 0.5686 GB, free: 12.27 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001016/0.4568, allocations: 0.7467 MB / 0.5693 GB, free: 11.48 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006997/0.4575, allocations: 246.4 kB / 0.5696 GB, free: 11.21 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001978/0.4577, allocations: 87.45 kB / 0.5697 GB, free: 11.11 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.4577, allocations: 4 kB / 0.5697 GB, free: 11.11 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003972/0.4581, allocations: 208.2 kB / 0.5699 GB, free: 10.88 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.663e-06/0.4581, allocations: 0 / 0.5699 GB, free: 10.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.002676/0.4608, allocations: 1.221 MB / 0.5711 GB, free: 9.648 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000118/0.4609, allocations: 144.5 kB / 0.5712 GB, free: 9.477 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001184/0.4621, allocations: 0.977 MB / 0.5721 GB, free: 8.488 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.075e-05/0.4621, allocations: 37.7 kB / 0.5722 GB, free: 8.445 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002505/0.4624, allocations: 273 kB / 0.5724 GB, free: 8.176 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001448/0.4625, allocations: 154.8 kB / 0.5726 GB, free: 8.023 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001249/0.4627, allocations: 82.08 kB / 0.5727 GB, free: 7.934 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001853/0.4628, allocations: 325.9 kB / 0.573 GB, free: 7.609 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002525/0.4631, allocations: 116.8 kB / 0.5731 GB, free: 7.496 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003078/0.4634, allocations: 187.2 kB / 0.5733 GB, free: 7.293 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000593/0.464, allocations: 327 kB / 0.5736 GB, free: 6.949 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/0.464, allocations: 4 kB / 0.5736 GB, free: 6.945 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008895/0.4649, allocations: 460.8 kB / 0.574 GB, free: 6.488 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.4649, allocations: 8.125 kB / 0.574 GB, free: 6.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.4649, allocations: 4 kB / 0.574 GB, free: 6.477 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.213e-05/0.4649, allocations: 4 kB / 0.574 GB, free: 6.473 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002895/0.4652, allocations: 91.83 kB / 0.5741 GB, free: 6.383 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/0.4652, allocations: 4 kB / 0.5741 GB, free: 6.379 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001569/0.4654, allocations: 19.98 kB / 0.5742 GB, free: 6.359 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.782e-05/0.4654, allocations: 12 kB / 0.5742 GB, free: 6.348 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0003183/0.4657, allocations: 268 kB / 0.5744 GB, free: 6.078 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/0.4659, allocations: 75.48 kB / 0.5745 GB, free: 6.004 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001044/0.4669, allocations: 0.5389 MB / 0.575 GB, free: 5.453 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/0.4669, allocations: 7.938 kB / 0.575 GB, free: 5.445 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.4669, allocations: 4 kB / 0.575 GB, free: 5.441 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/0.4669, allocations: 7.922 kB / 0.575 GB, free: 5.434 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00199/0.4689, allocations: 1.275 MB / 0.5763 GB, free: 4.094 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.4689, allocations: 7.938 kB / 0.5763 GB, free: 4.086 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001825/0.4691, allocations: 63.92 kB / 0.5763 GB, free: 4.023 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-05/0.4691, allocations: 4 kB / 0.5764 GB, free: 4.02 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.232e-05/0.4692, allocations: 15.98 kB / 0.5764 GB, free: 4.004 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.312e-06/0.4692, allocations: 4 kB / 0.5764 GB, free: 4 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.4692, allocations: 4 kB / 0.5764 GB, free: 3.996 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001289/0.4705, allocations: 0.8398 MB / 0.5772 GB, free: 3.102 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002628/0.4707, allocations: 111.4 kB / 0.5773 GB, free: 2.992 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.712e-05/0.4708, allocations: 20.36 kB / 0.5773 GB, free: 2.973 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002901/0.4711, allocations: 23.98 kB / 0.5773 GB, free: 2.949 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.4712, allocations: 43.81 kB / 0.5774 GB, free: 2.906 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.832e-05/0.4713, allocations: 23.98 kB / 0.5774 GB, free: 2.883 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009153/0.4722, allocations: 0.7215 MB / 0.5781 GB, free: 2.168 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4722, allocations: 0 / 0.5781 GB, free: 2.168 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005808/0.4728, allocations: 87.94 kB / 0.5782 GB, free: 2.082 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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 0.002295/0.475, allocations: 0.5674 MB / 0.5788 GB, free: 1.707 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007559/0.4758, allocations: 314.7 kB / 0.5791 GB, free: 1.402 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.4758, allocations: 0 / 0.5791 GB, free: 1.402 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003238/0.4761, allocations: 168.8 kB / 0.5792 GB, free: 1.238 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009938/0.4771, allocations: 137.2 kB / 0.5793 GB, free: 1.109 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002287/0.4794, allocations: 1.218 MB / 0.5805 GB, free: 15.83 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003838/0.4798, allocations: 322 kB / 0.5808 GB, free: 15.49 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002241/0.48, allocations: 79.23 kB / 0.5809 GB, free: 15.41 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/0.4802, allocations: 59.41 kB / 0.581 GB, free: 15.36 MB / 430.1 MB Notification: Performance of SimCode: time 1.062e-06/0.4802, allocations: 0 / 0.581 GB, free: 15.36 MB / 430.1 MB Notification: Performance of Templates: time 0.01429/0.4944, allocations: 6.287 MB / 0.5871 GB, free: 9.141 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.687865110114217]