Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008214/0.008214, allocations: 101.1 kB / 15.87 MB, free: 6.309 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.001656/0.001656, allocations: 190.5 kB / 16.79 MB, free: 6.238 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.859/1.859, allocations: 205.1 MB / 222.6 MB, free: 4.715 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4049/0.4049, allocations: 43.5 MB / 313.5 MB, free: 8.449 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.001422/0.001422, allocations: 71.89 kB / 382 MB, free: 8.715 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1537, allocations: 57.79 MB / 439.8 MB, free: 14.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.004075/0.1579, allocations: 1.964 MB / 441.8 MB, free: 12.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001428/0.1593, allocations: 0.8234 MB / 442.6 MB, free: 12.01 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.237e-05/0.1594, allocations: 0 / 442.6 MB, free: 12.01 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000345/0.1598, allocations: 43.77 kB / 442.7 MB, free: 11.97 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001764/0.16, allocations: 43.83 kB / 442.7 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002887/0.1603, allocations: 87.84 kB / 442.8 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002301/0.1605, allocations: 135.5 kB / 442.9 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001551/0.1607, allocations: 33.75 kB / 443 MB, free: 11.67 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/0.1608, allocations: 55.72 kB / 443 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.1609, allocations: 43.77 kB / 443.1 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.374e-05/0.1609, allocations: 4 kB / 443.1 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.1611, allocations: 43.98 kB / 443.1 MB, free: 11.53 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.623e-05/0.1611, allocations: 23.8 kB / 443.1 MB, free: 11.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.547e-05/0.1612, allocations: 51.66 kB / 443.2 MB, free: 11.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002384/0.1615, allocations: 139.5 kB / 443.3 MB, free: 11.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.1615, allocations: 4 kB / 443.3 MB, free: 11.31 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1615, allocations: 0 / 443.3 MB, free: 11.31 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.1615, allocations: 0 / 443.3 MB, free: 11.31 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008475/0.1624, allocations: 476.5 kB / 443.8 MB, free: 10.79 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.319e-05/0.1624, allocations: 8.031 kB / 443.8 MB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.747e-05/0.1625, allocations: 20.73 kB / 443.8 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003422/0.1628, allocations: 224.7 kB / 444 MB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.1629, allocations: 8.375 kB / 444 MB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.505e-05/0.1629, allocations: 16.06 kB / 444.1 MB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002945/0.1632, allocations: 100.2 kB / 444.2 MB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.1632, allocations: 3.938 kB / 444.2 MB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.02e-05/0.1633, allocations: 8 kB / 444.2 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/0.1633, allocations: 0 / 444.2 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001581/0.1634, allocations: 47.95 kB / 444.2 MB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006325/0.1641, allocations: 0.5125 MB / 444.7 MB, free: 9.742 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003446/0.1644, allocations: 86.67 kB / 444.8 MB, free: 9.648 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.777e-05/0.1645, allocations: 44.77 kB / 444.9 MB, free: 9.602 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.751e-05/0.1646, allocations: 7.984 kB / 444.9 MB, free: 9.594 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000265/0.1648, allocations: 75.38 kB / 444.9 MB, free: 9.508 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.272e-06/0.1649, allocations: 0 / 444.9 MB, free: 9.508 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004181/0.1653, allocations: 145.5 kB / 445.1 MB, free: 9.359 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/0.1653, allocations: 55.34 kB / 445.1 MB, free: 9.293 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000186/0.1655, allocations: 187.5 kB / 445.3 MB, free: 9.102 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.1656, allocations: 29.7 kB / 445.3 MB, free: 9.066 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.522e-05/0.1657, allocations: 127.8 kB / 445.5 MB, free: 8.938 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.754e-05/0.1657, allocations: 19.72 kB / 445.5 MB, free: 8.918 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.304e-05/0.1657, allocations: 29.7 kB / 445.5 MB, free: 8.883 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.1659, allocations: 326.8 kB / 445.8 MB, free: 8.555 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.906e-05/0.166, allocations: 27.98 kB / 445.9 MB, free: 8.527 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.1661, allocations: 72.2 kB / 445.9 MB, free: 8.441 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001851/0.1663, allocations: 104.5 kB / 446 MB, free: 8.324 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.1663, allocations: 0 / 446 MB, free: 8.324 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002538/0.1665, allocations: 133.4 kB / 446.2 MB, free: 8.188 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.1666, allocations: 4 kB / 446.2 MB, free: 8.184 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.1666, allocations: 4.125 kB / 446.2 MB, free: 8.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.1666, allocations: 7.984 kB / 446.2 MB, free: 8.172 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.789e-05/0.1667, allocations: 27.88 kB / 446.2 MB, free: 8.145 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.1667, allocations: 3.984 kB / 446.2 MB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.614e-05/0.1668, allocations: 11.84 kB / 446.2 MB, free: 8.129 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.393e-05/0.1668, allocations: 8 kB / 446.2 MB, free: 8.121 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001066/0.1669, allocations: 121.8 kB / 446.3 MB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.654e-05/0.167, allocations: 19.8 kB / 446.4 MB, free: 7.973 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.153e-05/0.167, allocations: 21.41 kB / 446.4 MB, free: 7.949 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.167, allocations: 7.938 kB / 446.4 MB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.167, allocations: 0 / 446.4 MB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.167, allocations: 0 / 446.4 MB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001821/0.1672, allocations: 205.6 kB / 446.6 MB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.1672, allocations: 0 / 446.6 MB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.535e-05/0.1673, allocations: 15.92 kB / 446.6 MB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1673, allocations: 0 / 446.6 MB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.1674, allocations: 4 kB / 446.6 MB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.1674, allocations: 3.938 kB / 446.6 MB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1674, allocations: 0 / 446.6 MB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003775/0.1678, allocations: 184.8 kB / 446.8 MB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.117e-05/0.1678, allocations: 88.98 kB / 446.9 MB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.608e-05/0.1678, allocations: 4 kB / 446.9 MB, free: 7.359 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.638e-05/0.1679, allocations: 16.11 kB / 446.9 MB, free: 7.344 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.835e-05/0.168, allocations: 4 kB / 446.9 MB, free: 7.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/0.168, allocations: 7.938 kB / 446.9 MB, free: 7.332 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001118/0.1681, allocations: 145.3 kB / 447.1 MB, free: 7.191 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1681, allocations: 4 kB / 447.1 MB, free: 7.188 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002361/0.1684, allocations: 24.11 kB / 447.1 MB, free: 7.164 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.001004/0.1694, allocations: 423.1 kB / 447.5 MB, free: 6.777 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002617/0.1696, allocations: 79.78 kB / 447.6 MB, free: 6.699 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.1697, allocations: 4.25 kB / 447.6 MB, free: 6.695 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001023/0.1698, allocations: 43.91 kB / 447.6 MB, free: 6.652 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003338/0.1701, allocations: 35.97 kB / 447.7 MB, free: 6.617 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006265/0.1708, allocations: 305.6 kB / 448 MB, free: 6.293 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002939/0.1711, allocations: 0.7123 MB / 448.7 MB, free: 5.555 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.13e-05/0.1711, allocations: 25.41 kB / 448.7 MB, free: 5.527 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.355e-05/0.1712, allocations: 15.44 kB / 448.7 MB, free: 5.512 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1712, allocations: 4 kB / 448.7 MB, free: 5.508 MB / 382.1 MB Notification: Performance of Templates: time 0.004747/0.1759, allocations: 1.771 MB / 450.5 MB, free: 3.742 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches