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.001065/0.001065, allocations: 94 kB / 17 MB, free: 6.07 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.001129/0.001129, allocations: 178.5 kB / 17.89 MB, free: 5.668 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.597/1.597, 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.2436/0.2436, allocations: 44.25 MB / 337.3 MB, free: 2.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003315/0.0003318, allocations: 8 kB / 409.7 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1364, allocations: 61.94 MB / 471.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.002604/0.139, allocations: 1.842 MB / 473.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001821/0.1409, allocations: 1.115 MB / 474.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001185/0.141, allocations: 7.938 kB / 474.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003574/0.1414, allocations: 103.6 kB / 474.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003282/0.1417, allocations: 151.4 kB / 474.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005781/0.1423, allocations: 289.4 kB / 475.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003921/0.1427, allocations: 362.8 kB / 475.5 MB, free: 9.848 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.1428, allocations: 48.91 kB / 475.5 MB, free: 9.793 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002667/0.1431, allocations: 215.1 kB / 475.7 MB, free: 9.582 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001456/0.1433, allocations: 139.3 kB / 475.9 MB, free: 9.445 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.955e-05/0.1433, allocations: 8 kB / 475.9 MB, free: 9.438 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001248/0.1434, allocations: 51.92 kB / 475.9 MB, free: 9.387 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001146/0.1436, allocations: 123.5 kB / 476 MB, free: 9.266 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.219e-05/0.1437, allocations: 89.45 kB / 476.1 MB, free: 9.172 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003097/0.144, allocations: 295.7 kB / 476.4 MB, free: 8.883 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.144, allocations: 0 / 476.4 MB, free: 8.883 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.144, allocations: 0 / 476.4 MB, free: 8.883 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.144, allocations: 0 / 476.4 MB, free: 8.883 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.0009159/0.1449, allocations: 0.7275 MB / 477.1 MB, free: 8.105 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.145, allocations: 8.031 kB / 477.2 MB, free: 8.098 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.128e-05/0.1451, allocations: 63.25 kB / 477.2 MB, free: 8.035 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004805/0.1455, allocations: 378.9 kB / 477.6 MB, free: 7.625 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/0.1456, allocations: 15.98 kB / 477.6 MB, free: 7.609 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.333e-05/0.1456, allocations: 15.95 kB / 477.6 MB, free: 7.594 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003396/0.146, allocations: 197.4 kB / 477.8 MB, free: 7.383 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.146, allocations: 0 / 477.8 MB, free: 7.383 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.041e-05/0.146, allocations: 12 kB / 477.8 MB, free: 7.371 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-06/0.146, allocations: 3.984 kB / 477.8 MB, free: 7.367 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002097/0.1462, allocations: 95.86 kB / 477.9 MB, free: 7.273 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008328/0.1471, allocations: 0.7937 MB / 478.7 MB, free: 6.418 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005716/0.1477, allocations: 250.4 kB / 479 MB, free: 6.137 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000158/0.1478, allocations: 87.53 kB / 479 MB, free: 6.039 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.72e-05/0.1479, allocations: 4 kB / 479 MB, free: 6.035 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003836/0.1483, allocations: 212.5 kB / 479.3 MB, free: 5.801 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.753e-06/0.1483, allocations: 0 / 479.3 MB, free: 5.801 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.002205/0.1505, allocations: 1.079 MB / 480.3 MB, free: 4.711 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.805e-05/0.1506, allocations: 140.5 kB / 480.5 MB, free: 4.543 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007742/0.1514, allocations: 0.7413 MB / 481.2 MB, free: 3.793 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.84e-05/0.1514, allocations: 41.69 kB / 481.3 MB, free: 3.746 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001693/0.1516, allocations: 240.9 kB / 481.5 MB, free: 3.508 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001169/0.1517, allocations: 146.1 kB / 481.6 MB, free: 3.363 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.565e-05/0.1517, allocations: 4 kB / 481.6 MB, free: 3.359 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.1519, allocations: 374.7 kB / 482 MB, free: 2.984 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002145/0.1521, allocations: 116.8 kB / 482.1 MB, free: 2.871 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002447/0.1524, allocations: 175.2 kB / 482.3 MB, free: 2.676 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002554/0.1526, allocations: 140 kB / 482.4 MB, free: 2.539 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1527, allocations: 0 / 482.4 MB, free: 2.539 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006807/0.1533, allocations: 428.8 kB / 482.8 MB, free: 2.113 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.1534, allocations: 8 kB / 482.8 MB, free: 2.105 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.1534, allocations: 4 kB / 482.9 MB, free: 2.102 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.1534, allocations: 4 kB / 482.9 MB, free: 2.098 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002715/0.1537, allocations: 91.77 kB / 482.9 MB, free: 2.008 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.1537, allocations: 4 kB / 482.9 MB, free: 2.004 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000136/0.1538, allocations: 27.92 kB / 483 MB, free: 1.977 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.703e-05/0.1539, allocations: 20 kB / 483 MB, free: 1.957 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 ($whenCondition4,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition3,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$whenCondition2,$PRE.t_new_3.nextTimeEvent,t_new_3.nextTimeEvent,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEventScaled,$whenCondition1,$PRE.t_new_4.nextTimeEvent,t_new_4.nextTimeEvent,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002501/0.1541, allocations: 235.9 kB / 483.2 MB, free: 1.719 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.108e-05/0.1542, allocations: 59.25 kB / 483.3 MB, free: 1.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000128/0.1543, allocations: 80.48 kB / 483.4 MB, free: 1.582 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.261e-06/0.1544, allocations: 4 kB / 483.4 MB, free: 1.578 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.1544, allocations: 0 / 483.4 MB, free: 1.578 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.1544, allocations: 4 kB / 483.4 MB, free: 1.574 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001548/0.1559, allocations: 1.303 MB / 484.7 MB, free: 192 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.1559, allocations: 4 kB / 484.7 MB, free: 188 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001573/0.1561, allocations: 67.86 kB / 484.7 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.1561, allocations: 4 kB / 484.7 MB, free: 116 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.617e-05/0.1562, allocations: 12 kB / 484.8 MB, free: 104 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.7e-06/0.1562, allocations: 7.938 kB / 484.8 MB, free: 96 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.1562, allocations: 7.984 kB / 484.8 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008396/0.157, allocations: 0.7739 MB / 485.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001792/0.1572, allocations: 180.3 kB / 485.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.274e-05/0.1573, allocations: 15.95 kB / 485.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002646/0.1575, allocations: 23.98 kB / 485.8 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.042e-05/0.1576, allocations: 39.89 kB / 485.8 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.811e-05/0.1577, allocations: 23.98 kB / 485.8 MB, free: 14.97 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005597/0.1583, allocations: 0.5457 MB / 486.4 MB, free: 14.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1583, allocations: 0 / 486.4 MB, free: 14.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004883/0.1588, allocations: 83.98 kB / 486.5 MB, free: 14.34 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 (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.00122/0.16, allocations: 0.5215 MB / 487 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000566/0.1606, allocations: 315.6 kB / 487.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1606, allocations: 0 / 487.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002893/0.1609, allocations: 159.7 kB / 487.4 MB, free: 13.56 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008765/0.1618, allocations: 113.7 kB / 487.5 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001546/0.1633, allocations: 1.136 MB / 488.7 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004646/0.1638, allocations: 0.8777 MB / 489.6 MB, free: 11.35 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002057/0.164, allocations: 79.23 kB / 489.6 MB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.1641, allocations: 55.41 kB / 489.7 MB, free: 11.22 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1641, allocations: 0 / 489.7 MB, free: 11.22 MB / 366.1 MB Notification: Performance of Templates: time 0.009257/0.1734, allocations: 4.827 MB / 494.5 MB, free: 6.445 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