Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001841/0.001841, allocations: 109.7 kB / 18.33 MB, free: 3.98 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002528/0.002528, allocations: 186 kB / 21.49 MB, free: 0.8242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.969/1.969, allocations: 207.6 MB / 232.1 MB, free: 3.16 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4127/0.4127, allocations: 44.24 MB / 328.4 MB, free: 6.273 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002157/0.002157, allocations: 74.86 kB / 465.6 MB, free: 45.02 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1557, allocations: 61.01 MB / 0.5143 GB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.003114/0.1589, allocations: 1.719 MB / 0.5159 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001476/0.1603, allocations: 0.8313 MB / 0.5168 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.482e-05/0.1604, allocations: 1.156 kB / 0.5168 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003777/0.1608, allocations: 45.06 kB / 0.5168 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00025/0.1611, allocations: 60.88 kB / 0.5169 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002756/0.1613, allocations: 81.59 kB / 0.5169 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002128/0.1615, allocations: 97.17 kB / 0.517 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.1617, allocations: 11.94 kB / 0.517 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001162/0.1618, allocations: 40.94 kB / 0.5171 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.706e-05/0.1619, allocations: 36.97 kB / 0.5171 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.5e-05/0.1619, allocations: 4.062 kB / 0.5171 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001155/0.162, allocations: 38.45 kB / 0.5172 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.808e-05/0.1621, allocations: 23.92 kB / 0.5172 GB, free: 10 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.731e-05/0.1622, allocations: 35.73 kB / 0.5172 GB, free: 9.969 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002242/0.1624, allocations: 119.6 kB / 0.5173 GB, free: 9.852 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1624, allocations: 0 / 0.5173 GB, free: 9.852 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1624, allocations: 0 / 0.5173 GB, free: 9.852 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.1624, allocations: 0 / 0.5173 GB, free: 9.852 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005511/0.1629, allocations: 418.6 kB / 0.5177 GB, free: 9.395 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.163, allocations: 19.84 kB / 0.5177 GB, free: 9.375 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.217e-05/0.163, allocations: 12.89 kB / 0.5178 GB, free: 9.363 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002812/0.1633, allocations: 212.8 kB / 0.518 GB, free: 9.117 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.1633, allocations: 4.312 kB / 0.518 GB, free: 9.113 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.195e-05/0.1633, allocations: 8.125 kB / 0.518 GB, free: 9.105 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.1635, allocations: 53.67 kB / 0.518 GB, free: 9.047 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.1635, allocations: 0 / 0.518 GB, free: 9.047 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.1635, allocations: 0 / 0.518 GB, free: 9.047 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.1635, allocations: 0 / 0.518 GB, free: 9.047 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.477e-05/0.1636, allocations: 27.92 kB / 0.5181 GB, free: 9.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003083/0.1639, allocations: 288.9 kB / 0.5183 GB, free: 8.688 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001543/0.1641, allocations: 54.69 kB / 0.5184 GB, free: 8.625 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.705e-05/0.1641, allocations: 20.84 kB / 0.5184 GB, free: 8.602 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.548e-05/0.1641, allocations: 0 / 0.5184 GB, free: 8.602 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001318/0.1643, allocations: 79.31 kB / 0.5185 GB, free: 8.512 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.1643, allocations: 0 / 0.5185 GB, free: 8.512 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005046/0.1648, allocations: 177.3 kB / 0.5186 GB, free: 8.332 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.1648, allocations: 55.41 kB / 0.5187 GB, free: 8.266 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.1649, allocations: 193.5 kB / 0.5189 GB, free: 8.07 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.937e-06/0.165, allocations: 29.7 kB / 0.5189 GB, free: 8.035 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.775e-05/0.165, allocations: 108.1 kB / 0.519 GB, free: 7.926 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.389e-05/0.165, allocations: 19.86 kB / 0.519 GB, free: 7.906 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.434e-05/0.1651, allocations: 33.64 kB / 0.5191 GB, free: 7.867 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.32e-05/0.1651, allocations: 330.8 kB / 0.5194 GB, free: 7.535 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.066e-05/0.1652, allocations: 12 kB / 0.5194 GB, free: 7.523 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.473e-05/0.1652, allocations: 37.7 kB / 0.5194 GB, free: 7.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.508e-05/0.1653, allocations: 65.7 kB / 0.5195 GB, free: 7.41 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.1653, allocations: 0 / 0.5195 GB, free: 7.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001452/0.1655, allocations: 105.6 kB / 0.5196 GB, free: 7.301 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.1655, allocations: 7.984 kB / 0.5196 GB, free: 7.293 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.1655, allocations: 0 / 0.5196 GB, free: 7.293 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.1655, allocations: 0 / 0.5196 GB, free: 7.293 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.651e-05/0.1656, allocations: 19.94 kB / 0.5196 GB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.1656, allocations: 0 / 0.5196 GB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.435e-05/0.1656, allocations: 11.94 kB / 0.5196 GB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.1656, allocations: 3.984 kB / 0.5196 GB, free: 7.258 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 7.278e-05/0.1657, allocations: 129.9 kB / 0.5198 GB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.737e-05/0.1657, allocations: 7.953 kB / 0.5198 GB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002155/0.1659, allocations: 111 kB / 0.5199 GB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.1659, allocations: 7.938 kB / 0.5199 GB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1659, allocations: 0 / 0.5199 GB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.166, allocations: 3.938 kB / 0.5199 GB, free: 6.98 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000396/0.1663, allocations: 399.3 kB / 0.5203 GB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1663, allocations: 0 / 0.5203 GB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.993e-05/0.1664, allocations: 12.03 kB / 0.5203 GB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.1664, allocations: 0 / 0.5203 GB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.1664, allocations: 3.938 kB / 0.5203 GB, free: 6.516 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.1664, allocations: 4 kB / 0.5203 GB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1664, allocations: 0 / 0.5203 GB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001692/0.1666, allocations: 200.3 kB / 0.5205 GB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.64e-05/0.1666, allocations: 93 kB / 0.5206 GB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.398e-05/0.1666, allocations: 11.94 kB / 0.5206 GB, free: 6.176 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.682e-05/0.1667, allocations: 8.359 kB / 0.5206 GB, free: 6.168 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.941e-05/0.1667, allocations: 7.984 kB / 0.5206 GB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/0.1667, allocations: 4 kB / 0.5206 GB, free: 6.156 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001028/0.1668, allocations: 156.9 kB / 0.5207 GB, free: 6.004 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1668, allocations: 0 / 0.5207 GB, free: 6.004 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002466/0.1671, allocations: 23.94 kB / 0.5208 GB, free: 5.98 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001619/0.1687, allocations: 479.9 kB / 0.5212 GB, free: 5.559 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001872/0.1689, allocations: 59.91 kB / 0.5213 GB, free: 5.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.1689, allocations: 0 / 0.5213 GB, free: 5.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.297e-05/0.169, allocations: 31.91 kB / 0.5213 GB, free: 5.469 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003453/0.1693, allocations: 28.11 kB / 0.5213 GB, free: 5.441 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005426/0.1699, allocations: 242.9 kB / 0.5216 GB, free: 5.172 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002335/0.1701, allocations: 0.7002 MB / 0.5223 GB, free: 4.445 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.037e-05/0.1701, allocations: 16.88 kB / 0.5223 GB, free: 4.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.308e-05/0.1702, allocations: 15.44 kB / 0.5223 GB, free: 4.414 MB / 382.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1702, allocations: 0 / 0.5223 GB, free: 4.414 MB / 382.1 MB Notification: Performance of Templates: time 0.005449/0.1756, allocations: 1.73 MB / 0.524 GB, free: 2.691 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.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.873691690154374]