Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 103.1 kB / 16.27 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 188.2 kB / 17.19 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.748/1.748, allocations: 205.1 MB / 223.1 MB, free: 12.19 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2646/0.2646, allocations: 43.53 MB / 313.9 MB, free: 0.5195 MB / 254.1 MB 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.00151/0.00151, allocations: 74.12 kB / 382.7 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1588, allocations: 57.79 MB / 440.5 MB, free: 6.918 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.004437/0.1633, allocations: 1.652 MB / 442.2 MB, free: 5.246 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001652/0.165, allocations: 0.7866 MB / 443 MB, free: 4.453 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001182/0.1652, allocations: 3.938 kB / 443 MB, free: 4.449 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004109/0.1656, allocations: 59.8 kB / 443 MB, free: 4.391 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002928/0.166, allocations: 55.7 kB / 443.1 MB, free: 4.336 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003144/0.1663, allocations: 87.75 kB / 443.2 MB, free: 4.25 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002159/0.1665, allocations: 87.7 kB / 443.3 MB, free: 4.164 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.48e-05/0.1666, allocations: 4 kB / 443.3 MB, free: 4.16 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.711e-05/0.1667, allocations: 39.84 kB / 443.3 MB, free: 4.121 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.072e-05/0.1668, allocations: 27.8 kB / 443.3 MB, free: 4.094 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.439e-05/0.1668, allocations: 4 kB / 443.3 MB, free: 4.09 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001155/0.1669, allocations: 31.98 kB / 443.4 MB, free: 4.059 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.706e-05/0.167, allocations: 23.91 kB / 443.4 MB, free: 4.035 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.249e-05/0.1671, allocations: 39.75 kB / 443.4 MB, free: 3.996 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002371/0.1673, allocations: 123.8 kB / 443.5 MB, free: 3.875 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1674, allocations: 0 / 443.5 MB, free: 3.875 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1674, allocations: 0 / 443.5 MB, free: 3.875 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.243e-05/0.1674, allocations: 0 / 443.5 MB, free: 3.875 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006335/0.168, allocations: 434.6 kB / 444 MB, free: 3.402 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.588e-05/0.1681, allocations: 11.89 kB / 444 MB, free: 3.391 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.8e-05/0.1682, allocations: 12.83 kB / 444 MB, free: 3.379 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000239/0.1684, allocations: 219.5 kB / 444.2 MB, free: 3.125 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.1685, allocations: 384 / 444.2 MB, free: 3.125 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/0.1685, allocations: 12.11 kB / 444.2 MB, free: 3.113 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.1687, allocations: 49.69 kB / 444.3 MB, free: 3.059 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.1687, allocations: 3.938 kB / 444.3 MB, free: 3.055 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.1687, allocations: 0 / 444.3 MB, free: 3.055 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.1687, allocations: 3.938 kB / 444.3 MB, free: 3.051 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.578e-05/0.1688, allocations: 15.98 kB / 444.3 MB, free: 3.035 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001882/0.169, allocations: 189.7 kB / 444.5 MB, free: 2.801 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001577/0.1691, allocations: 58.61 kB / 444.5 MB, free: 2.734 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.008e-05/0.1692, allocations: 24.78 kB / 444.6 MB, free: 2.707 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.308e-05/0.1693, allocations: 0 / 444.6 MB, free: 2.707 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001667/0.1694, allocations: 67.23 kB / 444.6 MB, free: 2.629 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.313e-06/0.1694, allocations: 0 / 444.6 MB, free: 2.629 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002914/0.1697, allocations: 93.58 kB / 444.7 MB, free: 2.531 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.1698, allocations: 55.41 kB / 444.8 MB, free: 2.465 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002186/0.17, allocations: 255.7 kB / 445 MB, free: 2.199 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.17, allocations: 33.7 kB / 445 MB, free: 2.16 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.487e-05/0.1701, allocations: 108.1 kB / 445.2 MB, free: 2.051 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.243e-05/0.1701, allocations: 19.73 kB / 445.2 MB, free: 2.031 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.036e-05/0.1702, allocations: 17.72 kB / 445.2 MB, free: 2.008 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.65e-05/0.1703, allocations: 326.8 kB / 445.5 MB, free: 1.68 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.16e-05/0.1704, allocations: 23.92 kB / 445.5 MB, free: 1.656 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.186e-05/0.1704, allocations: 25.72 kB / 445.6 MB, free: 1.625 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.247e-05/0.1705, allocations: 41.95 kB / 445.6 MB, free: 1.578 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1705, allocations: 7.938 kB / 445.6 MB, free: 1.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001498/0.1707, allocations: 89.38 kB / 445.7 MB, free: 1.477 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.1707, allocations: 6.969 kB / 445.7 MB, free: 1.473 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.1707, allocations: 7.984 kB / 445.7 MB, free: 1.465 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.391e-05/0.1708, allocations: 4.031 kB / 445.7 MB, free: 1.461 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.775e-05/0.1708, allocations: 8 kB / 445.7 MB, free: 1.453 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.1709, allocations: 0 / 445.7 MB, free: 1.453 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.272e-05/0.1709, allocations: 8 kB / 445.7 MB, free: 1.445 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.084e-06/0.1709, allocations: 0 / 445.7 MB, free: 1.445 MB / 318.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 (7): * Single equations (assignments): 7 * 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.000119/0.1711, allocations: 141.6 kB / 445.9 MB, free: 1.297 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.477e-05/0.1711, allocations: 15.81 kB / 445.9 MB, free: 1.281 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.644e-05/0.1711, allocations: 16.98 kB / 445.9 MB, free: 1.266 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.177e-06/0.1712, allocations: 4 kB / 445.9 MB, free: 1.262 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.1712, allocations: 4 kB / 445.9 MB, free: 1.258 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.1712, allocations: 0 / 445.9 MB, free: 1.258 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001556/0.1713, allocations: 197.6 kB / 446.1 MB, free: 1.016 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1714, allocations: 0 / 446.1 MB, free: 1.016 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.524e-05/0.1714, allocations: 4 kB / 446.1 MB, free: 1.012 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.1714, allocations: 0 / 446.1 MB, free: 1.012 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.1714, allocations: 3.984 kB / 446.1 MB, free: 1.008 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.1714, allocations: 4 kB / 446.1 MB, free: 1.004 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.1714, allocations: 0 / 446.1 MB, free: 1.004 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001763/0.1716, allocations: 112.9 kB / 446.2 MB, free: 0.875 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.371e-05/0.1717, allocations: 92.94 kB / 446.3 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.707e-05/0.1717, allocations: 0 / 446.3 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.553e-05/0.1717, allocations: 4 kB / 446.3 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.271e-05/0.1718, allocations: 3.938 kB / 446.3 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-05/0.1718, allocations: 12.11 kB / 446.3 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001537/0.172, allocations: 195.3 kB / 446.5 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.5e-07/0.172, allocations: 4 kB / 446.5 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002691/0.1722, allocations: 24 kB / 446.5 MB, free: 0.5273 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.00103/0.1733, allocations: 406.9 kB / 446.9 MB, free: 212 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001663/0.1735, allocations: 43.97 kB / 447 MB, free: 168 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1735, allocations: 3.938 kB / 447 MB, free: 164 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.843e-05/0.1735, allocations: 19.94 kB / 447 MB, free: 144 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002962/0.1738, allocations: 32.09 kB / 447 MB, free: 112 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005844/0.1744, allocations: 258.8 kB / 447.3 MB, free: 15.83 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003884/0.1748, allocations: 0.7158 MB / 448 MB, free: 15.09 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.463e-05/0.1749, allocations: 24.52 kB / 448 MB, free: 15.07 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.469e-05/0.1749, allocations: 15.44 kB / 448.1 MB, free: 15.05 MB / 334.1 MB Notification: Performance of SimCode: time 7.21e-07/0.1749, allocations: 0 / 448.1 MB, free: 15.05 MB / 334.1 MB Notification: Performance of Templates: time 0.005516/0.1805, allocations: 1.499 MB / 449.6 MB, free: 13.56 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches