Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16,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.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,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.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001075, allocations: 94.55 kB / 17.35 MB, free: 6.344 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.001311/0.001311, allocations: 172.4 kB / 18.25 MB, free: 5.504 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 / 242.3 MB, free: 204 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.2138/0.2138, allocations: 44.25 MB / 337.7 MB, free: 2.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005508/0.0005511, allocations: 12 kB / 410.3 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1502, allocations: 61.93 MB / 472.3 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.002271/0.1526, allocations: 1.425 MB / 473.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001606/0.1542, allocations: 0.8304 MB / 474.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.867e-05/0.1543, allocations: 7.938 kB / 474.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000404/0.1547, allocations: 35.89 kB / 474.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002038/0.1549, allocations: 43.84 kB / 474.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000324/0.1553, allocations: 95.75 kB / 474.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001662/0.1555, allocations: 91.7 kB / 474.8 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.708e-05/0.1556, allocations: 8.219 kB / 474.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.953e-05/0.1556, allocations: 35.8 kB / 474.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.292e-05/0.1557, allocations: 31.84 kB / 474.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.427e-05/0.1558, allocations: 4 kB / 474.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.437e-05/0.1559, allocations: 39.98 kB / 474.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.603e-05/0.1559, allocations: 23.86 kB / 474.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.532e-05/0.156, allocations: 57.48 kB / 475 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001879/0.1562, allocations: 103.9 kB / 475.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.1562, allocations: 4 kB / 475.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1562, allocations: 0 / 475.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.1562, allocations: 0 / 475.1 MB, free: 10.5 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.0005306/0.1568, allocations: 399 kB / 475.5 MB, free: 10.06 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.1568, allocations: 12.03 kB / 475.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.87e-05/0.1569, allocations: 8.844 kB / 475.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002119/0.1571, allocations: 204.2 kB / 475.7 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.582e-05/0.1571, allocations: 384 / 475.7 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.53e-05/0.1572, allocations: 12.06 kB / 475.7 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/0.1573, allocations: 53.67 kB / 475.8 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.1573, allocations: 0 / 475.8 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.1573, allocations: 0 / 475.8 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.1574, allocations: 4 kB / 475.8 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.357e-05/0.1574, allocations: 19.98 kB / 475.8 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003787/0.1578, allocations: 288.8 kB / 476.1 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001769/0.158, allocations: 62.61 kB / 476.1 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.155e-05/0.1581, allocations: 16.86 kB / 476.1 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/0.1581, allocations: 4 kB / 476.1 MB, free: 9.281 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000183/0.1583, allocations: 79.28 kB / 476.2 MB, free: 9.191 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.1583, allocations: 0 / 476.2 MB, free: 9.191 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005508/0.1589, allocations: 165.3 kB / 476.4 MB, free: 9.023 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/0.1589, allocations: 51.41 kB / 476.4 MB, free: 8.961 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/0.1591, allocations: 177.9 kB / 476.6 MB, free: 8.781 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.1591, allocations: 29.7 kB / 476.6 MB, free: 8.746 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.045e-05/0.1592, allocations: 100.1 kB / 476.7 MB, free: 8.645 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.179e-05/0.1592, allocations: 27.64 kB / 476.8 MB, free: 8.617 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.69e-05/0.1592, allocations: 13.72 kB / 476.8 MB, free: 8.598 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.1594, allocations: 322.8 kB / 477.1 MB, free: 8.273 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.779e-05/0.1594, allocations: 27.92 kB / 477.1 MB, free: 8.246 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.286e-05/0.1595, allocations: 37.7 kB / 477.2 MB, free: 8.203 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000119/0.1596, allocations: 57.72 kB / 477.2 MB, free: 8.141 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1596, allocations: 0 / 477.2 MB, free: 8.141 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001726/0.1598, allocations: 105.4 kB / 477.3 MB, free: 8.031 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.1598, allocations: 8 kB / 477.3 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.1598, allocations: 0 / 477.3 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.1599, allocations: 3.938 kB / 477.3 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.618e-05/0.1599, allocations: 15.98 kB / 477.3 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.16, allocations: 4.156 kB / 477.3 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.762e-05/0.16, allocations: 7.938 kB / 477.4 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.806e-06/0.16, allocations: 12.2 kB / 477.4 MB, free: 7.98 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 ($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.814e-05/0.1601, allocations: 125.8 kB / 477.5 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.663e-05/0.1602, allocations: 11.84 kB / 477.5 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.531e-05/0.1602, allocations: 12.72 kB / 477.5 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.1602, allocations: 4 kB / 477.5 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.1602, allocations: 0 / 477.5 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.1602, allocations: 3.938 kB / 477.5 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004287/0.1607, allocations: 387.3 kB / 477.9 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1607, allocations: 0 / 477.9 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.234e-05/0.1607, allocations: 11.98 kB / 477.9 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.1607, allocations: 4 kB / 477.9 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.1607, allocations: 3.938 kB / 477.9 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.1607, allocations: 0 / 477.9 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1608, allocations: 384 / 477.9 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002256/0.161, allocations: 212.2 kB / 478.1 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.978e-05/0.161, allocations: 89 kB / 478.2 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.614e-05/0.1611, allocations: 11.94 kB / 478.2 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.788e-05/0.1611, allocations: 4 kB / 478.2 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.181e-05/0.1612, allocations: 11.97 kB / 478.2 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/0.1612, allocations: 4 kB / 478.2 MB, free: 6.992 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001056/0.1613, allocations: 135.1 kB / 478.4 MB, free: 6.859 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1613, allocations: 0 / 478.4 MB, free: 6.859 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000252/0.1616, allocations: 23.98 kB / 478.4 MB, free: 6.836 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 (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.001019/0.1626, allocations: 470.3 kB / 478.9 MB, free: 6.559 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000168/0.1628, allocations: 55.92 kB / 478.9 MB, free: 6.504 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1628, allocations: 4.062 kB / 478.9 MB, free: 6.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.089e-05/0.1629, allocations: 35.92 kB / 479 MB, free: 6.465 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.1632, allocations: 27.91 kB / 479 MB, free: 6.438 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004241/0.1637, allocations: 238 kB / 479.2 MB, free: 6.172 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002626/0.1639, allocations: 0.6965 MB / 479.9 MB, free: 5.449 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.284e-05/0.164, allocations: 17.17 kB / 479.9 MB, free: 5.43 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.338e-05/0.164, allocations: 15.44 kB / 479.9 MB, free: 5.414 MB / 350.1 MB Notification: Performance of SimCode: time 3.9e-07/0.164, allocations: 0 / 479.9 MB, free: 5.414 MB / 350.1 MB Notification: Performance of Templates: time 0.004142/0.1682, allocations: 1.621 MB / 481.6 MB, free: 3.809 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches