Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,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.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,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.Test45") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 102.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.001302/0.001302, allocations: 190.9 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.719/1.719, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2548/0.2548, allocations: 43.52 MB / 313.9 MB, free: 0.5352 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.001557/0.001557, allocations: 74.73 kB / 382.7 MB, free: 56.76 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.1618, allocations: 57.8 MB / 440.5 MB, free: 6.898 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.003627/0.1655, allocations: 1.693 MB / 442.2 MB, free: 5.188 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001283/0.1668, allocations: 0.7961 MB / 443 MB, free: 4.383 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.415e-05/0.1669, allocations: 0 / 443 MB, free: 4.383 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003486/0.1673, allocations: 51.77 kB / 443.1 MB, free: 4.332 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002127/0.1675, allocations: 51.75 kB / 443.1 MB, free: 4.281 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002467/0.1678, allocations: 83.72 kB / 443.2 MB, free: 4.199 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001686/0.168, allocations: 91.75 kB / 443.3 MB, free: 4.109 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.1681, allocations: 16.44 kB / 443.3 MB, free: 4.094 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.852e-05/0.1682, allocations: 43.8 kB / 443.4 MB, free: 4.051 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.188e-05/0.1682, allocations: 27.84 kB / 443.4 MB, free: 4.023 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.1683, allocations: 4 kB / 443.4 MB, free: 4.02 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.1684, allocations: 43.98 kB / 443.4 MB, free: 3.977 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.392e-05/0.1685, allocations: 19.92 kB / 443.4 MB, free: 3.957 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.444e-05/0.1685, allocations: 31.75 kB / 443.5 MB, free: 3.926 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001959/0.1687, allocations: 115.6 kB / 443.6 MB, free: 3.812 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1687, allocations: 0 / 443.6 MB, free: 3.812 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1687, allocations: 0 / 443.6 MB, free: 3.812 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.1687, allocations: 0 / 443.6 MB, free: 3.812 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.0005872/0.1693, allocations: 426.9 kB / 444 MB, free: 3.348 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.1694, allocations: 11.89 kB / 444 MB, free: 3.336 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.204e-05/0.1694, allocations: 8.844 kB / 444 MB, free: 3.328 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002359/0.1697, allocations: 216.6 kB / 444.2 MB, free: 3.078 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/0.1697, allocations: 4.375 kB / 444.2 MB, free: 3.074 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.04e-05/0.1697, allocations: 8.125 kB / 444.3 MB, free: 3.066 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001836/0.1699, allocations: 49.67 kB / 444.3 MB, free: 3.012 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.17, allocations: 0 / 444.3 MB, free: 3.012 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.17, allocations: 4 kB / 444.3 MB, free: 3.008 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.232e-05/0.17, allocations: 8 kB / 444.3 MB, free: 3 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.336e-05/0.1701, allocations: 19.92 kB / 444.3 MB, free: 2.98 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004055/0.1705, allocations: 288.9 kB / 444.6 MB, free: 2.648 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001953/0.1707, allocations: 58.67 kB / 444.7 MB, free: 2.582 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.372e-05/0.1708, allocations: 28.84 kB / 444.7 MB, free: 2.551 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.857e-05/0.1708, allocations: 0 / 444.7 MB, free: 2.551 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002391/0.1711, allocations: 71.33 kB / 444.8 MB, free: 2.469 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.1711, allocations: 0 / 444.8 MB, free: 2.469 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006789/0.1718, allocations: 177.1 kB / 444.9 MB, free: 2.289 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/0.1718, allocations: 51.41 kB / 445 MB, free: 2.227 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001927/0.172, allocations: 199.3 kB / 445.2 MB, free: 2.023 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.447e-05/0.172, allocations: 37.7 kB / 445.2 MB, free: 1.98 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.101e-05/0.1721, allocations: 104 kB / 445.3 MB, free: 1.875 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.355e-05/0.1722, allocations: 19.75 kB / 445.3 MB, free: 1.855 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.251e-05/0.1722, allocations: 25.72 kB / 445.4 MB, free: 1.824 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.1724, allocations: 330.8 kB / 445.7 MB, free: 1.492 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.03e-05/0.1724, allocations: 16 kB / 445.7 MB, free: 1.477 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.249e-05/0.1725, allocations: 37.7 kB / 445.7 MB, free: 1.434 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001/0.1726, allocations: 61.64 kB / 445.8 MB, free: 1.367 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1726, allocations: 0 / 445.8 MB, free: 1.367 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000161/0.1728, allocations: 109.4 kB / 445.9 MB, free: 1.254 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.1728, allocations: 4 kB / 445.9 MB, free: 1.25 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.1728, allocations: 0 / 445.9 MB, free: 1.25 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.1729, allocations: 0 / 445.9 MB, free: 1.25 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.173, allocations: 19.98 kB / 445.9 MB, free: 1.23 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.173, allocations: 0 / 445.9 MB, free: 1.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.419e-05/0.173, allocations: 7.969 kB / 445.9 MB, free: 1.223 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.1731, allocations: 4 kB / 445.9 MB, free: 1.219 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 9.298e-05/0.1732, allocations: 133.8 kB / 446.1 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.25e-05/0.1732, allocations: 15.75 kB / 446.1 MB, free: 1.062 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.417e-05/0.1732, allocations: 17.39 kB / 446.1 MB, free: 1.043 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.91e-06/0.1733, allocations: 4 kB / 446.1 MB, free: 1.039 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.1733, allocations: 0 / 446.1 MB, free: 1.039 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.1733, allocations: 3.938 kB / 446.1 MB, free: 1.035 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004134/0.1737, allocations: 391.3 kB / 446.5 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1737, allocations: 0 / 446.5 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.009e-05/0.1737, allocations: 11.94 kB / 446.5 MB, free: 0.582 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.1738, allocations: 3.984 kB / 446.5 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.1738, allocations: 4.312 kB / 446.5 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.1738, allocations: 4 kB / 446.5 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1738, allocations: 0 / 446.5 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002245/0.174, allocations: 208.3 kB / 446.7 MB, free: 356 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.689e-05/0.1741, allocations: 88.92 kB / 446.8 MB, free: 248 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.772e-05/0.1741, allocations: 7.938 kB / 446.8 MB, free: 240 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.1743, allocations: 7.984 kB / 446.8 MB, free: 232 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.018e-05/0.1744, allocations: 0 / 446.8 MB, free: 232 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.067e-05/0.1744, allocations: 8.125 kB / 446.8 MB, free: 224 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001822/0.1746, allocations: 152.9 kB / 447 MB, free: 72 kB / 318.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1746, allocations: 7.938 kB / 447 MB, free: 64 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003181/0.1749, allocations: 23.98 kB / 447 MB, free: 40 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.001337/0.1763, allocations: 464.6 kB / 447.5 MB, free: 15.67 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002238/0.1765, allocations: 71.91 kB / 447.5 MB, free: 15.6 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1765, allocations: 0 / 447.5 MB, free: 15.6 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.286e-05/0.1766, allocations: 24 kB / 447.6 MB, free: 15.58 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003759/0.177, allocations: 25.17 kB / 447.6 MB, free: 15.55 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006376/0.1776, allocations: 231.4 kB / 447.8 MB, free: 15.3 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000368/0.178, allocations: 0.708 MB / 448.5 MB, free: 14.57 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.331e-05/0.1781, allocations: 8.891 kB / 448.5 MB, free: 14.56 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.358e-05/0.1781, allocations: 23.42 kB / 448.6 MB, free: 14.54 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1781, allocations: 0 / 448.6 MB, free: 14.54 MB / 334.1 MB Notification: Performance of Templates: time 0.005652/0.1838, allocations: 1.696 MB / 450.3 MB, free: 12.85 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches