Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.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.001311/0.001311, allocations: 109.7 kB / 18.33 MB, free: 4.078 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.00143/0.00143, allocations: 185.9 kB / 21.5 MB, free: 0.9219 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.71/1.71, allocations: 207.6 MB / 232.1 MB, free: 3.191 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.4603/0.4603, allocations: 44.23 MB / 328.4 MB, free: 6.27 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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7") [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.00217/0.00217, allocations: 71.31 kB / 465.6 MB, free: 44.94 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1558, allocations: 61.01 MB / 0.5143 GB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003597/0.1594, allocations: 1.716 MB / 0.5159 GB, free: 10.92 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00152/0.1609, allocations: 0.8264 MB / 0.5168 GB, free: 10.28 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.824e-05/0.161, allocations: 5.156 kB / 0.5168 GB, free: 10.28 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004507/0.1615, allocations: 98.27 kB / 0.5169 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002602/0.1617, allocations: 86.67 kB / 0.5169 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002655/0.162, allocations: 86.42 kB / 0.517 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002036/0.1622, allocations: 118.3 kB / 0.5171 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.1623, allocations: 8.562 kB / 0.5171 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.596e-05/0.1624, allocations: 57.73 kB / 0.5172 GB, free: 9.992 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.1625, allocations: 67.8 kB / 0.5173 GB, free: 9.926 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.1625, allocations: 4 kB / 0.5173 GB, free: 9.922 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.005e-05/0.1626, allocations: 47.91 kB / 0.5173 GB, free: 9.875 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.759e-05/0.1627, allocations: 27.92 kB / 0.5173 GB, free: 9.848 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.329e-05/0.1628, allocations: 35.69 kB / 0.5174 GB, free: 9.812 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002295/0.163, allocations: 127.4 kB / 0.5175 GB, free: 9.688 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.163, allocations: 0 / 0.5175 GB, free: 9.688 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.163, allocations: 4 kB / 0.5175 GB, free: 9.684 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.627e-06/0.163, allocations: 7.938 kB / 0.5175 GB, free: 9.676 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.0006487/0.1637, allocations: 426.6 kB / 0.5179 GB, free: 9.211 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.1637, allocations: 15.84 kB / 0.5179 GB, free: 9.195 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.083e-05/0.1638, allocations: 16.84 kB / 0.5179 GB, free: 9.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003259/0.1641, allocations: 224.8 kB / 0.5182 GB, free: 8.922 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.706e-05/0.1641, allocations: 8.375 kB / 0.5182 GB, free: 8.914 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.095e-05/0.1641, allocations: 4.125 kB / 0.5182 GB, free: 8.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000172/0.1643, allocations: 61.67 kB / 0.5182 GB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.017e-05/0.1643, allocations: 0 / 0.5182 GB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.1643, allocations: 4 kB / 0.5182 GB, free: 8.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.1644, allocations: 0 / 0.5182 GB, free: 8.84 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.539e-05/0.1644, allocations: 15.98 kB / 0.5182 GB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003731/0.1648, allocations: 296.8 kB / 0.5185 GB, free: 8.484 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001666/0.165, allocations: 54.69 kB / 0.5186 GB, free: 8.422 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.683e-05/0.165, allocations: 20.84 kB / 0.5186 GB, free: 8.398 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.88e-05/0.165, allocations: 3.938 kB / 0.5186 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001424/0.1652, allocations: 71.33 kB / 0.5187 GB, free: 8.312 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.1652, allocations: 0 / 0.5187 GB, free: 8.312 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005488/0.1657, allocations: 177.3 kB / 0.5188 GB, free: 8.133 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.491e-05/0.1658, allocations: 63.34 kB / 0.5189 GB, free: 8.059 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001596/0.1659, allocations: 234.3 kB / 0.5191 GB, free: 7.816 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.1659, allocations: 33.7 kB / 0.5192 GB, free: 7.777 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.798e-05/0.166, allocations: 104.1 kB / 0.5193 GB, free: 7.672 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.875e-05/0.166, allocations: 27.78 kB / 0.5193 GB, free: 7.645 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.392e-05/0.166, allocations: 21.72 kB / 0.5193 GB, free: 7.617 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.669e-05/0.1661, allocations: 334.8 kB / 0.5196 GB, free: 7.281 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.033e-05/0.1662, allocations: 20 kB / 0.5196 GB, free: 7.262 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.026e-05/0.1662, allocations: 37.7 kB / 0.5197 GB, free: 7.219 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.905e-05/0.1663, allocations: 65.7 kB / 0.5197 GB, free: 7.148 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1663, allocations: 0 / 0.5197 GB, free: 7.148 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001563/0.1665, allocations: 101.6 kB / 0.5198 GB, free: 7.043 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.1665, allocations: 8 kB / 0.5198 GB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.1665, allocations: 0 / 0.5198 GB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.1665, allocations: 3.984 kB / 0.5198 GB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.559e-05/0.1666, allocations: 19.97 kB / 0.5199 GB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.1666, allocations: 4 kB / 0.5199 GB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.313e-05/0.1666, allocations: 4.125 kB / 0.5199 GB, free: 7.004 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.1666, allocations: 4 kB / 0.5199 GB, free: 7 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 8.095e-05/0.1667, allocations: 133.8 kB / 0.52 GB, free: 6.859 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.123e-05/0.1667, allocations: 15.91 kB / 0.52 GB, free: 6.844 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002163/0.167, allocations: 123 kB / 0.5201 GB, free: 6.715 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.167, allocations: 0 / 0.5201 GB, free: 6.715 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.167, allocations: 7.984 kB / 0.5201 GB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.167, allocations: 4.312 kB / 0.5201 GB, free: 6.703 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003501/0.1673, allocations: 395.3 kB / 0.5205 GB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.1673, allocations: 4 kB / 0.5205 GB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.908e-05/0.1673, allocations: 8 kB / 0.5205 GB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.1674, allocations: 3.984 kB / 0.5205 GB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.1674, allocations: 7.938 kB / 0.5205 GB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.1674, allocations: 0 / 0.5205 GB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.1674, allocations: 7.969 kB / 0.5206 GB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001802/0.1676, allocations: 204.2 kB / 0.5208 GB, free: 6.008 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.129e-05/0.1676, allocations: 89.02 kB / 0.5208 GB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.768e-05/0.1676, allocations: 11.94 kB / 0.5208 GB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.438e-05/0.1677, allocations: 3.984 kB / 0.5209 GB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.075e-05/0.1677, allocations: 4 kB / 0.5209 GB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.655e-05/0.1677, allocations: 8 kB / 0.5209 GB, free: 5.875 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000108/0.1678, allocations: 184.3 kB / 0.521 GB, free: 5.695 MB / 382.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1678, allocations: 0 / 0.521 GB, free: 5.695 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000256/0.1681, allocations: 27.92 kB / 0.5211 GB, free: 5.668 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.001716/0.1698, allocations: 471.4 kB / 0.5215 GB, free: 5.254 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001894/0.17, allocations: 51.92 kB / 0.5216 GB, free: 5.203 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.17, allocations: 0 / 0.5216 GB, free: 5.203 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.508e-05/0.1701, allocations: 31.92 kB / 0.5216 GB, free: 5.172 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003659/0.1704, allocations: 43.7 kB / 0.5216 GB, free: 5.129 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004892/0.1709, allocations: 283.3 kB / 0.5219 GB, free: 4.824 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001567/0.1711, allocations: 0.7119 MB / 0.5226 GB, free: 4.086 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.565e-05/0.1711, allocations: 17.17 kB / 0.5226 GB, free: 4.066 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.638e-05/0.1712, allocations: 15.44 kB / 0.5226 GB, free: 4.051 MB / 382.1 MB Notification: Performance of SimCode: time 4e-07/0.1712, allocations: 0 / 0.5226 GB, free: 4.051 MB / 382.1 MB Notification: Performance of Templates: time 0.005276/0.1764, allocations: 1.747 MB / 0.5243 GB, free: 2.309 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.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.817354137077928]