Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.0017/0.0017, allocations: 115.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.001864/0.001864, allocations: 207.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.563/1.563, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.2971/0.2971, allocations: 46.92 MB / 357.8 MB, free: 10.32 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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002055/0.002055, allocations: 71.89 kB / 0.4921 GB, free: 7.406 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1378, allocations: 65.99 MB / 0.5566 GB, free: 5.285 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003731/0.1416, allocations: 1.833 MB / 0.5584 GB, free: 3.438 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002251/0.1438, allocations: 1.109 MB / 0.5595 GB, free: 2.324 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001534/0.144, allocations: 7.938 kB / 0.5595 GB, free: 2.316 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007226/0.1447, allocations: 311.3 kB / 0.5598 GB, free: 2.012 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007255/0.1454, allocations: 255.2 kB / 0.56 GB, free: 1.762 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003993/0.1458, allocations: 103.7 kB / 0.5601 GB, free: 1.66 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004671/0.1463, allocations: 267.2 kB / 0.5604 GB, free: 1.398 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.676e-05/0.1464, allocations: 9.688 kB / 0.5604 GB, free: 1.387 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002623/0.1466, allocations: 135.5 kB / 0.5605 GB, free: 1.254 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003085/0.1469, allocations: 223.4 kB / 0.5607 GB, free: 1.035 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.766e-05/0.147, allocations: 8 kB / 0.5607 GB, free: 1.027 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001348/0.1471, allocations: 43.98 kB / 0.5608 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001622/0.1473, allocations: 143.6 kB / 0.5609 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001889/0.1474, allocations: 154.7 kB / 0.561 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005346/0.148, allocations: 378.2 kB / 0.5614 GB, free: 328 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.711e-05/0.148, allocations: 8 kB / 0.5614 GB, free: 320 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.148, allocations: 0 / 0.5614 GB, free: 320 kB / 414.1 MB Notification: Performance of Transformations before backend: time 1.333e-05/0.148, allocations: 0 / 0.5614 GB, free: 320 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.001256/0.1493, allocations: 0.7539 MB / 0.5621 GB, free: 15.5 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.1493, allocations: 12.03 kB / 0.5622 GB, free: 15.49 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001256/0.1494, allocations: 52.61 kB / 0.5622 GB, free: 15.44 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007682/0.1502, allocations: 464.2 kB / 0.5626 GB, free: 14.95 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.1502, allocations: 4.375 kB / 0.5627 GB, free: 14.95 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.1502, allocations: 8.125 kB / 0.5627 GB, free: 14.94 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002418/0.1505, allocations: 83.36 kB / 0.5627 GB, free: 14.84 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.1505, allocations: 3.984 kB / 0.5627 GB, free: 14.84 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/0.1505, allocations: 8 kB / 0.5628 GB, free: 14.83 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.1505, allocations: 0 / 0.5628 GB, free: 14.83 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001227/0.1506, allocations: 31.92 kB / 0.5628 GB, free: 14.8 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004939/0.1511, allocations: 382.3 kB / 0.5631 GB, free: 14.38 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003115/0.1514, allocations: 105.2 kB / 0.5632 GB, free: 14.25 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001161/0.1516, allocations: 41.64 kB / 0.5633 GB, free: 14.21 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.1516, allocations: 0 / 0.5633 GB, free: 14.21 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000244/0.1518, allocations: 109 kB / 0.5634 GB, free: 14.08 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.303e-06/0.1518, allocations: 4 kB / 0.5634 GB, free: 14.08 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005734/0.1524, allocations: 197.7 kB / 0.5636 GB, free: 13.88 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.848e-05/0.1525, allocations: 81.05 kB / 0.5637 GB, free: 13.78 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001276/0.1538, allocations: 1.05 MB / 0.5647 GB, free: 12.72 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.772e-05/0.1538, allocations: 33.69 kB / 0.5647 GB, free: 12.68 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002005/0.154, allocations: 232.1 kB / 0.5649 GB, free: 12.45 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.577e-05/0.154, allocations: 31.73 kB / 0.565 GB, free: 12.42 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.405e-05/0.1541, allocations: 37.7 kB / 0.565 GB, free: 12.38 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002009/0.1543, allocations: 366.8 kB / 0.5654 GB, free: 12.01 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.51e-05/0.1544, allocations: 28.11 kB / 0.5654 GB, free: 11.98 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.1545, allocations: 59.41 kB / 0.5654 GB, free: 11.91 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001972/0.1547, allocations: 91.36 kB / 0.5655 GB, free: 11.81 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.1547, allocations: 0 / 0.5655 GB, free: 11.81 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003611/0.1551, allocations: 173.1 kB / 0.5657 GB, free: 11.63 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/0.1551, allocations: 11.98 kB / 0.5657 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1551, allocations: 3.938 kB / 0.5657 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.1551, allocations: 0 / 0.5657 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.1553, allocations: 27.94 kB / 0.5657 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.1553, allocations: 8.047 kB / 0.5657 GB, free: 11.58 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/0.1554, allocations: 7.938 kB / 0.5657 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.1554, allocations: 4 kB / 0.5658 GB, free: 11.57 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.0002499/0.1557, allocations: 227.9 kB / 0.566 GB, free: 11.34 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.106e-05/0.1557, allocations: 55.62 kB / 0.566 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001003/0.1558, allocations: 60.14 kB / 0.5661 GB, free: 11.22 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.1558, allocations: 0 / 0.5661 GB, free: 11.22 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.1558, allocations: 3.938 kB / 0.5661 GB, free: 11.22 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.1559, allocations: 4 kB / 0.5661 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003534/0.1562, allocations: 353.4 kB / 0.5664 GB, free: 10.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.319e-06/0.1562, allocations: 4.125 kB / 0.5664 GB, free: 10.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.354e-05/0.1563, allocations: 11.98 kB / 0.5664 GB, free: 10.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.1563, allocations: 0 / 0.5664 GB, free: 10.8 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.1563, allocations: 0 / 0.5664 GB, free: 10.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.1563, allocations: 4 kB / 0.5664 GB, free: 10.8 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1563, allocations: 0 / 0.5664 GB, free: 10.8 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003799/0.1567, allocations: 217.4 kB / 0.5667 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001503/0.1568, allocations: 136.8 kB / 0.5668 GB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.818e-05/0.1569, allocations: 4 kB / 0.5668 GB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.538e-05/0.1569, allocations: 4 kB / 0.5668 GB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.74e-05/0.157, allocations: 11.98 kB / 0.5668 GB, free: 10.39 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.762e-05/0.157, allocations: 4 kB / 0.5668 GB, free: 10.39 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0009309/0.1579, allocations: 0.78 MB / 0.5676 GB, free: 9.613 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1579, allocations: 0 / 0.5676 GB, free: 9.613 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002917/0.1582, allocations: 47.92 kB / 0.5676 GB, free: 9.566 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.00157/0.1598, allocations: 429.5 kB / 0.568 GB, free: 9.297 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002777/0.1601, allocations: 75.91 kB / 0.5681 GB, free: 9.223 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1601, allocations: 0 / 0.5681 GB, free: 9.223 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001136/0.1602, allocations: 35.95 kB / 0.5681 GB, free: 9.188 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004569/0.1606, allocations: 69.03 kB / 0.5682 GB, free: 9.125 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001516/0.1622, allocations: 0.934 MB / 0.5691 GB, free: 8.156 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000556/0.1627, allocations: 0.8466 MB / 0.5699 GB, free: 7.281 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.087e-05/0.1628, allocations: 31.42 kB / 0.57 GB, free: 7.254 MB / 430.1 MB Notification: Performance of SimCode: time 1.062e-06/0.1628, allocations: 0 / 0.57 GB, free: 7.254 MB / 430.1 MB Notification: Performance of Templates: time 0.009918/0.1727, allocations: 5.202 MB / 0.575 GB, free: 2.059 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.358704854996176]