Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.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.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14") translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009403/0.0009402, allocations: 95.2 kB / 17 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.0009858/0.0009859, 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.437/1.437, allocations: 223.3 MB / 241.9 MB, free: 320 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.2116/0.2116, allocations: 44.25 MB / 337.3 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005154/0.0005157, allocations: 12 kB / 409.7 MB, free: 27.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1392, allocations: 61.93 MB / 471.6 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.002558/0.1418, allocations: 1.669 MB / 473.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001673/0.1435, allocations: 0.8932 MB / 474.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002124/0.1437, allocations: 0 / 474.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003584/0.1441, allocations: 43.75 kB / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003056/0.1444, allocations: 51.77 kB / 474.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004916/0.1449, allocations: 127.2 kB / 474.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003252/0.1452, allocations: 167.5 kB / 474.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001483/0.1454, allocations: 21.62 kB / 474.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002623/0.1456, allocations: 71.67 kB / 474.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001722/0.1458, allocations: 67.69 kB / 474.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.2e-05/0.1459, allocations: 4 kB / 474.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001917/0.1461, allocations: 43.92 kB / 474.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.385e-05/0.1462, allocations: 31.91 kB / 474.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.032e-05/0.1463, allocations: 49.58 kB / 474.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002929/0.1466, allocations: 136 kB / 475 MB, free: 10.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.1466, allocations: 3.938 kB / 475 MB, free: 10.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1466, allocations: 0 / 475 MB, free: 10.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.1466, allocations: 0 / 475 MB, free: 10.29 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001053/0.1477, allocations: 0.537 MB / 475.5 MB, free: 9.691 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.1477, allocations: 12.56 kB / 475.5 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.943e-05/0.1478, allocations: 15.81 kB / 475.5 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003474/0.1482, allocations: 235.6 kB / 475.8 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.514e-05/0.1482, allocations: 11.94 kB / 475.8 MB, free: 9.379 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.545e-05/0.1482, allocations: 8 kB / 475.8 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000445/0.1487, allocations: 166.5 kB / 475.9 MB, free: 9.195 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.1487, allocations: 0 / 475.9 MB, free: 9.195 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.008e-05/0.1487, allocations: 4 kB / 476 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.1487, allocations: 8 kB / 476 MB, free: 9.184 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004449/0.1492, allocations: 139.8 kB / 476.1 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007593/0.15, allocations: 0.5438 MB / 476.6 MB, free: 8.445 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000637/0.1506, allocations: 190.6 kB / 476.8 MB, free: 8.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002373/0.1509, allocations: 88.78 kB / 476.9 MB, free: 8.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.503e-05/0.1509, allocations: 0 / 476.9 MB, free: 8.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005548/0.1515, allocations: 155.1 kB / 477.1 MB, free: 7.996 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.773e-06/0.1515, allocations: 0 / 477.1 MB, free: 7.996 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008999/0.1524, allocations: 285.3 kB / 477.3 MB, free: 7.711 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.719e-05/0.1525, allocations: 63.39 kB / 477.4 MB, free: 7.637 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003061/0.1528, allocations: 223.1 kB / 477.6 MB, free: 7.406 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.592e-05/0.1528, allocations: 33.7 kB / 477.7 MB, free: 7.367 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.153, allocations: 124.3 kB / 477.8 MB, free: 7.238 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.432e-05/0.153, allocations: 35.59 kB / 477.8 MB, free: 7.203 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.988e-06/0.153, allocations: 7.938 kB / 477.8 MB, free: 7.195 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.1532, allocations: 338.8 kB / 478.2 MB, free: 6.855 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002374/0.1534, allocations: 75.94 kB / 478.2 MB, free: 6.781 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002626/0.1537, allocations: 122.5 kB / 478.3 MB, free: 6.648 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002662/0.154, allocations: 109.7 kB / 478.5 MB, free: 6.535 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.154, allocations: 0 / 478.5 MB, free: 6.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006355/0.1546, allocations: 279 kB / 478.7 MB, free: 6.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.387e-05/0.1547, allocations: 29.7 kB / 478.8 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1547, allocations: 0 / 478.8 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.1547, allocations: 4 kB / 478.8 MB, free: 6.211 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001823/0.1549, allocations: 52.03 kB / 478.8 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.1549, allocations: 0 / 478.8 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002064/0.1551, allocations: 43.77 kB / 478.9 MB, free: 6.117 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.912e-05/0.1552, allocations: 4 kB / 478.9 MB, free: 6.113 MB / 350.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: 11 ($whenCondition2,$PRE.t_new.nextTimeEvent,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001578/0.1553, allocations: 133.8 kB / 479 MB, free: 5.973 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.836e-05/0.1554, allocations: 15.81 kB / 479 MB, free: 5.957 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.731e-05/0.1555, allocations: 25.39 kB / 479 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.1555, allocations: 0 / 479 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.1555, allocations: 0 / 479 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.1555, allocations: 0 / 479 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002836/0.1558, allocations: 233.5 kB / 479.3 MB, free: 5.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.1558, allocations: 3.938 kB / 479.3 MB, free: 5.656 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000167/0.156, allocations: 39.92 kB / 479.3 MB, free: 5.617 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.67e-06/0.156, allocations: 0 / 479.3 MB, free: 5.617 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.945e-05/0.156, allocations: 3.984 kB / 479.3 MB, free: 5.613 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.156, allocations: 0 / 479.3 MB, free: 5.613 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.156, allocations: 0 / 479.3 MB, free: 5.613 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009027/0.1569, allocations: 348.5 kB / 479.6 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.909e-05/0.157, allocations: 96.89 kB / 479.7 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.308e-05/0.1571, allocations: 0 / 479.7 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001638/0.1572, allocations: 31.97 kB / 479.8 MB, free: 5.109 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.043e-05/0.1573, allocations: 20.03 kB / 479.8 MB, free: 5.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.447e-05/0.1574, allocations: 8 kB / 479.8 MB, free: 5.082 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001681/0.1575, allocations: 156.7 kB / 479.9 MB, free: 4.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.8e-07/0.1575, allocations: 3.938 kB / 480 MB, free: 4.926 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003004/0.1578, allocations: 43.98 kB / 480 MB, free: 4.883 MB / 350.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: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.001172/0.159, allocations: 417.8 kB / 480.4 MB, free: 4.621 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006869/0.1597, allocations: 243.3 kB / 480.6 MB, free: 4.371 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.1597, allocations: 0 / 480.6 MB, free: 4.371 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002815/0.16, allocations: 87.88 kB / 480.7 MB, free: 4.285 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003698/0.1604, allocations: 54.38 kB / 480.8 MB, free: 4.234 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007812/0.1612, allocations: 346.2 kB / 481.1 MB, free: 3.875 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.1615, allocations: 0.7244 MB / 481.8 MB, free: 3.125 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001038/0.1616, allocations: 25.53 kB / 481.9 MB, free: 3.098 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.64e-05/0.1617, allocations: 19.44 kB / 481.9 MB, free: 3.078 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1617, allocations: 0 / 481.9 MB, free: 3.078 MB / 350.1 MB Notification: Performance of Templates: time 0.006145/0.1678, allocations: 2.505 MB / 484.4 MB, free: 0.6016 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test14/Test14.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches