Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,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.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,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.Test55") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001796/0.001796, allocations: 104.3 kB / 18.4 MB, free: 4.57 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.002182/0.002182, allocations: 187 kB / 19.34 MB, free: 3.641 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.595/1.595, allocations: 222.9 MB / 243 MB, free: 15.15 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.2653/0.2653, allocations: 44.18 MB / 337.4 MB, free: 2.719 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 67.98 kB / 409.9 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1462, allocations: 60.84 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.003174/0.1494, allocations: 1.691 MB / 472.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002179/0.1516, allocations: 1.487 MB / 473.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.062e-05/0.1517, allocations: 0 / 473.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003114/0.1521, allocations: 43.7 kB / 474 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002407/0.1523, allocations: 63.69 kB / 474 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002942/0.1526, allocations: 103.6 kB / 474.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001761/0.1528, allocations: 95.73 kB / 474.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.6e-05/0.1529, allocations: 12.23 kB / 474.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.757e-05/0.153, allocations: 43.78 kB / 474.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000153/0.1532, allocations: 35.84 kB / 474.3 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.1532, allocations: 7.938 kB / 474.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001262/0.1533, allocations: 59.97 kB / 474.4 MB, free: 9.992 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.037e-05/0.1534, allocations: 15.97 kB / 474.4 MB, free: 9.977 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.729e-05/0.1535, allocations: 35.73 kB / 474.4 MB, free: 9.941 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002273/0.1537, allocations: 123.6 kB / 474.5 MB, free: 9.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1537, allocations: 4 kB / 474.5 MB, free: 9.816 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1537, allocations: 0 / 474.5 MB, free: 9.816 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.1537, allocations: 4 kB / 474.5 MB, free: 9.812 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.0005867/0.1543, allocations: 395.2 kB / 474.9 MB, free: 9.379 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.1544, allocations: 12.03 kB / 474.9 MB, free: 9.367 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.833e-05/0.1544, allocations: 8.844 kB / 474.9 MB, free: 9.359 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002894/0.1547, allocations: 208 kB / 475.2 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.1547, allocations: 8.375 kB / 475.2 MB, free: 9.109 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.596e-05/0.1548, allocations: 4.125 kB / 475.2 MB, free: 9.105 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.155, allocations: 83.25 kB / 475.2 MB, free: 9.012 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.155, allocations: 0 / 475.2 MB, free: 9.012 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.155, allocations: 0 / 475.2 MB, free: 9.012 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.155, allocations: 0 / 475.2 MB, free: 9.012 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.623e-05/0.1551, allocations: 19.98 kB / 475.3 MB, free: 8.992 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003698/0.1555, allocations: 280.9 kB / 475.5 MB, free: 8.668 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001622/0.1557, allocations: 58.62 kB / 475.6 MB, free: 8.602 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.847e-05/0.1557, allocations: 24.84 kB / 475.6 MB, free: 8.574 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.1557, allocations: 0 / 475.6 MB, free: 8.574 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001477/0.1559, allocations: 67.39 kB / 475.7 MB, free: 8.496 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.1559, allocations: 0 / 475.7 MB, free: 8.496 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006153/0.1565, allocations: 177.1 kB / 475.9 MB, free: 8.316 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.861e-05/0.1566, allocations: 81.11 kB / 475.9 MB, free: 8.219 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002609/0.1569, allocations: 149.8 kB / 476.1 MB, free: 8.062 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.1569, allocations: 29.7 kB / 476.1 MB, free: 8.027 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.576e-05/0.157, allocations: 92.14 kB / 476.2 MB, free: 7.934 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.387e-05/0.157, allocations: 23.7 kB / 476.2 MB, free: 7.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.139e-05/0.157, allocations: 21.72 kB / 476.2 MB, free: 7.883 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002437/0.1573, allocations: 330.8 kB / 476.6 MB, free: 7.551 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.737e-05/0.1574, allocations: 23.92 kB / 476.6 MB, free: 7.527 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.571e-05/0.1574, allocations: 38.56 kB / 476.6 MB, free: 7.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001116/0.1576, allocations: 61.7 kB / 476.7 MB, free: 7.414 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1576, allocations: 0 / 476.7 MB, free: 7.414 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001807/0.1577, allocations: 97.58 kB / 476.8 MB, free: 7.312 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.1578, allocations: 8 kB / 476.8 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1578, allocations: 4 kB / 476.8 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.1578, allocations: 0 / 476.8 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.1579, allocations: 19.98 kB / 476.8 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.1579, allocations: 0 / 476.8 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.678e-05/0.158, allocations: 11.88 kB / 476.8 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.158, allocations: 7.938 kB / 476.8 MB, free: 7.262 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 0.0001735/0.1582, allocations: 121.8 kB / 477 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.095e-05/0.1582, allocations: 11.91 kB / 477 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.289e-05/0.1583, allocations: 16.7 kB / 477 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.1583, allocations: 4 kB / 477 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.1583, allocations: 0 / 477 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.1583, allocations: 4.125 kB / 477 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000453/0.1587, allocations: 383.3 kB / 477.4 MB, free: 6.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.1588, allocations: 7.922 kB / 477.4 MB, free: 6.652 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.141e-05/0.1588, allocations: 8 kB / 477.4 MB, free: 6.645 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1588, allocations: 0 / 477.4 MB, free: 6.645 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.1588, allocations: 15.97 kB / 477.4 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.1588, allocations: 0 / 477.4 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1589, allocations: 0 / 477.4 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002207/0.1591, allocations: 204.1 kB / 477.6 MB, free: 6.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.348e-05/0.1591, allocations: 85 kB / 477.7 MB, free: 6.309 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.617e-05/0.1592, allocations: 12.31 kB / 477.7 MB, free: 6.297 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.343e-05/0.1592, allocations: 8 kB / 477.7 MB, free: 6.289 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.957e-05/0.1593, allocations: 3.984 kB / 477.7 MB, free: 6.285 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.1593, allocations: 8 kB / 477.7 MB, free: 6.277 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.216e-05/0.1594, allocations: 117.8 kB / 477.8 MB, free: 6.164 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1594, allocations: 4 kB / 477.8 MB, free: 6.16 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002729/0.1597, allocations: 31.98 kB / 477.9 MB, free: 6.129 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.001111/0.1608, allocations: 0.4909 MB / 478.4 MB, free: 5.832 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000187/0.161, allocations: 63.92 kB / 478.4 MB, free: 5.77 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.161, allocations: 0 / 478.4 MB, free: 5.77 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.636e-05/0.1611, allocations: 27.92 kB / 478.4 MB, free: 5.742 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/0.1614, allocations: 23.98 kB / 478.5 MB, free: 5.719 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004493/0.1619, allocations: 198.9 kB / 478.7 MB, free: 5.492 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003831/0.1623, allocations: 0.7013 MB / 479.4 MB, free: 4.766 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.774e-05/0.1624, allocations: 13.19 kB / 479.4 MB, free: 4.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.081e-05/0.1624, allocations: 23.42 kB / 479.4 MB, free: 4.727 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1624, allocations: 0 / 479.4 MB, free: 4.727 MB / 350.1 MB Notification: Performance of Templates: time 0.005049/0.1675, allocations: 1.955 MB / 481.4 MB, free: 2.789 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches