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.002579/0.002579, allocations: 99.53 kB / 20.97 MB, free: 3.457 MB / 18.57 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.002741/0.002741, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 18.57 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.597/1.597, allocations: 177 MB / 204.5 MB, free: 5.605 MB / 186.7 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.3811/0.3811, allocations: 34.26 MB / 295.2 MB, free: 0.6406 MB / 266.7 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 1.853e-06/1.853e-06, allocations: 0 / 377.3 MB, free: 2.824 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.247e-05/3.432e-05, allocations: 2.312 kB / 377.3 MB, free: 2.82 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.006459/0.006493, allocations: 2.232 MB / 379.5 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004878/0.01137, allocations: 1.294 MB / 380.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002302/0.0116, allocations: 7.938 kB / 380.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007235/0.01232, allocations: 139.2 kB / 381 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001219/0.01354, allocations: 274.7 kB / 381.2 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000898/0.01444, allocations: 187.5 kB / 381.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0011/0.01554, allocations: 474.5 kB / 381.9 MB, free: 14.21 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002287/0.01577, allocations: 45.11 kB / 381.9 MB, free: 14.16 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008699/0.01664, allocations: 387.1 kB / 382.3 MB, free: 13.79 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003766/0.01702, allocations: 143.5 kB / 382.4 MB, free: 13.64 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.815e-05/0.01711, allocations: 20 kB / 382.5 MB, free: 13.62 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002824/0.01739, allocations: 75.86 kB / 382.5 MB, free: 13.55 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003048/0.01769, allocations: 171.3 kB / 382.7 MB, free: 13.38 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002151/0.01791, allocations: 95.52 kB / 382.8 MB, free: 13.29 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009879/0.0189, allocations: 470.2 kB / 383.3 MB, free: 12.83 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.0189, allocations: 0 / 383.3 MB, free: 12.83 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.0189, allocations: 0 / 383.3 MB, free: 12.83 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.345e-06/0.01891, allocations: 0 / 383.3 MB, free: 12.83 MB / 362.7 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.002101/0.02101, allocations: 0.9727 MB / 384.2 MB, free: 11.81 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.02106, allocations: 12.03 kB / 384.2 MB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002205/0.02128, allocations: 80.47 kB / 384.3 MB, free: 11.72 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009291/0.02221, allocations: 385 kB / 384.7 MB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.381e-05/0.02225, allocations: 20.36 kB / 384.7 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.427e-05/0.02233, allocations: 16.38 kB / 384.7 MB, free: 11.29 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000703/0.02303, allocations: 196.8 kB / 384.9 MB, free: 11.07 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.656e-05/0.02307, allocations: 12.12 kB / 384.9 MB, free: 11.06 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.139e-05/0.0231, allocations: 4.375 kB / 384.9 MB, free: 11.05 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.672e-05/0.02312, allocations: 7.938 kB / 385 MB, free: 11.05 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004528/0.02357, allocations: 87.86 kB / 385 MB, free: 10.96 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002099/0.02567, allocations: 1.019 MB / 386.1 MB, free: 9.891 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001243/0.02691, allocations: 268.4 kB / 386.3 MB, free: 9.578 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003574/0.02727, allocations: 102.8 kB / 386.4 MB, free: 9.461 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.275e-05/0.0273, allocations: 8 kB / 386.4 MB, free: 9.453 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006836/0.02799, allocations: 221.5 kB / 386.6 MB, free: 9.207 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 2.245e-06/0.02799, allocations: 0 / 386.6 MB, free: 9.207 MB / 362.7 MB Notification: Performance of matching and sorting (n=44): time 0.004717/0.0327, allocations: 1.23 MB / 387.9 MB, free: 7.969 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001545/0.03286, allocations: 136.5 kB / 388 MB, free: 7.805 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001836/0.0347, allocations: 0.8394 MB / 388.8 MB, free: 6.945 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.994e-05/0.03477, allocations: 41.69 kB / 388.9 MB, free: 6.898 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005453/0.03531, allocations: 375.7 kB / 389.3 MB, free: 6.527 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002829/0.03559, allocations: 154.8 kB / 389.4 MB, free: 6.375 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002472/0.03584, allocations: 95.8 kB / 389.5 MB, free: 6.273 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004228/0.03626, allocations: 0.5004 MB / 390 MB, free: 5.766 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004748/0.03674, allocations: 108.9 kB / 390.1 MB, free: 5.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006244/0.03736, allocations: 210.4 kB / 390.3 MB, free: 5.422 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001074/0.03844, allocations: 341.6 kB / 390.6 MB, free: 5.055 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/0.03845, allocations: 4 kB / 390.6 MB, free: 5.051 MB / 362.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001602/0.04005, allocations: 468.9 kB / 391.1 MB, free: 4.586 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.614e-05/0.04007, allocations: 4 kB / 391.1 MB, free: 4.582 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/0.04009, allocations: 4 kB / 391.1 MB, free: 4.578 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.033e-05/0.04012, allocations: 4 kB / 391.1 MB, free: 4.574 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005221/0.04064, allocations: 84.02 kB / 391.2 MB, free: 4.492 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.75e-05/0.04066, allocations: 8 kB / 391.2 MB, free: 4.484 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000302/0.04096, allocations: 19.98 kB / 391.2 MB, free: 4.465 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.778e-05/0.04102, allocations: 16 kB / 391.2 MB, free: 4.449 MB / 362.7 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.0004238/0.04144, allocations: 206.9 kB / 391.4 MB, free: 4.238 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002471/0.04169, allocations: 99.41 kB / 391.5 MB, free: 4.141 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001961/0.04365, allocations: 0.4992 MB / 392 MB, free: 3.629 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.256e-05/0.04366, allocations: 4 kB / 392 MB, free: 3.625 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.948e-06/0.04367, allocations: 4 kB / 392 MB, free: 3.621 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/0.04368, allocations: 0 / 392 MB, free: 3.621 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004015/0.0477, allocations: 1.566 MB / 393.6 MB, free: 1.977 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.536e-05/0.04771, allocations: 4 kB / 393.6 MB, free: 1.973 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000396/0.04811, allocations: 71.84 kB / 393.7 MB, free: 1.902 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.495e-05/0.04812, allocations: 4 kB / 393.7 MB, free: 1.898 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.361e-05/0.04819, allocations: 19.98 kB / 393.7 MB, free: 1.879 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.549e-05/0.0482, allocations: 7.938 kB / 393.7 MB, free: 1.871 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.797e-06/0.04821, allocations: 8.25 kB / 393.7 MB, free: 1.863 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002167/0.05038, allocations: 1.043 MB / 394.8 MB, free: 0.7617 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004127/0.05079, allocations: 107.4 kB / 394.9 MB, free: 0.6562 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001557/0.05095, allocations: 16 kB / 394.9 MB, free: 0.6406 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005535/0.0515, allocations: 15.98 kB / 394.9 MB, free: 0.625 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001571/0.05166, allocations: 43.88 kB / 395 MB, free: 0.582 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.392e-05/0.05174, allocations: 23.92 kB / 395 MB, free: 0.5586 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001315/0.05306, allocations: 0.538 MB / 395.5 MB, free: 28 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.05306, allocations: 0 / 395.5 MB, free: 28 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.00111/0.05417, allocations: 95.97 kB / 395.6 MB, free: 15.93 MB / 378.7 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.00618/0.06035, allocations: 0.5653 MB / 396.2 MB, free: 15.56 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001418/0.06176, allocations: 323.8 kB / 396.5 MB, free: 15.24 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.115e-06/0.06177, allocations: 0 / 396.5 MB, free: 15.24 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006955/0.06247, allocations: 185.5 kB / 396.7 MB, free: 15.05 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00178/0.06425, allocations: 147.7 kB / 396.8 MB, free: 14.91 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0033/0.06755, allocations: 1.089 MB / 397.9 MB, free: 13.74 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006817/0.06823, allocations: 313.2 kB / 398.2 MB, free: 13.42 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000423/0.06865, allocations: 75.25 kB / 398.3 MB, free: 13.34 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002478/0.0689, allocations: 56.48 kB / 398.3 MB, free: 13.29 MB / 378.7 MB Notification: Performance of SimCode: time 1.763e-06/0.0689, allocations: 0 / 398.3 MB, free: 13.29 MB / 378.7 MB Notification: Performance of Templates: time 0.02305/0.09196, allocations: 5.762 MB / 404.1 MB, free: 7.594 MB / 378.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) [Timeout 240] 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.285216106916778]