Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 93.23 kB / 16.98 MB, free: 5.938 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.001342/0.001342, allocations: 188 kB / 17.88 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 223.2 MB / 241.8 MB, free: 14.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2193/0.2193, allocations: 44.22 MB / 337.1 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003822/0.0003822, allocations: 13.34 kB / 409.5 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.151, allocations: 61.91 MB / 471.5 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.00244/0.1535, allocations: 1.391 MB / 472.8 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001379/0.1549, allocations: 0.7881 MB / 473.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.155, allocations: 0 / 473.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003156/0.1553, allocations: 39.77 kB / 473.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000218/0.1556, allocations: 39.89 kB / 473.7 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00035/0.1559, allocations: 91.52 kB / 473.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001586/0.1561, allocations: 63.8 kB / 473.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.1562, allocations: 16.2 kB / 473.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.363e-05/0.1563, allocations: 31.86 kB / 473.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.999e-05/0.1564, allocations: 31.84 kB / 473.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.1564, allocations: 0 / 473.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.709e-05/0.1565, allocations: 27.98 kB / 474 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.471e-05/0.1565, allocations: 15.92 kB / 474 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.655e-05/0.1566, allocations: 41.64 kB / 474 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001586/0.1568, allocations: 80.09 kB / 474.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.1568, allocations: 0 / 474.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.1568, allocations: 0 / 474.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.436e-06/0.1568, allocations: 7.938 kB / 474.1 MB, free: 11.04 MB / 350.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.0007024/0.1575, allocations: 391 kB / 474.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.1576, allocations: 8.031 kB / 474.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.289e-05/0.1576, allocations: 11.89 kB / 474.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002356/0.1579, allocations: 198.9 kB / 474.7 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.1579, allocations: 0 / 474.7 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.386e-05/0.1579, allocations: 4 kB / 474.7 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.1581, allocations: 61.56 kB / 474.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.1581, allocations: 4 kB / 474.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.1581, allocations: 3.984 kB / 474.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.1581, allocations: 0 / 474.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.465e-05/0.1582, allocations: 19.98 kB / 474.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004203/0.1586, allocations: 284.8 kB / 475.1 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001853/0.1588, allocations: 66.61 kB / 475.1 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.925e-05/0.1589, allocations: 0 / 475.1 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002095/0.1591, allocations: 63.52 kB / 475.2 MB, free: 9.777 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.1591, allocations: 0 / 475.2 MB, free: 9.777 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005768/0.1597, allocations: 165.3 kB / 475.4 MB, free: 9.609 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.674e-05/0.1597, allocations: 51.41 kB / 475.4 MB, free: 9.547 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001659/0.1599, allocations: 172.5 kB / 475.6 MB, free: 9.371 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.1599, allocations: 33.69 kB / 475.6 MB, free: 9.332 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.513e-05/0.16, allocations: 104 kB / 475.7 MB, free: 9.227 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.116e-05/0.16, allocations: 27.72 kB / 475.7 MB, free: 9.199 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.898e-06/0.16, allocations: 0 / 475.7 MB, free: 9.199 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.1602, allocations: 326.8 kB / 476.1 MB, free: 8.871 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.972e-05/0.1602, allocations: 19.94 kB / 476.1 MB, free: 8.852 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.226e-05/0.1603, allocations: 37.64 kB / 476.1 MB, free: 8.809 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.203e-05/0.1604, allocations: 35.94 kB / 476.2 MB, free: 8.773 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1604, allocations: 0 / 476.2 MB, free: 8.773 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001705/0.1606, allocations: 97.81 kB / 476.3 MB, free: 8.672 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.1606, allocations: 8 kB / 476.3 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.1606, allocations: 0 / 476.3 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.1606, allocations: 0 / 476.3 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.151e-05/0.1607, allocations: 19.98 kB / 476.3 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.1607, allocations: 4 kB / 476.3 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.448e-05/0.1608, allocations: 4 kB / 476.3 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.375e-06/0.1608, allocations: 8.031 kB / 476.3 MB, free: 8.629 MB / 350.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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001001/0.1609, allocations: 126.3 kB / 476.4 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.55e-05/0.1609, allocations: 7.906 kB / 476.4 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.853e-05/0.161, allocations: 12.72 kB / 476.4 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.161, allocations: 4 kB / 476.4 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.161, allocations: 0 / 476.4 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.161, allocations: 3.984 kB / 476.4 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004235/0.1614, allocations: 391.3 kB / 476.8 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.1614, allocations: 3.984 kB / 476.8 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.08e-05/0.1615, allocations: 11.94 kB / 476.8 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.093e-05/0.1615, allocations: 3.984 kB / 476.8 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.1615, allocations: 4 kB / 476.9 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1615, allocations: 0 / 476.9 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.1615, allocations: 0 / 476.9 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002151/0.1617, allocations: 217.9 kB / 477.1 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.09e-05/0.1618, allocations: 93 kB / 477.2 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.072e-05/0.1618, allocations: 0 / 477.2 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.782e-05/0.1619, allocations: 4 kB / 477.2 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.719e-05/0.1619, allocations: 7.984 kB / 477.2 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.695e-05/0.162, allocations: 11.94 kB / 477.2 MB, free: 7.629 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001033/0.1621, allocations: 130.8 kB / 477.3 MB, free: 7.504 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1621, allocations: 7.938 kB / 477.3 MB, free: 7.496 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002566/0.1623, allocations: 27.94 kB / 477.3 MB, free: 7.469 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001026/0.1634, allocations: 472 kB / 477.8 MB, free: 7.188 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001717/0.1636, allocations: 63.89 kB / 477.9 MB, free: 7.125 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1636, allocations: 4 kB / 477.9 MB, free: 7.121 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.085e-05/0.1636, allocations: 24 kB / 477.9 MB, free: 7.098 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002509/0.1639, allocations: 23.97 kB / 477.9 MB, free: 7.074 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004481/0.1644, allocations: 233.9 kB / 478.1 MB, free: 6.812 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002997/0.1647, allocations: 0.7043 MB / 478.8 MB, free: 6.082 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.094e-05/0.1647, allocations: 16.88 kB / 478.9 MB, free: 6.062 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.185e-05/0.1648, allocations: 19.44 kB / 478.9 MB, free: 6.043 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1648, allocations: 0 / 478.9 MB, free: 6.043 MB / 350.1 MB Notification: Performance of Templates: time 0.00442/0.1692, allocations: 1.582 MB / 480.5 MB, free: 4.477 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches