Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.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.00224/0.00224, allocations: 104.3 kB / 19.69 MB, free: 1.945 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.003008/0.003008, allocations: 223.7 kB / 22.99 MB, free: 4.973 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.791/1.791, allocations: 207.7 MB / 233.8 MB, free: 9.805 MB / 190.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.2535/0.2535, allocations: 44.28 MB / 330.3 MB, free: 9.32 MB / 270.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.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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002397/0.002397, allocations: 67.91 kB / 468 MB, free: 3.816 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1519, allocations: 61.04 MB / 0.5167 GB, free: 6.637 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003742/0.1556, allocations: 1.765 MB / 0.5184 GB, free: 4.859 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002764/0.1584, allocations: 1.525 MB / 0.5199 GB, free: 3.324 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.979e-05/0.1585, allocations: 7.938 kB / 0.5199 GB, free: 3.316 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003882/0.1589, allocations: 51.75 kB / 0.52 GB, free: 3.266 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003473/0.1592, allocations: 99.53 kB / 0.5201 GB, free: 3.168 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000388/0.1596, allocations: 135.7 kB / 0.5202 GB, free: 3.035 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002814/0.1599, allocations: 195.3 kB / 0.5204 GB, free: 2.844 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.096e-05/0.16, allocations: 9.734 kB / 0.5204 GB, free: 2.832 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001505/0.1601, allocations: 75.69 kB / 0.5204 GB, free: 2.758 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001903/0.1603, allocations: 71.56 kB / 0.5205 GB, free: 2.688 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.963e-05/0.1603, allocations: 8 kB / 0.5205 GB, free: 2.68 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001437/0.1605, allocations: 63.98 kB / 0.5206 GB, free: 2.617 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.934e-05/0.1606, allocations: 35.89 kB / 0.5206 GB, free: 2.582 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.303e-05/0.1606, allocations: 51.61 kB / 0.5207 GB, free: 2.531 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003025/0.1609, allocations: 179.2 kB / 0.5208 GB, free: 2.355 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.161, allocations: 0 / 0.5208 GB, free: 2.355 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.161, allocations: 0 / 0.5208 GB, free: 2.355 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.161, allocations: 0 / 0.5208 GB, free: 2.355 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007203/0.1617, allocations: 397.2 kB / 0.5212 GB, free: 1.938 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.1617, allocations: 8.031 kB / 0.5212 GB, free: 1.93 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.392e-05/0.1618, allocations: 16.84 kB / 0.5212 GB, free: 1.914 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004043/0.1622, allocations: 186 kB / 0.5214 GB, free: 1.707 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.1622, allocations: 384 / 0.5214 GB, free: 1.707 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.934e-05/0.1623, allocations: 12.06 kB / 0.5214 GB, free: 1.695 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002777/0.1625, allocations: 148.5 kB / 0.5216 GB, free: 1.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.1625, allocations: 3.938 kB / 0.5216 GB, free: 1.516 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.776e-05/0.1626, allocations: 4 kB / 0.5216 GB, free: 1.512 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.1626, allocations: 4 kB / 0.5216 GB, free: 1.508 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001111/0.1627, allocations: 31.97 kB / 0.5216 GB, free: 1.477 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002413/0.1629, allocations: 158.2 kB / 0.5218 GB, free: 1.289 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000292/0.1632, allocations: 109.2 kB / 0.5219 GB, free: 1.164 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.1633, allocations: 37.69 kB / 0.5219 GB, free: 1.121 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/0.1633, allocations: 4 kB / 0.5219 GB, free: 1.117 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002364/0.1636, allocations: 109 kB / 0.522 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.252e-06/0.1636, allocations: 0 / 0.522 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005346/0.1641, allocations: 181.5 kB / 0.5222 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001133/0.1642, allocations: 128.5 kB / 0.5223 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002923/0.1645, allocations: 223.8 kB / 0.5225 GB, free: 432 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.811e-05/0.1645, allocations: 33.7 kB / 0.5226 GB, free: 392 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.13e-05/0.1646, allocations: 108.1 kB / 0.5227 GB, free: 280 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.398e-05/0.1647, allocations: 27.75 kB / 0.5227 GB, free: 252 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.604e-05/0.1648, allocations: 33.7 kB / 0.5227 GB, free: 212 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002386/0.165, allocations: 322.8 kB / 0.523 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.915e-05/0.1651, allocations: 35.97 kB / 0.5231 GB, free: 15.85 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001619/0.1653, allocations: 124.5 kB / 0.5232 GB, free: 15.7 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001985/0.1655, allocations: 99.88 kB / 0.5233 GB, free: 15.59 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.1655, allocations: 4 kB / 0.5233 GB, free: 15.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002971/0.1658, allocations: 141.4 kB / 0.5234 GB, free: 15.44 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.1658, allocations: 8 kB / 0.5234 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.1658, allocations: 3.938 kB / 0.5234 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.1658, allocations: 0 / 0.5234 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001376/0.1659, allocations: 32.05 kB / 0.5235 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.709e-06/0.166, allocations: 3.984 kB / 0.5235 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.713e-05/0.166, allocations: 7.953 kB / 0.5235 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.166, allocations: 7.984 kB / 0.5235 GB, free: 15.38 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001471/0.1662, allocations: 133.8 kB / 0.5236 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.187e-05/0.1662, allocations: 19.84 kB / 0.5236 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000382/0.1666, allocations: 166.6 kB / 0.5238 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.1666, allocations: 0 / 0.5238 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.1666, allocations: 7.938 kB / 0.5238 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.1666, allocations: 4 kB / 0.5238 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001968/0.1668, allocations: 161.1 kB / 0.5239 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1668, allocations: 256 / 0.5239 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.146e-05/0.1669, allocations: 20 kB / 0.524 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.1669, allocations: 3.938 kB / 0.524 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.1669, allocations: 3.984 kB / 0.524 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.1669, allocations: 4 kB / 0.524 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1669, allocations: 0 / 0.524 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003451/0.1672, allocations: 177.8 kB / 0.5241 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.348e-05/0.1673, allocations: 23.83 kB / 0.5242 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.294e-05/0.1673, allocations: 8 kB / 0.5242 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.348e-05/0.1674, allocations: 4 kB / 0.5242 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.946e-05/0.1674, allocations: 11.98 kB / 0.5242 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.75e-05/0.1675, allocations: 7.984 kB / 0.5242 GB, free: 14.57 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002303/0.1677, allocations: 161.5 kB / 0.5244 GB, free: 14.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1677, allocations: 0 / 0.5244 GB, free: 14.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002796/0.168, allocations: 47.86 kB / 0.5244 GB, free: 14.36 MB / 414.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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001906/0.1699, allocations: 481 kB / 0.5249 GB, free: 13.93 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002926/0.1702, allocations: 87.89 kB / 0.5249 GB, free: 13.85 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.1702, allocations: 0 / 0.5249 GB, free: 13.85 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001692/0.1703, allocations: 43.91 kB / 0.525 GB, free: 13.8 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004672/0.1708, allocations: 59.75 kB / 0.525 GB, free: 13.75 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006368/0.1715, allocations: 271.5 kB / 0.5253 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001185/0.1716, allocations: 114.3 kB / 0.5254 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.141e-05/0.1717, allocations: 25.97 kB / 0.5254 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.398e-05/0.1717, allocations: 27.42 kB / 0.5255 GB, free: 13.26 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1717, allocations: 0 / 0.5255 GB, free: 13.26 MB / 414.1 MB Notification: Performance of Templates: time 0.007173/0.1789, allocations: 3.008 MB / 0.5284 GB, free: 10.27 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.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.782998416572809]