Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.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.Test79,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.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,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.Test79") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 93.89 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.001924/0.001924, allocations: 172.2 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.39/1.39, allocations: 223.3 MB / 242.3 MB, free: 14.49 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.2136/0.2136, allocations: 44.24 MB / 337.7 MB, free: 2.461 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000328/0.000328, allocations: 8 kB / 410.3 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1251, allocations: 61.93 MB / 472.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.002367/0.1276, allocations: 1.585 MB / 473.9 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001614/0.1292, allocations: 0.9513 MB / 474.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.915e-05/0.1293, allocations: 11.88 kB / 474.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004218/0.1297, allocations: 207.6 kB / 475 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002966/0.13, allocations: 159.5 kB / 475.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003933/0.1305, allocations: 162.4 kB / 475.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002624/0.1307, allocations: 231.3 kB / 475.6 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.1309, allocations: 29.66 kB / 475.6 MB, free: 10 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001329/0.131, allocations: 103.5 kB / 475.7 MB, free: 9.898 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001712/0.1312, allocations: 147.5 kB / 475.8 MB, free: 9.754 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.228e-05/0.1312, allocations: 4 kB / 475.8 MB, free: 9.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001161/0.1313, allocations: 55.98 kB / 475.9 MB, free: 9.695 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.76e-05/0.1314, allocations: 59.81 kB / 476 MB, free: 9.637 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.638e-05/0.1315, allocations: 109 kB / 476.1 MB, free: 9.523 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002505/0.1318, allocations: 223.4 kB / 476.3 MB, free: 9.305 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.1318, allocations: 3.938 kB / 476.3 MB, free: 9.301 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.1318, allocations: 0 / 476.3 MB, free: 9.301 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.1318, allocations: 0 / 476.3 MB, free: 9.301 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.0006542/0.1325, allocations: 0.5121 MB / 476.8 MB, free: 8.742 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.1325, allocations: 16.02 kB / 476.8 MB, free: 8.727 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.368e-05/0.1326, allocations: 24.66 kB / 476.8 MB, free: 8.703 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002904/0.1329, allocations: 280.1 kB / 477.1 MB, free: 8.395 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.1329, allocations: 4.375 kB / 477.1 MB, free: 8.391 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.963e-05/0.1329, allocations: 16.03 kB / 477.1 MB, free: 8.375 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002304/0.1332, allocations: 106 kB / 477.2 MB, free: 8.262 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.1332, allocations: 4 kB / 477.2 MB, free: 8.258 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.701e-05/0.1332, allocations: 7.984 kB / 477.2 MB, free: 8.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.1332, allocations: 7.938 kB / 477.2 MB, free: 8.242 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001263/0.1334, allocations: 47.91 kB / 477.3 MB, free: 8.195 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005358/0.1339, allocations: 472.8 kB / 477.8 MB, free: 7.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000344/0.1343, allocations: 125.2 kB / 477.9 MB, free: 7.539 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001092/0.1344, allocations: 45.83 kB / 477.9 MB, free: 7.488 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.1344, allocations: 0 / 477.9 MB, free: 7.488 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002605/0.1347, allocations: 121 kB / 478 MB, free: 7.352 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.252e-06/0.1347, allocations: 0 / 478 MB, free: 7.352 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001203/0.1359, allocations: 492.1 kB / 478.5 MB, free: 6.863 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.927e-05/0.136, allocations: 85.11 kB / 478.6 MB, free: 6.762 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003957/0.1364, allocations: 432.5 kB / 479 MB, free: 6.324 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.1364, allocations: 33.7 kB / 479.1 MB, free: 6.285 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.742e-05/0.1365, allocations: 156.5 kB / 479.2 MB, free: 6.129 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.905e-05/0.1366, allocations: 75.02 kB / 479.3 MB, free: 6.055 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-05/0.1366, allocations: 21.72 kB / 479.3 MB, free: 6.027 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.1367, allocations: 346.8 kB / 479.6 MB, free: 5.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.1369, allocations: 55.97 kB / 479.7 MB, free: 5.625 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.137, allocations: 95.28 kB / 479.8 MB, free: 5.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00025/0.1373, allocations: 155.4 kB / 479.9 MB, free: 5.355 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.1373, allocations: 4 kB / 479.9 MB, free: 5.352 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003647/0.1377, allocations: 233.3 kB / 480.2 MB, free: 5.117 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.1377, allocations: 10.44 kB / 480.2 MB, free: 5.109 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.1377, allocations: 64 / 480.2 MB, free: 5.109 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.1377, allocations: 8 kB / 480.2 MB, free: 5.102 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001492/0.1379, allocations: 43.92 kB / 480.2 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.1379, allocations: 3.984 kB / 480.2 MB, free: 5.055 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.186e-05/0.138, allocations: 15.94 kB / 480.3 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/0.138, allocations: 12 kB / 480.3 MB, free: 5.027 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 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001532/0.1382, allocations: 174.2 kB / 480.4 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.113e-05/0.1382, allocations: 31.56 kB / 480.5 MB, free: 4.816 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.487e-05/0.1383, allocations: 42.62 kB / 480.5 MB, free: 4.773 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.1383, allocations: 4 kB / 480.5 MB, free: 4.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.1383, allocations: 3.938 kB / 480.5 MB, free: 4.766 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-06/0.1383, allocations: 3.984 kB / 480.5 MB, free: 4.762 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009121/0.1393, allocations: 0.7272 MB / 481.3 MB, free: 3.965 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.491e-06/0.1393, allocations: 4 kB / 481.3 MB, free: 3.961 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.832e-05/0.1394, allocations: 23.98 kB / 481.3 MB, free: 3.938 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-06/0.1394, allocations: 4 kB / 481.3 MB, free: 3.934 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/0.1394, allocations: 8 kB / 481.3 MB, free: 3.926 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.7e-06/0.1394, allocations: 7.938 kB / 481.3 MB, free: 3.918 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.1394, allocations: 0 / 481.3 MB, free: 3.918 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000426/0.1398, allocations: 425.8 kB / 481.7 MB, free: 3.473 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.015e-05/0.1399, allocations: 104.7 kB / 481.8 MB, free: 3.352 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.776e-05/0.14, allocations: 8.188 kB / 481.8 MB, free: 3.344 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.1401, allocations: 11.98 kB / 481.8 MB, free: 3.332 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.802e-05/0.1402, allocations: 31.86 kB / 481.9 MB, free: 3.301 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.437e-05/0.1402, allocations: 11.98 kB / 481.9 MB, free: 3.289 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002809/0.1405, allocations: 315 kB / 482.2 MB, free: 2.984 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1405, allocations: 0 / 482.2 MB, free: 2.984 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003428/0.1408, allocations: 51.98 kB / 482.2 MB, free: 2.934 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 (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.001278/0.1421, allocations: 0.5164 MB / 482.8 MB, free: 2.621 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003138/0.1425, allocations: 159.8 kB / 482.9 MB, free: 2.465 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1425, allocations: 0 / 482.9 MB, free: 2.465 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001475/0.1426, allocations: 83.84 kB / 483 MB, free: 2.383 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005711/0.1432, allocations: 60.98 kB / 483.1 MB, free: 2.316 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008561/0.1441, allocations: 0.6133 MB / 483.7 MB, free: 1.66 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003366/0.1444, allocations: 0.7745 MB / 484.4 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001089/0.1445, allocations: 37.94 kB / 484.5 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.609e-05/0.1446, allocations: 31.42 kB / 484.5 MB, free: 0.793 MB / 350.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1446, allocations: 0 / 484.5 MB, free: 0.793 MB / 350.1 MB Notification: Performance of Templates: time 0.00632/0.1509, allocations: 2.942 MB / 487.4 MB, free: 13.89 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches