Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 95.33 kB / 17.01 MB, free: 6.391 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.002015/0.002015, allocations: 180 kB / 17.89 MB, free: 5.926 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.544/1.544, allocations: 223.3 MB / 241.9 MB, free: 236 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2292/0.2292, allocations: 44.26 MB / 337.3 MB, free: 2.828 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003553/0.0003556, allocations: 12.81 kB / 409.7 MB, free: 27.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.148, allocations: 61.93 MB / 471.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.00251/0.1505, allocations: 1.562 MB / 473.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001826/0.1524, allocations: 0.905 MB / 474.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001163/0.1525, allocations: 0 / 474.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006193/0.1531, allocations: 255.4 kB / 474.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003568/0.1536, allocations: 155.6 kB / 474.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004561/0.154, allocations: 159.3 kB / 474.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003416/0.1544, allocations: 215.3 kB / 474.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001586/0.1545, allocations: 25.67 kB / 474.9 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000214/0.1548, allocations: 115.6 kB / 475 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002148/0.155, allocations: 151.5 kB / 475.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.463e-05/0.155, allocations: 4 kB / 475.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000124/0.1552, allocations: 47.98 kB / 475.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.1553, allocations: 63.75 kB / 475.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.946e-05/0.1553, allocations: 65.52 kB / 475.3 MB, free: 9.957 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000269/0.1556, allocations: 172 kB / 475.5 MB, free: 9.789 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.1556, allocations: 0 / 475.5 MB, free: 9.789 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.1556, allocations: 0 / 475.5 MB, free: 9.789 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.1557, allocations: 0 / 475.5 MB, free: 9.789 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008586/0.1565, allocations: 0.5407 MB / 476 MB, free: 9.199 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.22e-05/0.1566, allocations: 12.03 kB / 476 MB, free: 9.188 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.35e-05/0.1567, allocations: 27.62 kB / 476.1 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003648/0.157, allocations: 271.1 kB / 476.3 MB, free: 8.855 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.1571, allocations: 0 / 476.3 MB, free: 8.855 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.793e-05/0.1571, allocations: 12 kB / 476.3 MB, free: 8.844 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002414/0.1574, allocations: 115.2 kB / 476.4 MB, free: 8.719 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.1574, allocations: 0 / 476.4 MB, free: 8.719 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.1574, allocations: 0 / 476.4 MB, free: 8.719 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.1574, allocations: 4 kB / 476.4 MB, free: 8.715 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000131/0.1575, allocations: 43.97 kB / 476.5 MB, free: 8.672 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005929/0.1581, allocations: 488.6 kB / 477 MB, free: 8.141 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004087/0.1586, allocations: 125.1 kB / 477.1 MB, free: 8 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001408/0.1587, allocations: 49.83 kB / 477.1 MB, free: 7.945 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.65e-05/0.1588, allocations: 3.938 kB / 477.1 MB, free: 7.941 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003132/0.1591, allocations: 117 kB / 477.3 MB, free: 7.809 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.884e-06/0.1591, allocations: 0 / 477.3 MB, free: 7.809 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.00142/0.1605, allocations: 0.4969 MB / 477.8 MB, free: 7.305 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.597e-05/0.1606, allocations: 85.06 kB / 477.8 MB, free: 7.203 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005735/0.1612, allocations: 481.6 kB / 478.3 MB, free: 6.723 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.766e-05/0.1612, allocations: 33.7 kB / 478.3 MB, free: 6.684 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/0.1614, allocations: 164.5 kB / 478.5 MB, free: 6.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.64e-05/0.1615, allocations: 67.09 kB / 478.6 MB, free: 6.453 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.035e-05/0.1615, allocations: 4 kB / 478.6 MB, free: 6.449 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.1616, allocations: 350.8 kB / 478.9 MB, free: 6.098 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001162/0.1618, allocations: 55.97 kB / 479 MB, free: 6.043 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001304/0.1619, allocations: 95.33 kB / 479.1 MB, free: 5.938 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001406/0.162, allocations: 68.16 kB / 479.1 MB, free: 5.871 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1621, allocations: 0 / 479.1 MB, free: 5.871 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003788/0.1624, allocations: 237 kB / 479.4 MB, free: 5.633 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.1625, allocations: 10.34 kB / 479.4 MB, free: 5.625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.1625, allocations: 0 / 479.4 MB, free: 5.625 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.1625, allocations: 4 kB / 479.4 MB, free: 5.621 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001608/0.1627, allocations: 39.92 kB / 479.4 MB, free: 5.582 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/0.1627, allocations: 8.188 kB / 479.4 MB, free: 5.574 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.208e-05/0.1628, allocations: 16.05 kB / 479.4 MB, free: 5.559 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.1628, allocations: 8 kB / 479.4 MB, free: 5.551 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001799/0.163, allocations: 186.1 kB / 479.6 MB, free: 5.359 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.769e-05/0.163, allocations: 27.62 kB / 479.7 MB, free: 5.332 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.149e-05/0.1631, allocations: 46.8 kB / 479.7 MB, free: 5.285 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.1631, allocations: 4 kB / 479.7 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.834e-06/0.1631, allocations: 0 / 479.7 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.335e-06/0.1632, allocations: 7.938 kB / 479.7 MB, free: 5.273 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/0.1642, allocations: 0.7234 MB / 480.4 MB, free: 4.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.1642, allocations: 7.953 kB / 480.4 MB, free: 4.473 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.96e-05/0.1643, allocations: 31.92 kB / 480.5 MB, free: 4.441 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.1643, allocations: 4.062 kB / 480.5 MB, free: 4.438 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.327e-05/0.1643, allocations: 15.98 kB / 480.5 MB, free: 4.422 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.1643, allocations: 4 kB / 480.5 MB, free: 4.418 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.1643, allocations: 0 / 480.5 MB, free: 4.418 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005572/0.1649, allocations: 428.6 kB / 480.9 MB, free: 3.973 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.43e-05/0.165, allocations: 112.7 kB / 481 MB, free: 3.844 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.236e-05/0.1651, allocations: 11.98 kB / 481 MB, free: 3.832 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/0.1652, allocations: 8 kB / 481 MB, free: 3.824 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.366e-05/0.1653, allocations: 23.91 kB / 481.1 MB, free: 3.801 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.717e-05/0.1653, allocations: 12 kB / 481.1 MB, free: 3.789 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003667/0.1657, allocations: 359.1 kB / 481.4 MB, free: 3.441 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1657, allocations: 0 / 481.4 MB, free: 3.441 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003682/0.1661, allocations: 51.98 kB / 481.5 MB, free: 3.391 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00147/0.1675, allocations: 0.5027 MB / 482 MB, free: 3.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000369/0.1679, allocations: 155.8 kB / 482.1 MB, free: 2.938 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1679, allocations: 0 / 482.1 MB, free: 2.938 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001927/0.1681, allocations: 87.91 kB / 482.2 MB, free: 2.852 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005623/0.1687, allocations: 61.78 kB / 482.3 MB, free: 2.789 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.1698, allocations: 0.6171 MB / 482.9 MB, free: 2.125 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004182/0.1702, allocations: 0.7811 MB / 483.7 MB, free: 1.32 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001173/0.1703, allocations: 49.89 kB / 483.7 MB, free: 1.273 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.532e-05/0.1704, allocations: 35.42 kB / 483.8 MB, free: 1.242 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1704, allocations: 0 / 483.8 MB, free: 1.242 MB / 350.1 MB Notification: Performance of Templates: time 0.007202/0.1776, allocations: 2.859 MB / 486.6 MB, free: 14.41 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches