Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.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.00177/0.00177, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] 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.001486/0.001486, allocations: 219.7 kB / 23.73 MB, free: 4.16 MB / 14.72 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 1.516/1.516, allocations: 230.6 MB / 257.5 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2362/0.2362, allocations: 46.96 MB / 360.9 MB, free: 4.047 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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 Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(ModelicaTest.Tables.CombiTimeTable.Test88,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_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88") translateModel(ModelicaTest.Tables.CombiTimeTable.Test88,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_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002103/0.002103, allocations: 63.91 kB / 0.4967 GB, free: 7.148 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3855/0.3876, allocations: 66.05 MB / 0.5612 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.004676/0.3923, allocations: 2.162 MB / 0.5633 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002484/0.3947, allocations: 1.275 MB / 0.5645 GB, free: 0.668 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001346/0.3949, allocations: 7.938 kB / 0.5645 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000462/0.3953, allocations: 119.3 kB / 0.5646 GB, free: 0.543 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006077/0.3959, allocations: 258.9 kB / 0.5649 GB, free: 296 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004399/0.3964, allocations: 191.5 kB / 0.5651 GB, free: 104 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005787/0.397, allocations: 466.6 kB / 0.5655 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001696/0.3971, allocations: 43.92 kB / 0.5656 GB, free: 15.6 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003843/0.3975, allocations: 299.1 kB / 0.5658 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002269/0.3977, allocations: 159.1 kB / 0.566 GB, free: 15.15 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.835e-05/0.3978, allocations: 20 kB / 0.566 GB, free: 15.13 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001738/0.398, allocations: 71.98 kB / 0.5661 GB, free: 15.06 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001757/0.3981, allocations: 139.5 kB / 0.5662 GB, free: 14.92 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000164/0.3983, allocations: 138.8 kB / 0.5663 GB, free: 14.79 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000581/0.3989, allocations: 457.4 kB / 0.5668 GB, free: 14.34 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.3989, allocations: 0 / 0.5668 GB, free: 14.34 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3989, allocations: 0 / 0.5668 GB, free: 14.34 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.3989, allocations: 0 / 0.5668 GB, free: 14.34 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.001285/0.4002, allocations: 0.7604 MB / 0.5675 GB, free: 13.55 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.4002, allocations: 12.03 kB / 0.5675 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001266/0.4004, allocations: 68.5 kB / 0.5676 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006453/0.401, allocations: 343.3 kB / 0.5679 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.763e-05/0.401, allocations: 12.38 kB / 0.5679 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.193e-05/0.4011, allocations: 24.02 kB / 0.568 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004265/0.4015, allocations: 197.5 kB / 0.5682 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/0.4015, allocations: 0 / 0.5682 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.231e-05/0.4016, allocations: 8 kB / 0.5682 GB, free: 12.85 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.4016, allocations: 4 kB / 0.5682 GB, free: 12.85 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002631/0.4018, allocations: 99.86 kB / 0.5683 GB, free: 12.75 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001004/0.4028, allocations: 0.7271 MB / 0.569 GB, free: 11.98 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000694/0.4035, allocations: 238.5 kB / 0.5692 GB, free: 11.71 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002125/0.4037, allocations: 91.45 kB / 0.5693 GB, free: 11.61 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.4038, allocations: 7.938 kB / 0.5693 GB, free: 11.6 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003943/0.4042, allocations: 216.2 kB / 0.5695 GB, free: 11.37 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.573e-06/0.4042, allocations: 0 / 0.5695 GB, free: 11.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.002643/0.4068, allocations: 1.16 MB / 0.5706 GB, free: 10.2 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001207/0.4069, allocations: 144.5 kB / 0.5708 GB, free: 10.03 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/0.408, allocations: 0.8126 MB / 0.5716 GB, free: 9.203 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.089e-05/0.408, allocations: 37.69 kB / 0.5716 GB, free: 9.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002299/0.4082, allocations: 245 kB / 0.5718 GB, free: 8.918 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001532/0.4084, allocations: 142.8 kB / 0.572 GB, free: 8.777 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001211/0.4085, allocations: 82.08 kB / 0.572 GB, free: 8.688 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002047/0.4087, allocations: 382.7 kB / 0.5724 GB, free: 8.305 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002504/0.409, allocations: 116.8 kB / 0.5725 GB, free: 8.191 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003115/0.4093, allocations: 191.4 kB / 0.5727 GB, free: 7.984 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000581/0.4099, allocations: 326.9 kB / 0.573 GB, free: 7.641 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.4099, allocations: 4 kB / 0.573 GB, free: 7.637 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000824/0.4107, allocations: 444.9 kB / 0.5734 GB, free: 7.195 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/0.4107, allocations: 12.12 kB / 0.5735 GB, free: 7.184 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.4107, allocations: 0 / 0.5735 GB, free: 7.184 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.263e-05/0.4107, allocations: 4 kB / 0.5735 GB, free: 7.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003045/0.411, allocations: 91.83 kB / 0.5735 GB, free: 7.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.292e-05/0.4111, allocations: 7.984 kB / 0.5736 GB, free: 7.082 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001631/0.4112, allocations: 20 kB / 0.5736 GB, free: 7.062 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.666e-05/0.4113, allocations: 27.91 kB / 0.5736 GB, free: 7.035 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.000322/0.4116, allocations: 240 kB / 0.5738 GB, free: 6.793 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.4117, allocations: 71.53 kB / 0.5739 GB, free: 6.723 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001072/0.4128, allocations: 0.5182 MB / 0.5744 GB, free: 6.191 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/0.4128, allocations: 11.92 kB / 0.5744 GB, free: 6.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.4128, allocations: 3.938 kB / 0.5744 GB, free: 6.176 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.4128, allocations: 4 kB / 0.5744 GB, free: 6.172 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001877/0.4147, allocations: 1.252 MB / 0.5756 GB, free: 4.855 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.4147, allocations: 4 kB / 0.5756 GB, free: 4.852 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001791/0.4148, allocations: 63.92 kB / 0.5757 GB, free: 4.789 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.4148, allocations: 4 kB / 0.5757 GB, free: 4.785 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.246e-05/0.4149, allocations: 15.98 kB / 0.5757 GB, free: 4.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.02e-06/0.4149, allocations: 4 kB / 0.5757 GB, free: 4.766 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.4149, allocations: 7.938 kB / 0.5757 GB, free: 4.758 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/0.4159, allocations: 0.8279 MB / 0.5765 GB, free: 3.875 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002004/0.4161, allocations: 107.6 kB / 0.5767 GB, free: 3.77 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.345e-05/0.4162, allocations: 19.98 kB / 0.5767 GB, free: 3.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002828/0.4165, allocations: 15.98 kB / 0.5767 GB, free: 3.734 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.4166, allocations: 43.88 kB / 0.5767 GB, free: 3.691 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-05/0.4166, allocations: 27.94 kB / 0.5768 GB, free: 3.664 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006952/0.4173, allocations: 0.5928 MB / 0.5773 GB, free: 3.078 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4173, allocations: 0 / 0.5773 GB, free: 3.078 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005499/0.4179, allocations: 91.92 kB / 0.5774 GB, free: 2.988 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.002238/0.4201, allocations: 0.5681 MB / 0.578 GB, free: 2.656 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006948/0.4208, allocations: 314.7 kB / 0.5783 GB, free: 2.352 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.4208, allocations: 0 / 0.5783 GB, free: 2.352 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003293/0.4211, allocations: 164.9 kB / 0.5784 GB, free: 2.191 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009743/0.4221, allocations: 134.7 kB / 0.5786 GB, free: 2.066 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001733/0.4239, allocations: 1.081 MB / 0.5796 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003412/0.4242, allocations: 289 kB / 0.5799 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002348/0.4244, allocations: 75.25 kB / 0.58 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001653/0.4246, allocations: 55.41 kB / 0.58 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of SimCode: time 4.6e-07/0.4246, allocations: 0 / 0.58 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of Templates: time 0.01256/0.4372, allocations: 6.192 MB / 0.5861 GB, free: 10.4 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.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.460949057713151]