Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.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.002144/0.002144, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.002509/0.002509, allocations: 215.4 kB / 22.99 MB, free: 4.602 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.864/1.864, 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.2542/0.2542, allocations: 44.26 MB / 330.3 MB, free: 9.324 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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50") [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.002309/0.002309, allocations: 71.91 kB / 468.1 MB, free: 3.812 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1562, allocations: 61.04 MB / 0.5167 GB, free: 6.637 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003913/0.1602, allocations: 1.684 MB / 0.5183 GB, free: 4.941 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002678/0.1628, allocations: 1.474 MB / 0.5198 GB, free: 3.457 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.515e-05/0.1629, allocations: 0 / 0.5198 GB, free: 3.457 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003642/0.1633, allocations: 43.77 kB / 0.5198 GB, free: 3.414 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002912/0.1636, allocations: 55.77 kB / 0.5199 GB, free: 3.359 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002789/0.1639, allocations: 99.69 kB / 0.52 GB, free: 3.262 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002035/0.1641, allocations: 103.7 kB / 0.5201 GB, free: 3.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.1642, allocations: 8.219 kB / 0.5201 GB, free: 3.152 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.987e-05/0.1643, allocations: 47.78 kB / 0.5201 GB, free: 3.105 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001241/0.1644, allocations: 35.84 kB / 0.5202 GB, free: 3.07 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.094e-05/0.1644, allocations: 4 kB / 0.5202 GB, free: 3.066 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001482/0.1646, allocations: 67.89 kB / 0.5202 GB, free: 3 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.258e-05/0.1646, allocations: 23.92 kB / 0.5202 GB, free: 2.977 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.467e-05/0.1647, allocations: 23.86 kB / 0.5203 GB, free: 2.953 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002657/0.1649, allocations: 135.5 kB / 0.5204 GB, free: 2.82 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1649, allocations: 0 / 0.5204 GB, free: 2.82 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.001e-06/0.1649, allocations: 4 kB / 0.5204 GB, free: 2.816 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.165, allocations: 0 / 0.5204 GB, free: 2.816 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006509/0.1656, allocations: 341.6 kB / 0.5207 GB, free: 2.453 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.1656, allocations: 8.031 kB / 0.5207 GB, free: 2.445 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.588e-05/0.1657, allocations: 8.891 kB / 0.5207 GB, free: 2.438 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003263/0.166, allocations: 154.8 kB / 0.5209 GB, free: 2.262 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.166, allocations: 3.938 kB / 0.5209 GB, free: 2.258 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.798e-05/0.1661, allocations: 7.938 kB / 0.5209 GB, free: 2.25 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002128/0.1663, allocations: 105.1 kB / 0.521 GB, free: 2.129 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.1663, allocations: 4 kB / 0.521 GB, free: 2.125 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.1663, allocations: 0 / 0.521 GB, free: 2.125 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.578e-05/0.1663, allocations: 0 / 0.521 GB, free: 2.125 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001113/0.1664, allocations: 39.91 kB / 0.521 GB, free: 2.086 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004275/0.1668, allocations: 236.5 kB / 0.5213 GB, free: 1.824 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002138/0.1671, allocations: 70.66 kB / 0.5213 GB, free: 1.746 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.614e-05/0.1671, allocations: 24.84 kB / 0.5214 GB, free: 1.719 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.602e-05/0.1671, allocations: 0 / 0.5214 GB, free: 1.719 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001632/0.1673, allocations: 75.33 kB / 0.5214 GB, free: 1.633 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.313e-06/0.1673, allocations: 4 kB / 0.5214 GB, free: 1.629 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006973/0.168, allocations: 213.4 kB / 0.5216 GB, free: 1.414 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.827e-05/0.1681, allocations: 77.11 kB / 0.5217 GB, free: 1.32 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002318/0.1683, allocations: 174.3 kB / 0.5219 GB, free: 1.137 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.739e-05/0.1683, allocations: 29.7 kB / 0.5219 GB, free: 1.102 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.628e-05/0.1684, allocations: 100.1 kB / 0.522 GB, free: 1 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.515e-05/0.1685, allocations: 23.84 kB / 0.522 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.968e-05/0.1685, allocations: 21.72 kB / 0.522 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002064/0.1687, allocations: 322.8 kB / 0.5224 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.204e-05/0.1688, allocations: 31.92 kB / 0.5224 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001174/0.1689, allocations: 80.25 kB / 0.5225 GB, free: 0.5 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001708/0.1691, allocations: 77.64 kB / 0.5225 GB, free: 428 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1691, allocations: 0 / 0.5225 GB, free: 428 kB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000243/0.1693, allocations: 125.5 kB / 0.5227 GB, free: 296 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.1694, allocations: 8 kB / 0.5227 GB, free: 288 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.1694, allocations: 0 / 0.5227 GB, free: 288 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.1694, allocations: 0 / 0.5227 GB, free: 288 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.1695, allocations: 27.86 kB / 0.5227 GB, free: 260 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.1695, allocations: 4.062 kB / 0.5227 GB, free: 256 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.216e-05/0.1696, allocations: 7.938 kB / 0.5227 GB, free: 248 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.1696, allocations: 4 kB / 0.5227 GB, free: 244 kB / 398.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 (11): * Single equations (assignments): 11 * 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.0001412/0.1697, allocations: 121.8 kB / 0.5228 GB, free: 112 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.411e-05/0.1697, allocations: 7.953 kB / 0.5228 GB, free: 104 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003625/0.1701, allocations: 142.3 kB / 0.523 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.1701, allocations: 11.88 kB / 0.523 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.1701, allocations: 0 / 0.523 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.1701, allocations: 0 / 0.523 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005568/0.1707, allocations: 370.9 kB / 0.5233 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.1707, allocations: 7.984 kB / 0.5233 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.884e-05/0.1707, allocations: 12 kB / 0.5233 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.364e-05/0.1707, allocations: 3.938 kB / 0.5234 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.1708, allocations: 3.984 kB / 0.5234 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.099e-06/0.1708, allocations: 4 kB / 0.5234 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1708, allocations: 0 / 0.5234 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003148/0.1711, allocations: 228.3 kB / 0.5236 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.326e-05/0.1711, allocations: 11.89 kB / 0.5236 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.954e-05/0.1711, allocations: 8.016 kB / 0.5236 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.311e-05/0.1712, allocations: 11.94 kB / 0.5236 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.049e-05/0.1713, allocations: 7.984 kB / 0.5236 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-05/0.1713, allocations: 4 kB / 0.5236 GB, free: 15.22 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001215/0.1714, allocations: 131.9 kB / 0.5237 GB, free: 15.09 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1714, allocations: 0 / 0.5237 GB, free: 15.09 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002921/0.1717, allocations: 35.92 kB / 0.5238 GB, free: 15.06 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: 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 (11): * Single equations (assignments): 9 * 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.002292/0.174, allocations: 0.5321 MB / 0.5243 GB, free: 14.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002391/0.1742, allocations: 79.83 kB / 0.5244 GB, free: 14.49 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1742, allocations: 0 / 0.5244 GB, free: 14.49 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.42e-05/0.1743, allocations: 40.05 kB / 0.5244 GB, free: 14.45 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003377/0.1746, allocations: 32.16 kB / 0.5244 GB, free: 14.42 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00051/0.1752, allocations: 231 kB / 0.5247 GB, free: 14.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001005/0.1753, allocations: 81.33 kB / 0.5247 GB, free: 14.07 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.052e-05/0.1753, allocations: 21.02 kB / 0.5248 GB, free: 14.05 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.056e-05/0.1754, allocations: 27.42 kB / 0.5248 GB, free: 14.02 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1754, allocations: 0 / 0.5248 GB, free: 14.02 MB / 414.1 MB Notification: Performance of Templates: time 0.006172/0.1816, allocations: 2.276 MB / 0.527 GB, free: 11.76 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.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.718404164537787]