Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.001864/0.001864, allocations: 116.5 kB / 18.46 MB, free: 4.555 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.002269/0.002269, allocations: 215.3 kB / 21.42 MB, free: 1.598 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.631/1.631, allocations: 230.6 MB / 254.8 MB, free: 15.25 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.2367/0.2367, allocations: 46.91 MB / 357.8 MB, free: 10.33 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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 63.89 kB / 0.4921 GB, free: 7.414 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1371, allocations: 66 MB / 0.5566 GB, free: 5.277 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003357/0.1404, allocations: 1.835 MB / 0.5584 GB, free: 3.43 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002015/0.1424, allocations: 1.109 MB / 0.5595 GB, free: 2.316 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.1426, allocations: 4 kB / 0.5595 GB, free: 2.312 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005947/0.1431, allocations: 307.2 kB / 0.5598 GB, free: 2.012 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000536/0.1437, allocations: 263.2 kB / 0.56 GB, free: 1.754 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002901/0.144, allocations: 99.69 kB / 0.5601 GB, free: 1.656 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003716/0.1443, allocations: 259.2 kB / 0.5604 GB, free: 1.402 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.161e-05/0.1444, allocations: 17.66 kB / 0.5604 GB, free: 1.383 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001874/0.1446, allocations: 135.5 kB / 0.5605 GB, free: 1.25 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002827/0.1449, allocations: 227.5 kB / 0.5607 GB, free: 1.027 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.277e-05/0.1449, allocations: 4 kB / 0.5607 GB, free: 1.023 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001228/0.145, allocations: 47.92 kB / 0.5608 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001551/0.1452, allocations: 139.6 kB / 0.5609 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001675/0.1453, allocations: 146.8 kB / 0.561 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000465/0.1458, allocations: 386.1 kB / 0.5614 GB, free: 324 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1458, allocations: 0 / 0.5614 GB, free: 324 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1458, allocations: 0 / 0.5614 GB, free: 324 kB / 414.1 MB Notification: Performance of Transformations before backend: time 1.087e-05/0.1458, allocations: 8 kB / 0.5614 GB, free: 316 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.001076/0.1469, allocations: 0.7539 MB / 0.5622 GB, free: 15.5 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.1469, allocations: 8.031 kB / 0.5622 GB, free: 15.49 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.375e-05/0.147, allocations: 56.61 kB / 0.5622 GB, free: 15.44 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006802/0.1477, allocations: 456.3 kB / 0.5627 GB, free: 14.95 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.1477, allocations: 8.297 kB / 0.5627 GB, free: 14.95 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.505e-05/0.1478, allocations: 12.06 kB / 0.5627 GB, free: 14.93 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002302/0.148, allocations: 87.36 kB / 0.5628 GB, free: 14.84 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.148, allocations: 0 / 0.5628 GB, free: 14.84 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.148, allocations: 0 / 0.5628 GB, free: 14.84 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.148, allocations: 4 kB / 0.5628 GB, free: 14.83 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.1481, allocations: 31.97 kB / 0.5628 GB, free: 14.8 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004453/0.1486, allocations: 382.3 kB / 0.5632 GB, free: 14.38 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002874/0.1489, allocations: 101.2 kB / 0.5632 GB, free: 14.26 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/0.149, allocations: 41.62 kB / 0.5633 GB, free: 14.21 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.149, allocations: 4 kB / 0.5633 GB, free: 14.21 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002446/0.1492, allocations: 109 kB / 0.5634 GB, free: 14.08 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.322e-06/0.1492, allocations: 0 / 0.5634 GB, free: 14.08 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005351/0.1498, allocations: 197.2 kB / 0.5636 GB, free: 13.88 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.952e-05/0.1499, allocations: 81.09 kB / 0.5637 GB, free: 13.79 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001233/0.1511, allocations: 1.05 MB / 0.5647 GB, free: 12.72 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.1511, allocations: 33.7 kB / 0.5647 GB, free: 12.68 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002071/0.1513, allocations: 236.1 kB / 0.5649 GB, free: 12.45 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.419e-05/0.1514, allocations: 31.73 kB / 0.565 GB, free: 12.42 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.523e-05/0.1514, allocations: 25.72 kB / 0.565 GB, free: 12.39 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002/0.1516, allocations: 374.8 kB / 0.5654 GB, free: 12.01 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.145e-05/0.1517, allocations: 27.98 kB / 0.5654 GB, free: 11.98 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001174/0.1518, allocations: 63.36 kB / 0.5654 GB, free: 11.91 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001919/0.152, allocations: 87.84 kB / 0.5655 GB, free: 11.81 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.152, allocations: 4 kB / 0.5655 GB, free: 11.81 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003291/0.1524, allocations: 173.2 kB / 0.5657 GB, free: 11.63 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.1524, allocations: 7.938 kB / 0.5657 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.1524, allocations: 8.062 kB / 0.5657 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.1524, allocations: 0 / 0.5657 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.1525, allocations: 23.98 kB / 0.5657 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.1525, allocations: 3.938 kB / 0.5657 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.517e-05/0.1526, allocations: 11.92 kB / 0.5657 GB, free: 11.58 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.1526, allocations: 8 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.0002318/0.1529, allocations: 219.9 kB / 0.566 GB, free: 11.35 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.53e-05/0.153, allocations: 59.61 kB / 0.566 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001079/0.1531, allocations: 68.14 kB / 0.5661 GB, free: 11.22 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-06/0.1531, allocations: 3.938 kB / 0.5661 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.1531, allocations: 3.984 kB / 0.5661 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1531, allocations: 0 / 0.5661 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003556/0.1534, allocations: 349.4 kB / 0.5664 GB, free: 10.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1534, allocations: 0 / 0.5664 GB, free: 10.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.671e-05/0.1535, allocations: 4 kB / 0.5664 GB, free: 10.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.1535, allocations: 7.984 kB / 0.5664 GB, free: 10.81 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.1535, allocations: 0 / 0.5664 GB, free: 10.81 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.1535, allocations: 7.938 kB / 0.5664 GB, free: 10.8 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.1535, allocations: 0 / 0.5664 GB, free: 10.8 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003731/0.1539, allocations: 213.5 kB / 0.5667 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001499/0.154, allocations: 136.9 kB / 0.5668 GB, free: 10.42 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.973e-05/0.1541, allocations: 8 kB / 0.5668 GB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.407e-05/0.1541, allocations: 7.984 kB / 0.5668 GB, free: 10.4 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.023e-05/0.1542, allocations: 11.98 kB / 0.5668 GB, free: 10.39 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/0.1542, allocations: 4 kB / 0.5668 GB, free: 10.39 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0009164/0.1551, allocations: 0.7878 MB / 0.5676 GB, free: 9.602 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1551, allocations: 0 / 0.5676 GB, free: 9.602 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002816/0.1554, allocations: 43.94 kB / 0.5676 GB, free: 9.559 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.001582/0.157, allocations: 409.3 kB / 0.568 GB, free: 9.309 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002806/0.1573, allocations: 79.89 kB / 0.5681 GB, free: 9.23 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1573, allocations: 0 / 0.5681 GB, free: 9.23 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000124/0.1574, allocations: 40.42 kB / 0.5681 GB, free: 9.191 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004528/0.1579, allocations: 75.58 kB / 0.5682 GB, free: 9.121 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001409/0.1593, allocations: 0.9301 MB / 0.5691 GB, free: 8.156 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005341/0.1598, allocations: 0.8427 MB / 0.5699 GB, free: 7.285 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.545e-05/0.1599, allocations: 31.44 kB / 0.57 GB, free: 7.258 MB / 430.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1599, allocations: 3.938 kB / 0.57 GB, free: 7.254 MB / 430.1 MB Notification: Performance of Templates: time 0.009263/0.1691, allocations: 5.204 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.Test70.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.284960025019245]