Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001721/0.001721, allocations: 114.1 kB / 18.45 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002234/0.002234, allocations: 208.3 kB / 21.41 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.485/1.485, allocations: 230.6 MB / 254.8 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2802/0.2802, allocations: 46.92 MB / 357.8 MB, free: 10.31 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 71.89 kB / 0.4921 GB, free: 7.391 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1365, allocations: 65.99 MB / 0.5566 GB, free: 5.266 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003673/0.1401, allocations: 1.831 MB / 0.5584 GB, free: 3.422 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002011/0.1421, allocations: 1.116 MB / 0.5595 GB, free: 2.301 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.059e-05/0.1422, allocations: 4 kB / 0.5595 GB, free: 2.297 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005193/0.1427, allocations: 311.2 kB / 0.5598 GB, free: 1.992 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004684/0.1432, allocations: 255.2 kB / 0.56 GB, free: 1.742 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002357/0.1435, allocations: 107.7 kB / 0.5601 GB, free: 1.637 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003479/0.1438, allocations: 267.2 kB / 0.5604 GB, free: 1.375 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.499e-05/0.1439, allocations: 5.688 kB / 0.5604 GB, free: 1.367 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001864/0.144, allocations: 139.5 kB / 0.5605 GB, free: 1.23 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002686/0.1443, allocations: 215.5 kB / 0.5607 GB, free: 1.02 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.745e-05/0.1443, allocations: 8 kB / 0.5607 GB, free: 1.012 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001102/0.1444, allocations: 51.91 kB / 0.5608 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001607/0.1446, allocations: 139.6 kB / 0.5609 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001544/0.1448, allocations: 146.8 kB / 0.561 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004661/0.1452, allocations: 386.2 kB / 0.5614 GB, free: 308 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.1452, allocations: 3.938 kB / 0.5614 GB, free: 304 kB / 414.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1452, allocations: 0 / 0.5614 GB, free: 304 kB / 414.1 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.1452, allocations: 0 / 0.5614 GB, free: 304 kB / 414.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.001096/0.1463, allocations: 0.7577 MB / 0.5621 GB, free: 15.49 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.1464, allocations: 8.031 kB / 0.5622 GB, free: 15.48 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.201e-05/0.1465, allocations: 56.61 kB / 0.5622 GB, free: 15.43 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000656/0.1471, allocations: 460.3 kB / 0.5626 GB, free: 14.93 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.1471, allocations: 8.359 kB / 0.5627 GB, free: 14.93 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.657e-05/0.1472, allocations: 4.125 kB / 0.5627 GB, free: 14.92 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002194/0.1474, allocations: 83.31 kB / 0.5627 GB, free: 14.83 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.1474, allocations: 4 kB / 0.5627 GB, free: 14.82 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.1474, allocations: 3.984 kB / 0.5627 GB, free: 14.82 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.1474, allocations: 4 kB / 0.5627 GB, free: 14.82 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001139/0.1475, allocations: 27.98 kB / 0.5628 GB, free: 14.79 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004425/0.148, allocations: 382.3 kB / 0.5631 GB, free: 14.36 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002854/0.1482, allocations: 101.2 kB / 0.5632 GB, free: 14.25 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.1484, allocations: 41.64 kB / 0.5633 GB, free: 14.2 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.256e-05/0.1484, allocations: 0 / 0.5633 GB, free: 14.2 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002355/0.1486, allocations: 109 kB / 0.5634 GB, free: 14.07 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.072e-06/0.1486, allocations: 4 kB / 0.5634 GB, free: 14.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005281/0.1491, allocations: 205.2 kB / 0.5636 GB, free: 13.86 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.775e-05/0.1492, allocations: 81.11 kB / 0.5637 GB, free: 13.77 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001219/0.1504, allocations: 1.046 MB / 0.5647 GB, free: 12.71 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/0.1504, allocations: 29.7 kB / 0.5647 GB, free: 12.67 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002082/0.1506, allocations: 236.1 kB / 0.5649 GB, free: 12.44 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.042e-05/0.1507, allocations: 35.72 kB / 0.565 GB, free: 12.4 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.794e-05/0.1507, allocations: 37.7 kB / 0.565 GB, free: 12.36 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001927/0.1509, allocations: 366.8 kB / 0.5653 GB, free: 11.99 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.403e-05/0.151, allocations: 27.98 kB / 0.5654 GB, free: 11.96 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001062/0.1511, allocations: 55.36 kB / 0.5654 GB, free: 11.9 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002097/0.1513, allocations: 95.91 kB / 0.5655 GB, free: 11.79 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1513, allocations: 3.938 kB / 0.5655 GB, free: 11.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003288/0.1517, allocations: 169.2 kB / 0.5657 GB, free: 11.62 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.1517, allocations: 13.66 kB / 0.5657 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.1517, allocations: 0 / 0.5657 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.1517, allocations: 3.984 kB / 0.5657 GB, free: 11.6 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.1518, allocations: 24 kB / 0.5657 GB, free: 11.58 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.1518, allocations: 3.938 kB / 0.5657 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.956e-05/0.1519, allocations: 15.98 kB / 0.5657 GB, free: 11.56 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.152, allocations: 4 kB / 0.5657 GB, free: 11.55 MB / 430.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.0002361/0.1522, allocations: 227.9 kB / 0.566 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.255e-05/0.1523, allocations: 55.62 kB / 0.566 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.217e-05/0.1524, allocations: 64.12 kB / 0.5661 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.1524, allocations: 0 / 0.5661 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.1524, allocations: 4 kB / 0.5661 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1524, allocations: 0 / 0.5661 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003544/0.1527, allocations: 349.4 kB / 0.5664 GB, free: 10.81 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1527, allocations: 0 / 0.5664 GB, free: 10.81 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.052e-05/0.1528, allocations: 11.98 kB / 0.5664 GB, free: 10.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.1528, allocations: 0 / 0.5664 GB, free: 10.8 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.1528, allocations: 4 kB / 0.5664 GB, free: 10.79 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.1528, allocations: 4.062 kB / 0.5664 GB, free: 10.79 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.1528, allocations: 4 kB / 0.5664 GB, free: 10.79 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003709/0.1532, allocations: 217.4 kB / 0.5666 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001535/0.1533, allocations: 132.8 kB / 0.5668 GB, free: 10.4 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.73e-05/0.1534, allocations: 7.984 kB / 0.5668 GB, free: 10.39 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.352e-05/0.1534, allocations: 4.094 kB / 0.5668 GB, free: 10.39 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.48e-05/0.1535, allocations: 15.92 kB / 0.5668 GB, free: 10.38 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.807e-05/0.1535, allocations: 4 kB / 0.5668 GB, free: 10.37 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0009/0.1544, allocations: 0.78 MB / 0.5676 GB, free: 9.594 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1544, allocations: 0 / 0.5676 GB, free: 9.594 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003017/0.1547, allocations: 51.92 kB / 0.5676 GB, free: 9.543 MB / 430.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.001581/0.1563, allocations: 413.9 kB / 0.568 GB, free: 9.289 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002677/0.1566, allocations: 79.91 kB / 0.5681 GB, free: 9.211 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1566, allocations: 0 / 0.5681 GB, free: 9.211 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001088/0.1567, allocations: 35.92 kB / 0.5681 GB, free: 9.176 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004567/0.1571, allocations: 77.5 kB / 0.5682 GB, free: 9.105 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001515/0.1586, allocations: 0.9302 MB / 0.5691 GB, free: 8.141 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005856/0.1592, allocations: 0.8466 MB / 0.5699 GB, free: 7.266 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.212e-05/0.1593, allocations: 31.44 kB / 0.57 GB, free: 7.238 MB / 430.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1593, allocations: 0 / 0.57 GB, free: 7.238 MB / 430.1 MB Notification: Performance of Templates: time 0.009593/0.1689, allocations: 5.197 MB / 0.575 GB, free: 2.047 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.293202942004427]