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.002305/0.002305, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002827/0.002827, allocations: 209.3 kB / 23.73 MB, free: 4.523 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.634/1.634, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2435/0.2435, 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.002019/0.002019, allocations: 67.89 kB / 0.4967 GB, free: 7.148 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4287/0.4307, allocations: 66.04 MB / 0.5612 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.003934/0.4346, allocations: 2.158 MB / 0.5633 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002528/0.4371, allocations: 1.271 MB / 0.5645 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001447/0.4373, allocations: 4 kB / 0.5645 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004613/0.4378, allocations: 131.3 kB / 0.5646 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005966/0.4384, allocations: 254.9 kB / 0.5649 GB, free: 328 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004071/0.4388, allocations: 191.6 kB / 0.5651 GB, free: 136 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000561/0.4393, allocations: 466.6 kB / 0.5655 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001661/0.4395, allocations: 44.91 kB / 0.5656 GB, free: 15.63 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003756/0.4399, allocations: 303 kB / 0.5658 GB, free: 15.33 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002136/0.4401, allocations: 171.1 kB / 0.566 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.495e-05/0.4401, allocations: 16 kB / 0.566 GB, free: 15.15 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001541/0.4403, allocations: 79.98 kB / 0.5661 GB, free: 15.07 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001675/0.4404, allocations: 131.5 kB / 0.5662 GB, free: 14.94 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001452/0.4406, allocations: 138.9 kB / 0.5664 GB, free: 14.8 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005318/0.4411, allocations: 452.4 kB / 0.5668 GB, free: 14.36 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.4411, allocations: 4 kB / 0.5668 GB, free: 14.36 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.4411, allocations: 0 / 0.5668 GB, free: 14.36 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.4411, allocations: 0 / 0.5668 GB, free: 14.36 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.001139/0.4423, allocations: 0.7604 MB / 0.5675 GB, free: 13.57 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.4423, allocations: 12.02 kB / 0.5675 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001024/0.4424, allocations: 68.52 kB / 0.5676 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005839/0.443, allocations: 347.2 kB / 0.5679 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.531e-05/0.443, allocations: 12.38 kB / 0.5679 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.92e-05/0.4431, allocations: 20.08 kB / 0.568 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004014/0.4435, allocations: 201.4 kB / 0.5682 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.4435, allocations: 0 / 0.5682 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.325e-05/0.4435, allocations: 8 kB / 0.5682 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.4435, allocations: 7.984 kB / 0.5682 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002428/0.4438, allocations: 103.9 kB / 0.5683 GB, free: 12.76 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009287/0.4447, allocations: 0.7271 MB / 0.569 GB, free: 11.99 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006517/0.4453, allocations: 238.5 kB / 0.5692 GB, free: 11.72 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001889/0.4455, allocations: 91.45 kB / 0.5693 GB, free: 11.62 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/0.4456, allocations: 8 kB / 0.5693 GB, free: 11.61 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003841/0.4459, allocations: 208.2 kB / 0.5695 GB, free: 11.38 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.663e-06/0.4459, allocations: 4 kB / 0.5695 GB, free: 11.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.002503/0.4484, allocations: 1.155 MB / 0.5706 GB, free: 10.21 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.446e-05/0.4485, allocations: 136.5 kB / 0.5708 GB, free: 10.05 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009199/0.4495, allocations: 0.8165 MB / 0.5716 GB, free: 9.223 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.955e-05/0.4495, allocations: 41.69 kB / 0.5716 GB, free: 9.176 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002068/0.4497, allocations: 249 kB / 0.5718 GB, free: 8.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001385/0.4498, allocations: 142.8 kB / 0.572 GB, free: 8.789 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001176/0.45, allocations: 82.08 kB / 0.5721 GB, free: 8.699 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002145/0.4502, allocations: 382.7 kB / 0.5724 GB, free: 8.316 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002374/0.4504, allocations: 116.8 kB / 0.5725 GB, free: 8.203 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002946/0.4507, allocations: 195.1 kB / 0.5727 GB, free: 7.992 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005689/0.4513, allocations: 319.1 kB / 0.573 GB, free: 7.656 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.4513, allocations: 0 / 0.573 GB, free: 7.656 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007919/0.4521, allocations: 457.3 kB / 0.5735 GB, free: 7.203 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.4521, allocations: 4 kB / 0.5735 GB, free: 7.199 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.4521, allocations: 4 kB / 0.5735 GB, free: 7.195 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.416e-05/0.4521, allocations: 4 kB / 0.5735 GB, free: 7.191 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002873/0.4524, allocations: 87.89 kB / 0.5736 GB, free: 7.105 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.924e-05/0.4524, allocations: 13.11 kB / 0.5736 GB, free: 7.094 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001552/0.4526, allocations: 19.98 kB / 0.5736 GB, free: 7.074 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.166e-05/0.4526, allocations: 19.88 kB / 0.5736 GB, free: 7.055 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.0002866/0.4529, allocations: 240.1 kB / 0.5738 GB, free: 6.812 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.453, allocations: 75.53 kB / 0.5739 GB, free: 6.738 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009756/0.454, allocations: 0.5217 MB / 0.5744 GB, free: 6.203 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.454, allocations: 8 kB / 0.5744 GB, free: 6.195 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.454, allocations: 0 / 0.5744 GB, free: 6.195 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/0.454, allocations: 4 kB / 0.5744 GB, free: 6.191 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001748/0.4558, allocations: 1.255 MB / 0.5757 GB, free: 4.871 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.4558, allocations: 0 / 0.5757 GB, free: 4.871 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001819/0.4559, allocations: 67.86 kB / 0.5757 GB, free: 4.805 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/0.456, allocations: 8 kB / 0.5757 GB, free: 4.797 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.927e-05/0.456, allocations: 15.98 kB / 0.5757 GB, free: 4.781 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.456, allocations: 4 kB / 0.5757 GB, free: 4.777 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.456, allocations: 4 kB / 0.5757 GB, free: 4.773 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009631/0.457, allocations: 0.8281 MB / 0.5766 GB, free: 3.891 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001937/0.4571, allocations: 103.5 kB / 0.5767 GB, free: 3.789 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.424e-05/0.4572, allocations: 19.98 kB / 0.5767 GB, free: 3.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002753/0.4575, allocations: 19.98 kB / 0.5767 GB, free: 3.75 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.4576, allocations: 47.81 kB / 0.5767 GB, free: 3.703 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.16e-05/0.4576, allocations: 20 kB / 0.5768 GB, free: 3.684 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007415/0.4584, allocations: 0.5928 MB / 0.5773 GB, free: 3.098 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4584, allocations: 0 / 0.5773 GB, free: 3.098 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006069/0.459, allocations: 91.92 kB / 0.5774 GB, free: 3.008 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.002386/0.4614, allocations: 0.5805 MB / 0.578 GB, free: 2.668 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007409/0.4621, allocations: 315.3 kB / 0.5783 GB, free: 2.363 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.4621, allocations: 0 / 0.5783 GB, free: 2.363 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003115/0.4624, allocations: 164.4 kB / 0.5785 GB, free: 2.203 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009316/0.4634, allocations: 132 kB / 0.5786 GB, free: 2.082 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001703/0.4651, allocations: 1.077 MB / 0.5796 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003174/0.4654, allocations: 293 kB / 0.5799 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001943/0.4656, allocations: 71.27 kB / 0.58 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001139/0.4657, allocations: 55.41 kB / 0.58 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4657, allocations: 7.938 kB / 0.58 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of Templates: time 0.013/0.4787, allocations: 6.284 MB / 0.5862 GB, free: 10.31 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.661117787007242]