Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001191/0.001197, allocations: 109.4 kB / 18.4 MB, free: 4.695 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.00128/0.00128, allocations: 192 kB / 19.34 MB, free: 3.766 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.528/1.528, allocations: 222.9 MB / 243 MB, free: 15.05 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.263/0.263, allocations: 44.18 MB / 337.4 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001815/0.001816, allocations: 69.89 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1408, allocations: 60.83 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.00389/0.1447, allocations: 1.794 MB / 472.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001659/0.1464, allocations: 0.9549 MB / 473.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.968e-05/0.1465, allocations: 3.938 kB / 473.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005554/0.1471, allocations: 307.3 kB / 473.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003689/0.1475, allocations: 207.4 kB / 474 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004185/0.1479, allocations: 167.5 kB / 474.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000346/0.1483, allocations: 243.4 kB / 474.4 MB, free: 9.965 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.065e-05/0.1483, allocations: 17.53 kB / 474.4 MB, free: 9.945 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001563/0.1485, allocations: 127.5 kB / 474.5 MB, free: 9.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000236/0.1487, allocations: 195.5 kB / 474.7 MB, free: 9.629 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.674e-05/0.1488, allocations: 8 kB / 474.7 MB, free: 9.621 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.1489, allocations: 43.98 kB / 474.8 MB, free: 9.578 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001385/0.149, allocations: 131.6 kB / 474.9 MB, free: 9.449 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001389/0.1492, allocations: 146.8 kB / 475 MB, free: 9.305 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003697/0.1496, allocations: 366.7 kB / 475.4 MB, free: 8.945 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1496, allocations: 0 / 475.4 MB, free: 8.945 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1496, allocations: 4 kB / 475.4 MB, free: 8.941 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.398e-06/0.1496, allocations: 0 / 475.4 MB, free: 8.941 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009703/0.1506, allocations: 0.7297 MB / 476.1 MB, free: 8.164 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.1506, allocations: 8.031 kB / 476.1 MB, free: 8.156 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.784e-05/0.1507, allocations: 48.28 kB / 476.2 MB, free: 8.109 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006381/0.1513, allocations: 455.8 kB / 476.6 MB, free: 7.621 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.1514, allocations: 384 / 476.6 MB, free: 7.621 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.958e-05/0.1514, allocations: 8.125 kB / 476.6 MB, free: 7.613 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002041/0.1516, allocations: 87.36 kB / 476.7 MB, free: 7.516 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.1516, allocations: 0 / 476.7 MB, free: 7.516 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.1516, allocations: 0 / 476.7 MB, free: 7.516 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.1517, allocations: 7.938 kB / 476.7 MB, free: 7.508 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001055/0.1518, allocations: 31.92 kB / 476.8 MB, free: 7.477 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000427/0.1522, allocations: 378.4 kB / 477.1 MB, free: 7.055 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002481/0.1525, allocations: 109.2 kB / 477.2 MB, free: 6.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.523e-05/0.1526, allocations: 41.64 kB / 477.3 MB, free: 6.883 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/0.1526, allocations: 4 kB / 477.3 MB, free: 6.879 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002144/0.1528, allocations: 113 kB / 477.4 MB, free: 6.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.273e-06/0.1528, allocations: 4 kB / 477.4 MB, free: 6.746 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004603/0.1533, allocations: 193 kB / 477.6 MB, free: 6.551 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.341e-05/0.1534, allocations: 81.11 kB / 477.7 MB, free: 6.453 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001069/0.1544, allocations: 1.038 MB / 478.7 MB, free: 5.406 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.1545, allocations: 33.7 kB / 478.7 MB, free: 5.367 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000165/0.1546, allocations: 232.1 kB / 479 MB, free: 5.137 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.642e-05/0.1547, allocations: 31.55 kB / 479 MB, free: 5.105 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.601e-05/0.1547, allocations: 33.7 kB / 479 MB, free: 5.066 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.1549, allocations: 362.8 kB / 479.4 MB, free: 4.703 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.147e-05/0.155, allocations: 27.98 kB / 479.4 MB, free: 4.676 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.265e-05/0.1551, allocations: 62.8 kB / 479.5 MB, free: 4.605 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002193/0.1553, allocations: 91.34 kB / 479.5 MB, free: 4.504 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1554, allocations: 0 / 479.5 MB, free: 4.504 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002975/0.1557, allocations: 161.5 kB / 479.7 MB, free: 4.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.1557, allocations: 8.062 kB / 479.7 MB, free: 4.332 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/0.1557, allocations: 11.92 kB / 479.7 MB, free: 4.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.1557, allocations: 0 / 479.7 MB, free: 4.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.1558, allocations: 24 kB / 479.8 MB, free: 4.297 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.1559, allocations: 7.984 kB / 479.8 MB, free: 4.289 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.477e-05/0.156, allocations: 11.91 kB / 479.8 MB, free: 4.277 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.156, allocations: 4 kB / 479.8 MB, free: 4.273 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.000229/0.1562, allocations: 225.6 kB / 480 MB, free: 4.043 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.663e-05/0.1563, allocations: 51.34 kB / 480 MB, free: 3.992 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.498e-05/0.1564, allocations: 64 kB / 480.1 MB, free: 3.926 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.1564, allocations: 4 kB / 480.1 MB, free: 3.922 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.1564, allocations: 0 / 480.1 MB, free: 3.922 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.1564, allocations: 0 / 480.1 MB, free: 3.922 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003692/0.1568, allocations: 341.4 kB / 480.4 MB, free: 3.539 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.1568, allocations: 0 / 480.4 MB, free: 3.539 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.305e-05/0.1568, allocations: 11.88 kB / 480.5 MB, free: 3.527 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.1568, allocations: 4 kB / 480.5 MB, free: 3.523 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.1568, allocations: 0 / 480.5 MB, free: 3.523 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.1569, allocations: 7.984 kB / 480.5 MB, free: 3.516 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1569, allocations: 4 kB / 480.5 MB, free: 3.512 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003123/0.1572, allocations: 197.2 kB / 480.7 MB, free: 3.297 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001705/0.1574, allocations: 140.5 kB / 480.8 MB, free: 3.141 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.142e-05/0.1574, allocations: 0 / 480.8 MB, free: 3.141 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.895e-05/0.1575, allocations: 7.984 kB / 480.8 MB, free: 3.133 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.787e-05/0.1575, allocations: 12 kB / 480.8 MB, free: 3.121 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.911e-05/0.1576, allocations: 7.984 kB / 480.8 MB, free: 3.113 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007804/0.1584, allocations: 0.7682 MB / 481.6 MB, free: 2.348 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1584, allocations: 0 / 481.6 MB, free: 2.348 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002619/0.1586, allocations: 43.98 kB / 481.6 MB, free: 2.305 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.0009547/0.1596, allocations: 421 kB / 482.1 MB, free: 2.047 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002474/0.1598, allocations: 79.84 kB / 482.1 MB, free: 1.969 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1599, allocations: 4.125 kB / 482.1 MB, free: 1.965 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.16, allocations: 39.98 kB / 482.2 MB, free: 1.926 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000412/0.1604, allocations: 75.14 kB / 482.2 MB, free: 1.855 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/0.1616, allocations: 0.8743 MB / 483.1 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004808/0.1621, allocations: 0.8427 MB / 484 MB, free: 84 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001021/0.1622, allocations: 59.45 kB / 484 MB, free: 28 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.058e-05/0.1623, allocations: 31.47 kB / 484.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1623, allocations: 0 / 484.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of Templates: time 0.0085/0.1708, allocations: 3.702 MB / 487.8 MB, free: 12.31 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches