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.001473/0.001474, allocations: 103.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.001572/0.001572, allocations: 192 kB / 19.34 MB, free: 3.637 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.476/1.476, allocations: 222.9 MB / 243 MB, free: 15.14 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.2475/0.2475, allocations: 44.18 MB / 337.4 MB, free: 2.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001222, allocations: 75.33 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1387, allocations: 60.82 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.003288/0.142, allocations: 2.227 MB / 472.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001684/0.1437, allocations: 1.189 MB / 474.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.1438, allocations: 7.938 kB / 474.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003263/0.1442, allocations: 127.3 kB / 474.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003307/0.1445, allocations: 179.1 kB / 474.4 MB, free: 9.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005765/0.1451, allocations: 314.7 kB / 474.8 MB, free: 9.609 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004/0.1455, allocations: 426.7 kB / 475.2 MB, free: 9.191 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.1456, allocations: 56.73 kB / 475.2 MB, free: 9.129 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002658/0.1459, allocations: 259.2 kB / 475.5 MB, free: 8.875 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001503/0.1461, allocations: 147.2 kB / 475.6 MB, free: 8.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.476e-05/0.1461, allocations: 16 kB / 475.6 MB, free: 8.715 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001311/0.1463, allocations: 71.97 kB / 475.7 MB, free: 8.645 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001158/0.1464, allocations: 127.5 kB / 475.8 MB, free: 8.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001398/0.1465, allocations: 186.5 kB / 476 MB, free: 8.336 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003678/0.1469, allocations: 422.3 kB / 476.4 MB, free: 7.922 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1469, allocations: 0 / 476.4 MB, free: 7.922 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1469, allocations: 0 / 476.4 MB, free: 7.922 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.1469, allocations: 4 kB / 476.4 MB, free: 7.918 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.0009305/0.1479, allocations: 0.7973 MB / 477.2 MB, free: 7.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.103e-05/0.1479, allocations: 8.031 kB / 477.2 MB, free: 7.062 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.778e-05/0.148, allocations: 52.28 kB / 477.3 MB, free: 7.012 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004628/0.1485, allocations: 407.7 kB / 477.7 MB, free: 6.562 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.1485, allocations: 16.36 kB / 477.7 MB, free: 6.547 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.49e-05/0.1485, allocations: 24.12 kB / 477.7 MB, free: 6.523 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003225/0.1489, allocations: 192.9 kB / 477.9 MB, free: 6.316 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.1489, allocations: 7.844 kB / 477.9 MB, free: 6.309 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.913e-05/0.1489, allocations: 8 kB / 477.9 MB, free: 6.301 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.1489, allocations: 4 kB / 477.9 MB, free: 6.297 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002134/0.1491, allocations: 91.86 kB / 478 MB, free: 6.207 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007705/0.1499, allocations: 0.7897 MB / 478.8 MB, free: 5.355 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005694/0.1505, allocations: 246.5 kB / 479.1 MB, free: 5.078 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001646/0.1507, allocations: 91.52 kB / 479.1 MB, free: 4.977 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.758e-05/0.1507, allocations: 8.219 kB / 479.1 MB, free: 4.969 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003157/0.151, allocations: 202.2 kB / 479.3 MB, free: 4.746 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 2.705e-06/0.151, allocations: 4 kB / 479.4 MB, free: 4.742 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.002171/0.1532, allocations: 1.091 MB / 480.4 MB, free: 3.641 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.833e-05/0.1533, allocations: 140.5 kB / 480.6 MB, free: 3.473 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000704/0.154, allocations: 0.7568 MB / 481.3 MB, free: 2.707 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.797e-05/0.1541, allocations: 37.7 kB / 481.4 MB, free: 2.664 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/0.1542, allocations: 232.9 kB / 481.6 MB, free: 2.434 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.543e-05/0.1543, allocations: 142.1 kB / 481.7 MB, free: 2.293 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.067e-05/0.1544, allocations: 78.12 kB / 481.8 MB, free: 2.211 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.1546, allocations: 370.8 kB / 482.2 MB, free: 1.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002179/0.1548, allocations: 112.8 kB / 482.3 MB, free: 1.727 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002422/0.1551, allocations: 187.2 kB / 482.5 MB, free: 1.523 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004884/0.1556, allocations: 319 kB / 482.8 MB, free: 1.188 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.1556, allocations: 4 kB / 482.8 MB, free: 1.184 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006512/0.1562, allocations: 428.9 kB / 483.2 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.1562, allocations: 8 kB / 483.2 MB, free: 0.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1563, allocations: 128 / 483.2 MB, free: 0.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.1563, allocations: 8 kB / 483.2 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002387/0.1565, allocations: 95.83 kB / 483.3 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.1565, allocations: 0 / 483.3 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000131/0.1567, allocations: 15.94 kB / 483.3 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.352e-05/0.1567, allocations: 23.98 kB / 483.4 MB, free: 0.6094 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.0001992/0.1569, allocations: 228 kB / 483.6 MB, free: 384 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.815e-05/0.157, allocations: 59.25 kB / 483.6 MB, free: 324 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001133/0.1571, allocations: 84.5 kB / 483.7 MB, free: 240 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.1571, allocations: 4 kB / 483.7 MB, free: 236 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.1571, allocations: 0 / 483.7 MB, free: 236 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.004e-06/0.1571, allocations: 11.92 kB / 483.7 MB, free: 224 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001444/0.1586, allocations: 1.302 MB / 485 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.1586, allocations: 0 / 485 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001418/0.1588, allocations: 63.91 kB / 485.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.1588, allocations: 4 kB / 485.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.336e-05/0.1588, allocations: 19.98 kB / 485.1 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.1588, allocations: 4.25 kB / 485.1 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.1588, allocations: 11.94 kB / 485.1 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000769/0.1596, allocations: 0.7734 MB / 485.9 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001643/0.1598, allocations: 172.3 kB / 486.1 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.091e-05/0.1598, allocations: 15.98 kB / 486.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002542/0.1601, allocations: 23.98 kB / 486.1 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.425e-05/0.1602, allocations: 31.91 kB / 486.1 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.344e-05/0.1602, allocations: 23.98 kB / 486.2 MB, free: 13.63 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000576/0.1608, allocations: 0.5496 MB / 486.7 MB, free: 13.08 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1608, allocations: 0 / 486.7 MB, free: 13.08 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004707/0.1613, allocations: 84 kB / 486.8 MB, free: 13 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.00118/0.1625, allocations: 0.5275 MB / 487.3 MB, free: 12.67 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005558/0.163, allocations: 323.5 kB / 487.6 MB, free: 12.36 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.163, allocations: 3.938 kB / 487.6 MB, free: 12.35 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002698/0.1633, allocations: 168.4 kB / 487.8 MB, free: 12.19 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000838/0.1642, allocations: 128.2 kB / 487.9 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/0.1655, allocations: 1.011 MB / 489 MB, free: 11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004455/0.166, allocations: 0.8782 MB / 489.8 MB, free: 10.09 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000181/0.1662, allocations: 79.23 kB / 489.9 MB, free: 10.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.1663, allocations: 51.42 kB / 490 MB, free: 9.965 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1663, allocations: 4 kB / 490 MB, free: 9.961 MB / 366.1 MB Notification: Performance of Templates: time 0.0106/0.1769, allocations: 5.313 MB / 495.3 MB, free: 4.699 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.csv","/var/lib/jenkins1/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