Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84,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.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,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.Test84") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 91.11 kB / 16.98 MB, free: 6.398 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.001604/0.001604, allocations: 183.8 kB / 17.87 MB, free: 5.957 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.513/1.513, allocations: 223.2 MB / 241.8 MB, free: 14.64 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.2304/0.2304, allocations: 44.22 MB / 337.1 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003639/0.000364, allocations: 12 kB / 409.5 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1499, allocations: 61.91 MB / 471.5 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.002679/0.1526, allocations: 1.387 MB / 472.8 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002487/0.1551, allocations: 1.363 MB / 474.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.836e-05/0.1553, allocations: 0 / 474.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003647/0.1556, allocations: 35.83 kB / 474.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000227/0.1559, allocations: 43.83 kB / 474.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002863/0.1562, allocations: 99.38 kB / 474.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001638/0.1564, allocations: 59.86 kB / 474.4 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.685e-05/0.1565, allocations: 8.219 kB / 474.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.819e-05/0.1566, allocations: 39.83 kB / 474.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001305/0.1567, allocations: 34.8 kB / 474.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.305e-05/0.1567, allocations: 0 / 474.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/0.1568, allocations: 43.92 kB / 474.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.239e-05/0.1569, allocations: 19.91 kB / 474.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.618e-05/0.157, allocations: 33.64 kB / 474.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001616/0.1571, allocations: 88.11 kB / 474.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.1571, allocations: 0 / 474.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1571, allocations: 0 / 474.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.1571, allocations: 0 / 474.7 MB, free: 10.47 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.0005738/0.1577, allocations: 395 kB / 475.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.1578, allocations: 11.97 kB / 475.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.389e-05/0.1578, allocations: 11.81 kB / 475.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002513/0.1581, allocations: 195 kB / 475.3 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.1581, allocations: 11.94 kB / 475.3 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.071e-05/0.1582, allocations: 4 kB / 475.3 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/0.1583, allocations: 71.33 kB / 475.4 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.1583, allocations: 0 / 475.4 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.1584, allocations: 4 kB / 475.4 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.1584, allocations: 4 kB / 475.4 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.19e-05/0.1585, allocations: 15.98 kB / 475.4 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004797/0.1589, allocations: 288.8 kB / 475.7 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001766/0.1591, allocations: 58.61 kB / 475.8 MB, free: 9.266 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.1592, allocations: 0 / 475.8 MB, free: 9.266 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002127/0.1594, allocations: 63.52 kB / 475.8 MB, free: 9.191 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.1594, allocations: 0 / 475.8 MB, free: 9.191 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006532/0.1601, allocations: 177.2 kB / 476 MB, free: 9.012 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.023e-05/0.1602, allocations: 81.09 kB / 476.1 MB, free: 8.914 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001761/0.1603, allocations: 152.1 kB / 476.2 MB, free: 8.758 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.1604, allocations: 25.7 kB / 476.2 MB, free: 8.727 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.846e-05/0.1605, allocations: 100.1 kB / 476.3 MB, free: 8.625 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.413e-05/0.1605, allocations: 19.72 kB / 476.4 MB, free: 8.605 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.448e-06/0.1605, allocations: 0 / 476.4 MB, free: 8.605 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001922/0.1607, allocations: 330.7 kB / 476.7 MB, free: 8.273 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001198/0.1609, allocations: 31.92 kB / 476.7 MB, free: 8.242 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.818e-05/0.1609, allocations: 38.56 kB / 476.7 MB, free: 8.195 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.281e-05/0.161, allocations: 20 kB / 476.8 MB, free: 8.176 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.161, allocations: 0 / 476.8 MB, free: 8.176 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001915/0.1612, allocations: 97.52 kB / 476.9 MB, free: 8.074 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.1613, allocations: 10.5 kB / 476.9 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.1613, allocations: 4.062 kB / 476.9 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.1613, allocations: 0 / 476.9 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.1614, allocations: 16 kB / 476.9 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/0.1614, allocations: 4 kB / 476.9 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.02e-05/0.1615, allocations: 7.922 kB / 476.9 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.1615, allocations: 4 kB / 476.9 MB, free: 8.031 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.0001636/0.1617, allocations: 126.3 kB / 477 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.469e-05/0.1617, allocations: 16 kB / 477 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.564e-05/0.1618, allocations: 20.7 kB / 477.1 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1618, allocations: 3.938 kB / 477.1 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.1618, allocations: 0 / 477.1 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.1618, allocations: 0 / 477.1 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000587/0.1624, allocations: 387.3 kB / 477.4 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.1624, allocations: 0 / 477.4 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.481e-05/0.1624, allocations: 12.36 kB / 477.5 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.1625, allocations: 0 / 477.5 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.656e-05/0.1625, allocations: 8.031 kB / 477.5 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.1625, allocations: 8 kB / 477.5 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1625, allocations: 0 / 477.5 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003511/0.1628, allocations: 217.9 kB / 477.7 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.449e-05/0.1629, allocations: 89 kB / 477.8 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.75e-05/0.163, allocations: 3.938 kB / 477.8 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.08e-05/0.1631, allocations: 12 kB / 477.8 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.902e-05/0.1631, allocations: 11.94 kB / 477.8 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.1631, allocations: 4 kB / 477.8 MB, free: 7.016 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001073/0.1632, allocations: 118 kB / 477.9 MB, free: 6.902 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1633, allocations: 0 / 477.9 MB, free: 6.902 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002994/0.1636, allocations: 28 kB / 477.9 MB, free: 6.875 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.001249/0.1648, allocations: 0.4982 MB / 478.4 MB, free: 6.57 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001934/0.165, allocations: 59.92 kB / 478.5 MB, free: 6.512 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.165, allocations: 0 / 478.5 MB, free: 6.512 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.028e-05/0.1651, allocations: 27.98 kB / 478.5 MB, free: 6.484 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002712/0.1654, allocations: 19.98 kB / 478.6 MB, free: 6.465 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004432/0.1658, allocations: 218.2 kB / 478.8 MB, free: 6.219 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003148/0.1662, allocations: 0.7014 MB / 479.5 MB, free: 5.492 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.223e-05/0.1662, allocations: 17.17 kB / 479.5 MB, free: 5.473 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.025e-05/0.1663, allocations: 15.44 kB / 479.5 MB, free: 5.457 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1663, allocations: 4 kB / 479.5 MB, free: 5.453 MB / 350.1 MB Notification: Performance of Templates: time 0.004745/0.171, allocations: 1.843 MB / 481.3 MB, free: 3.617 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches