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.001053/0.001053, allocations: 93.56 kB / 17 MB, free: 6.129 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.001236/0.001236, allocations: 181.7 kB / 17.89 MB, free: 5.707 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.466/1.466, allocations: 223.3 MB / 241.9 MB, free: 316 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.2206/0.2206, allocations: 44.25 MB / 337.3 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000379/0.000379, allocations: 12 kB / 409.7 MB, free: 27.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1411, allocations: 61.94 MB / 471.6 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.002054/0.1432, allocations: 1.382 MB / 473 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002134/0.1454, allocations: 1.382 MB / 474.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.638e-05/0.1455, allocations: 0 / 474.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002944/0.1458, allocations: 35.83 kB / 474.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001748/0.146, allocations: 47.83 kB / 474.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002513/0.1462, allocations: 87.45 kB / 474.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001473/0.1464, allocations: 83.7 kB / 474.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.555e-05/0.1465, allocations: 16.22 kB / 474.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.365e-05/0.1466, allocations: 43.77 kB / 474.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001347/0.1467, allocations: 27.86 kB / 474.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.1467, allocations: 4 kB / 474.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.1469, allocations: 51.97 kB / 474.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.685e-05/0.1469, allocations: 11.92 kB / 474.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.154e-05/0.1469, allocations: 37.64 kB / 474.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001675/0.1471, allocations: 92.08 kB / 474.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.1471, allocations: 0 / 474.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1471, allocations: 4 kB / 474.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.441e-06/0.1472, allocations: 0 / 474.9 MB, free: 10.35 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.0005309/0.1477, allocations: 395 kB / 475.3 MB, free: 9.914 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.1477, allocations: 8.031 kB / 475.3 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.52e-05/0.1478, allocations: 11.81 kB / 475.3 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002307/0.148, allocations: 201.2 kB / 475.5 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.1481, allocations: 3.953 kB / 475.5 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.895e-05/0.1481, allocations: 4 kB / 475.5 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.1482, allocations: 75.31 kB / 475.6 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.1483, allocations: 0 / 475.6 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.1483, allocations: 4 kB / 475.6 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.1483, allocations: 0 / 475.6 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.069e-05/0.1484, allocations: 15.98 kB / 475.6 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004237/0.1488, allocations: 292.8 kB / 475.9 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001549/0.149, allocations: 62.62 kB / 476 MB, free: 9.141 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.899e-05/0.149, allocations: 20.84 kB / 476 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.149, allocations: 0 / 476 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001779/0.1492, allocations: 67.39 kB / 476 MB, free: 9.039 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.995e-06/0.1492, allocations: 0 / 476 MB, free: 9.039 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005413/0.1498, allocations: 173.2 kB / 476.2 MB, free: 8.863 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.383e-05/0.1499, allocations: 85.11 kB / 476.3 MB, free: 8.762 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.15, allocations: 145.8 kB / 476.4 MB, free: 8.609 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.15, allocations: 33.69 kB / 476.5 MB, free: 8.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.241e-05/0.1501, allocations: 88.14 kB / 476.6 MB, free: 8.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.775e-05/0.1501, allocations: 23.7 kB / 476.6 MB, free: 8.457 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.061e-06/0.1501, allocations: 8 kB / 476.6 MB, free: 8.449 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.1503, allocations: 314.8 kB / 476.9 MB, free: 8.133 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.29e-05/0.1503, allocations: 27.92 kB / 476.9 MB, free: 8.105 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.033e-05/0.1504, allocations: 38.56 kB / 477 MB, free: 8.059 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.254e-05/0.1505, allocations: 31.98 kB / 477 MB, free: 8.027 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1505, allocations: 0 / 477 MB, free: 8.027 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001677/0.1506, allocations: 97.52 kB / 477.1 MB, free: 7.926 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.1507, allocations: 4 kB / 477.1 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.1507, allocations: 4.062 kB / 477.1 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.1507, allocations: 4 kB / 477.1 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.579e-05/0.1508, allocations: 15.98 kB / 477.1 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.1508, allocations: 0 / 477.1 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.004e-05/0.1509, allocations: 11.94 kB / 477.1 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.1509, allocations: 4.141 kB / 477.1 MB, free: 7.883 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 9.567e-05/0.151, allocations: 118.4 kB / 477.2 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.265e-05/0.151, allocations: 23.67 kB / 477.3 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.049e-05/0.151, allocations: 12.72 kB / 477.3 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.1511, allocations: 4 kB / 477.3 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.1511, allocations: 4 kB / 477.3 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.1511, allocations: 0 / 477.3 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000431/0.1515, allocations: 391.3 kB / 477.7 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.1515, allocations: 4 kB / 477.7 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.927e-05/0.1516, allocations: 4 kB / 477.7 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1516, allocations: 4 kB / 477.7 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.1516, allocations: 0 / 477.7 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1516, allocations: 4.031 kB / 477.7 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/0.1516, allocations: 8.328 kB / 477.7 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000228/0.1518, allocations: 196.3 kB / 477.9 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.898e-05/0.1519, allocations: 93 kB / 478 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.388e-05/0.1519, allocations: 8 kB / 478 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.819e-05/0.152, allocations: 7.875 kB / 478 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.975e-05/0.1521, allocations: 15.94 kB / 478 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.056e-05/0.1521, allocations: 8 kB / 478 MB, free: 6.887 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001058/0.1522, allocations: 117.7 kB / 478.1 MB, free: 6.773 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1522, allocations: 0 / 478.1 MB, free: 6.773 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002725/0.1525, allocations: 31.98 kB / 478.2 MB, free: 6.742 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.001228/0.1537, allocations: 0.4929 MB / 478.7 MB, free: 6.445 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001959/0.1539, allocations: 59.91 kB / 478.7 MB, free: 6.387 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1539, allocations: 4.062 kB / 478.7 MB, free: 6.383 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.657e-05/0.154, allocations: 20 kB / 478.7 MB, free: 6.363 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003124/0.1543, allocations: 35.91 kB / 478.8 MB, free: 6.328 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003811/0.1547, allocations: 210.1 kB / 479 MB, free: 6.09 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002548/0.155, allocations: 0.7014 MB / 479.7 MB, free: 5.363 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.158e-05/0.1551, allocations: 17.17 kB / 479.7 MB, free: 5.344 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.199e-05/0.1551, allocations: 19.44 kB / 479.7 MB, free: 5.324 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1551, allocations: 0 / 479.7 MB, free: 5.324 MB / 350.1 MB Notification: Performance of Templates: time 0.0043/0.1594, allocations: 1.844 MB / 481.6 MB, free: 3.488 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","/var/lib/jenkins/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