Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 101.6 kB / 16.27 MB, free: 5.93 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.001103/0.001103, allocations: 190.1 kB / 17.2 MB, free: 5.574 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.838/1.838, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2432/0.2432, allocations: 43.53 MB / 313.9 MB, free: 0.5078 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.001629/0.001629, allocations: 71.31 kB / 382.7 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1544, allocations: 57.8 MB / 440.5 MB, free: 6.875 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.004255/0.1588, allocations: 1.693 MB / 442.2 MB, free: 5.164 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001675/0.1605, allocations: 0.7922 MB / 443 MB, free: 4.363 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001346/0.1606, allocations: 0 / 443 MB, free: 4.363 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004887/0.1611, allocations: 43.77 kB / 443.1 MB, free: 4.32 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000294/0.1615, allocations: 55.75 kB / 443.1 MB, free: 4.266 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003551/0.1618, allocations: 87.58 kB / 443.2 MB, free: 4.184 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001824/0.162, allocations: 95.7 kB / 443.3 MB, free: 4.09 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.1621, allocations: 20.48 kB / 443.3 MB, free: 4.07 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.124e-05/0.1622, allocations: 35.8 kB / 443.3 MB, free: 4.035 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.708e-05/0.1623, allocations: 27.86 kB / 443.4 MB, free: 4.008 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.1623, allocations: 4 kB / 443.4 MB, free: 4.004 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.689e-05/0.1624, allocations: 51.97 kB / 443.4 MB, free: 3.953 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.103e-05/0.1625, allocations: 15.92 kB / 443.4 MB, free: 3.938 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.549e-05/0.1626, allocations: 31.75 kB / 443.5 MB, free: 3.906 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002202/0.1628, allocations: 115.6 kB / 443.6 MB, free: 3.793 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.1628, allocations: 0 / 443.6 MB, free: 3.793 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.1628, allocations: 0 / 443.6 MB, free: 3.793 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.177e-06/0.1628, allocations: 0 / 443.6 MB, free: 3.793 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006509/0.1635, allocations: 414.9 kB / 444 MB, free: 3.34 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.497e-05/0.1636, allocations: 11.89 kB / 444 MB, free: 3.328 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.133e-05/0.1636, allocations: 12.84 kB / 444 MB, free: 3.316 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002202/0.1639, allocations: 209 kB / 444.2 MB, free: 3.074 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.1639, allocations: 4.375 kB / 444.2 MB, free: 3.07 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.923e-05/0.1639, allocations: 8.125 kB / 444.2 MB, free: 3.062 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.1641, allocations: 57.61 kB / 444.3 MB, free: 3 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.1641, allocations: 0 / 444.3 MB, free: 3 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.1641, allocations: 0 / 444.3 MB, free: 3 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.1641, allocations: 0 / 444.3 MB, free: 3 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.511e-05/0.1642, allocations: 19.98 kB / 444.3 MB, free: 2.98 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003581/0.1646, allocations: 288.8 kB / 444.6 MB, free: 2.648 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001654/0.1648, allocations: 70.59 kB / 444.7 MB, free: 2.57 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.276e-05/0.1648, allocations: 16.86 kB / 444.7 MB, free: 2.551 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.706e-05/0.1649, allocations: 0 / 444.7 MB, free: 2.551 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002258/0.1651, allocations: 75.33 kB / 444.8 MB, free: 2.465 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.1651, allocations: 3.938 kB / 444.8 MB, free: 2.461 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005652/0.1657, allocations: 173.1 kB / 444.9 MB, free: 2.285 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.51e-05/0.1657, allocations: 51.41 kB / 445 MB, free: 2.223 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001557/0.1659, allocations: 194.1 kB / 445.2 MB, free: 2.023 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.1659, allocations: 25.7 kB / 445.2 MB, free: 1.992 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.807e-05/0.166, allocations: 100.1 kB / 445.3 MB, free: 1.891 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.766e-05/0.166, allocations: 27.7 kB / 445.3 MB, free: 1.863 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-05/0.166, allocations: 29.7 kB / 445.3 MB, free: 1.828 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.129e-05/0.1661, allocations: 326.8 kB / 445.7 MB, free: 1.5 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.325e-05/0.1662, allocations: 16 kB / 445.7 MB, free: 1.484 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.881e-05/0.1662, allocations: 41.64 kB / 445.7 MB, free: 1.438 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.546e-05/0.1663, allocations: 53.7 kB / 445.8 MB, free: 1.379 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1663, allocations: 4 kB / 445.8 MB, free: 1.375 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001555/0.1665, allocations: 105.5 kB / 445.9 MB, free: 1.266 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.1665, allocations: 4 kB / 445.9 MB, free: 1.262 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1665, allocations: 0 / 445.9 MB, free: 1.262 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.1666, allocations: 0 / 445.9 MB, free: 1.262 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.649e-05/0.1667, allocations: 16 kB / 445.9 MB, free: 1.246 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.1667, allocations: 0 / 445.9 MB, free: 1.246 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.742e-05/0.1667, allocations: 11.92 kB / 445.9 MB, free: 1.234 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.1667, allocations: 160 / 445.9 MB, free: 1.234 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 (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.723e-05/0.1668, allocations: 133.8 kB / 446 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.932e-05/0.1669, allocations: 15.81 kB / 446.1 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.775e-05/0.1669, allocations: 20.69 kB / 446.1 MB, free: 1.051 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1669, allocations: 0 / 446.1 MB, free: 1.051 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1669, allocations: 0 / 446.1 MB, free: 1.051 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.167, allocations: 7.938 kB / 446.1 MB, free: 1.043 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003495/0.1673, allocations: 391.3 kB / 446.5 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1673, allocations: 4.031 kB / 446.5 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.992e-05/0.1674, allocations: 8 kB / 446.5 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.1674, allocations: 4.359 kB / 446.5 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.1674, allocations: 7.938 kB / 446.5 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.1674, allocations: 4 kB / 446.5 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1674, allocations: 0 / 446.5 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001771/0.1676, allocations: 204.2 kB / 446.7 MB, free: 364 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.393e-05/0.1676, allocations: 89.2 kB / 446.8 MB, free: 256 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.558e-05/0.1676, allocations: 7.875 kB / 446.8 MB, free: 248 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.485e-05/0.1677, allocations: 11.92 kB / 446.8 MB, free: 236 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.907e-05/0.1678, allocations: 8 kB / 446.8 MB, free: 228 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/0.1678, allocations: 4 kB / 446.8 MB, free: 224 kB / 318.1 MB Notification: Performance of sorting global known variables: time 8.219e-05/0.1679, allocations: 139.2 kB / 446.9 MB, free: 84 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1679, allocations: 0 / 446.9 MB, free: 84 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002448/0.1681, allocations: 27.91 kB / 447 MB, free: 56 kB / 318.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.001254/0.1694, allocations: 456.5 kB / 447.4 MB, free: 15.69 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002298/0.1696, allocations: 59.91 kB / 447.5 MB, free: 15.63 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.1697, allocations: 4 kB / 447.5 MB, free: 15.63 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.645e-05/0.1698, allocations: 35.98 kB / 447.5 MB, free: 15.59 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000384/0.1702, allocations: 21.19 kB / 447.5 MB, free: 15.57 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006368/0.1708, allocations: 231.4 kB / 447.8 MB, free: 15.32 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004644/0.1713, allocations: 0.7002 MB / 448.5 MB, free: 14.59 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.721e-05/0.1714, allocations: 21.11 kB / 448.5 MB, free: 14.57 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.395e-05/0.1714, allocations: 15.44 kB / 448.5 MB, free: 14.56 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1714, allocations: 0 / 448.5 MB, free: 14.56 MB / 334.1 MB Notification: Performance of Templates: time 0.006108/0.1775, allocations: 1.695 MB / 450.2 MB, free: 12.88 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches