Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.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.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88") translateModel(ModelicaTest.Tables.CombiTimeTable.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001145/0.001145, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.348/1.348, allocations: 222.9 MB / 242.2 MB, free: 15.21 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.2292/0.2292, allocations: 44.18 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 65.61 kB / 408.4 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.129, allocations: 60.83 MB / 469.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.004008/0.133, allocations: 2.217 MB / 471.5 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001985/0.135, allocations: 1.189 MB / 472.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001388/0.1352, allocations: 7.938 kB / 472.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005272/0.1357, allocations: 123.4 kB / 472.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004399/0.1362, allocations: 175.1 kB / 473 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007366/0.1369, allocations: 325.2 kB / 473.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004828/0.1374, allocations: 418.8 kB / 473.7 MB, free: 9.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001889/0.1376, allocations: 60.66 kB / 473.8 MB, free: 9.844 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003479/0.138, allocations: 259.1 kB / 474 MB, free: 9.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002283/0.1382, allocations: 151.2 kB / 474.2 MB, free: 9.441 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.625e-05/0.1383, allocations: 20 kB / 474.2 MB, free: 9.422 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001824/0.1385, allocations: 67.97 kB / 474.2 MB, free: 9.355 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000153/0.1386, allocations: 123.6 kB / 474.4 MB, free: 9.234 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001846/0.1388, allocations: 186.6 kB / 474.6 MB, free: 9.051 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004557/0.1393, allocations: 414.6 kB / 475 MB, free: 8.645 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.1393, allocations: 0 / 475 MB, free: 8.645 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.917e-06/0.1393, allocations: 4 kB / 475 MB, free: 8.641 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.1393, allocations: 0 / 475 MB, free: 8.641 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.00117/0.1405, allocations: 0.7973 MB / 475.8 MB, free: 7.793 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.1406, allocations: 12.02 kB / 475.8 MB, free: 7.781 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.512e-05/0.1407, allocations: 56.28 kB / 475.8 MB, free: 7.727 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004733/0.1411, allocations: 399.7 kB / 476.2 MB, free: 7.293 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.1412, allocations: 16.36 kB / 476.2 MB, free: 7.277 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.154e-05/0.1412, allocations: 16.12 kB / 476.2 MB, free: 7.262 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003807/0.1416, allocations: 192.9 kB / 476.4 MB, free: 7.055 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.943e-05/0.1416, allocations: 7.906 kB / 476.4 MB, free: 7.047 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.957e-05/0.1417, allocations: 4 kB / 476.4 MB, free: 7.043 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.1417, allocations: 4 kB / 476.4 MB, free: 7.039 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003459/0.142, allocations: 99.84 kB / 476.5 MB, free: 6.941 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001059/0.1431, allocations: 0.7859 MB / 477.3 MB, free: 6.094 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006185/0.1437, allocations: 250.5 kB / 477.6 MB, free: 5.812 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001835/0.1439, allocations: 91.45 kB / 477.7 MB, free: 5.711 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.349e-05/0.1439, allocations: 4 kB / 477.7 MB, free: 5.707 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004865/0.1444, allocations: 206.3 kB / 477.9 MB, free: 5.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.482e-06/0.1445, allocations: 0 / 477.9 MB, free: 5.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.002447/0.1469, allocations: 1.083 MB / 479 MB, free: 4.387 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.981e-05/0.147, allocations: 140.5 kB / 479.1 MB, free: 4.219 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007667/0.1478, allocations: 0.7489 MB / 479.8 MB, free: 3.461 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.518e-05/0.1478, allocations: 37.7 kB / 479.9 MB, free: 3.418 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001867/0.148, allocations: 244.9 kB / 480.1 MB, free: 3.176 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000122/0.1481, allocations: 138.1 kB / 480.3 MB, free: 3.039 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.642e-05/0.1483, allocations: 74.12 kB / 480.3 MB, free: 2.961 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.1484, allocations: 374.8 kB / 480.7 MB, free: 2.586 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002135/0.1486, allocations: 108.8 kB / 480.8 MB, free: 2.477 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002638/0.1489, allocations: 187.2 kB / 481 MB, free: 2.273 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004856/0.1494, allocations: 323 kB / 481.3 MB, free: 1.934 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1494, allocations: 0 / 481.3 MB, free: 1.934 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006913/0.1501, allocations: 436.5 kB / 481.7 MB, free: 1.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.1501, allocations: 4 kB / 481.7 MB, free: 1.496 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.1502, allocations: 7.938 kB / 481.7 MB, free: 1.488 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.1502, allocations: 4 kB / 481.7 MB, free: 1.484 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002866/0.1505, allocations: 87.89 kB / 481.8 MB, free: 1.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.1505, allocations: 12.06 kB / 481.8 MB, free: 1.387 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001363/0.1506, allocations: 19.94 kB / 481.9 MB, free: 1.367 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.641e-05/0.1507, allocations: 19.98 kB / 481.9 MB, free: 1.348 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002373/0.1509, allocations: 228 kB / 482.1 MB, free: 1.113 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.377e-05/0.151, allocations: 63.25 kB / 482.2 MB, free: 1.051 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001264/0.1511, allocations: 77.38 kB / 482.2 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.1511, allocations: 4 kB / 482.2 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/0.1512, allocations: 8 kB / 482.2 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.1512, allocations: 11.92 kB / 482.3 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001518/0.1527, allocations: 1.299 MB / 483.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.1527, allocations: 4 kB / 483.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001401/0.1529, allocations: 59.91 kB / 483.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.1529, allocations: 4 kB / 483.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.841e-05/0.1529, allocations: 19.98 kB / 483.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.1529, allocations: 8.25 kB / 483.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.1529, allocations: 8.312 kB / 483.7 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008005/0.1537, allocations: 0.7772 MB / 484.4 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001467/0.1539, allocations: 164.3 kB / 484.6 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.337e-05/0.154, allocations: 19.98 kB / 484.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002451/0.1542, allocations: 19.98 kB / 484.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.266e-05/0.1543, allocations: 39.91 kB / 484.7 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.619e-05/0.1544, allocations: 23.98 kB / 484.7 MB, free: 14.37 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005347/0.1549, allocations: 0.5495 MB / 485.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1549, allocations: 4 kB / 485.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004762/0.1554, allocations: 80 kB / 485.3 MB, free: 13.74 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001173/0.1566, allocations: 0.5285 MB / 485.9 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006231/0.1572, allocations: 335.5 kB / 486.2 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1572, allocations: 0 / 486.2 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002678/0.1575, allocations: 168.5 kB / 486.3 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008753/0.1584, allocations: 135 kB / 486.5 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001433/0.1598, allocations: 1.027 MB / 487.5 MB, free: 11.71 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004611/0.1603, allocations: 0.8743 MB / 488.4 MB, free: 10.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001993/0.1605, allocations: 79.23 kB / 488.5 MB, free: 10.74 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.1606, allocations: 55.41 kB / 488.5 MB, free: 10.68 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1606, allocations: 4 kB / 488.5 MB, free: 10.68 MB / 366.1 MB Notification: Performance of Templates: time 0.0104/0.171, allocations: 5.314 MB / 493.8 MB, free: 5.418 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches