Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.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.001366/0.001366, allocations: 115.1 kB / 18.46 MB, free: 4.543 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.001448/0.001448, allocations: 215.2 kB / 21.42 MB, free: 1.582 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.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.2541/0.2541, allocations: 46.92 MB / 357.8 MB, free: 10.3 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.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 71.89 kB / 0.4922 GB, free: 7.359 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1447, allocations: 66 MB / 0.5566 GB, free: 5.23 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.003679/0.1483, allocations: 1.729 MB / 0.5583 GB, free: 3.488 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001898/0.1502, allocations: 1.038 MB / 0.5593 GB, free: 2.445 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.1503, allocations: 0 / 0.5593 GB, free: 2.445 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003247/0.1507, allocations: 51.75 kB / 0.5594 GB, free: 2.395 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003736/0.151, allocations: 99.52 kB / 0.5595 GB, free: 2.297 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002537/0.1513, allocations: 75.75 kB / 0.5595 GB, free: 2.223 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000222/0.1515, allocations: 111.6 kB / 0.5596 GB, free: 2.113 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.1516, allocations: 12 kB / 0.5596 GB, free: 2.102 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001197/0.1517, allocations: 43.78 kB / 0.5597 GB, free: 2.059 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.714e-05/0.1518, allocations: 31.84 kB / 0.5597 GB, free: 2.027 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.1518, allocations: 4 kB / 0.5597 GB, free: 2.023 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001193/0.152, allocations: 47.92 kB / 0.5598 GB, free: 1.977 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.406e-05/0.152, allocations: 31.84 kB / 0.5598 GB, free: 1.945 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.73e-05/0.1521, allocations: 31.75 kB / 0.5598 GB, free: 1.914 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002622/0.1524, allocations: 131.4 kB / 0.56 GB, free: 1.785 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.1524, allocations: 4 kB / 0.56 GB, free: 1.781 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1524, allocations: 0 / 0.56 GB, free: 1.781 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.1524, allocations: 3.938 kB / 0.56 GB, free: 1.777 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006541/0.153, allocations: 438.5 kB / 0.5604 GB, free: 1.301 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.1531, allocations: 12.03 kB / 0.5604 GB, free: 1.289 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.584e-05/0.1531, allocations: 16.77 kB / 0.5604 GB, free: 1.273 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003592/0.1535, allocations: 216.9 kB / 0.5606 GB, free: 1.02 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.1535, allocations: 4.375 kB / 0.5606 GB, free: 1.016 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.452e-05/0.1535, allocations: 4.125 kB / 0.5606 GB, free: 1.012 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.1537, allocations: 65.67 kB / 0.5607 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.1537, allocations: 0 / 0.5607 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.1537, allocations: 0 / 0.5607 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.1537, allocations: 0 / 0.5607 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.301e-05/0.1538, allocations: 19.98 kB / 0.5607 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004328/0.1542, allocations: 304.8 kB / 0.561 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000187/0.1544, allocations: 50.69 kB / 0.561 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.746e-05/0.1545, allocations: 20.84 kB / 0.5611 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.1545, allocations: 0 / 0.5611 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001598/0.1547, allocations: 71.33 kB / 0.5611 GB, free: 420 kB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.1547, allocations: 0 / 0.5611 GB, free: 420 kB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005899/0.1553, allocations: 177.3 kB / 0.5613 GB, free: 236 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/0.1553, allocations: 55.41 kB / 0.5614 GB, free: 168 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002728/0.1556, allocations: 238 kB / 0.5616 GB, free: 15.92 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.1556, allocations: 29.7 kB / 0.5616 GB, free: 15.89 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.538e-05/0.1557, allocations: 112.1 kB / 0.5617 GB, free: 15.77 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.492e-05/0.1557, allocations: 23.84 kB / 0.5617 GB, free: 15.75 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.334e-05/0.1558, allocations: 21.72 kB / 0.5618 GB, free: 15.72 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001723/0.1559, allocations: 330.8 kB / 0.5621 GB, free: 15.39 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.713e-05/0.156, allocations: 19.98 kB / 0.5621 GB, free: 15.37 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.244e-05/0.1561, allocations: 37.7 kB / 0.5621 GB, free: 15.33 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001251/0.1562, allocations: 61.64 kB / 0.5622 GB, free: 15.26 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.1562, allocations: 0 / 0.5622 GB, free: 15.26 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002128/0.1564, allocations: 109.6 kB / 0.5623 GB, free: 15.15 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.1564, allocations: 4 kB / 0.5623 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.1564, allocations: 8.031 kB / 0.5623 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.1564, allocations: 0 / 0.5623 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.182e-05/0.1565, allocations: 19.92 kB / 0.5623 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.1565, allocations: 0 / 0.5623 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.987e-05/0.1566, allocations: 8.125 kB / 0.5623 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.789e-06/0.1566, allocations: 7.938 kB / 0.5623 GB, free: 15.1 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001195/0.1567, allocations: 137.5 kB / 0.5625 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.621e-05/0.1567, allocations: 11.91 kB / 0.5625 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.918e-05/0.1568, allocations: 21.39 kB / 0.5625 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.1568, allocations: 4.375 kB / 0.5625 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1568, allocations: 0 / 0.5625 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.1568, allocations: 3.938 kB / 0.5625 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004853/0.1573, allocations: 407.5 kB / 0.5629 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.1573, allocations: 3.984 kB / 0.5629 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.046e-05/0.1573, allocations: 8 kB / 0.5629 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1573, allocations: 0 / 0.5629 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.1574, allocations: 7.938 kB / 0.5629 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.1574, allocations: 7.969 kB / 0.5629 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1574, allocations: 0 / 0.5629 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002837/0.1576, allocations: 200.3 kB / 0.5631 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.197e-05/0.1577, allocations: 93 kB / 0.5632 GB, free: 14.11 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.613e-05/0.1577, allocations: 7.938 kB / 0.5632 GB, free: 14.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.906e-05/0.1578, allocations: 0 / 0.5632 GB, free: 14.1 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.579e-05/0.1578, allocations: 15.98 kB / 0.5632 GB, free: 14.08 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.547e-05/0.1579, allocations: 4 kB / 0.5632 GB, free: 14.08 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001689/0.158, allocations: 168.4 kB / 0.5634 GB, free: 13.91 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.158, allocations: 0 / 0.5634 GB, free: 13.91 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002657/0.1583, allocations: 31.92 kB / 0.5634 GB, free: 13.88 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001748/0.16, allocations: 464.1 kB / 0.5639 GB, free: 13.61 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001978/0.1602, allocations: 55.95 kB / 0.5639 GB, free: 13.55 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1602, allocations: 4 kB / 0.5639 GB, free: 13.55 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.292e-05/0.1603, allocations: 19.94 kB / 0.5639 GB, free: 13.53 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003625/0.1607, allocations: 41.69 kB / 0.564 GB, free: 13.49 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005793/0.1613, allocations: 297 kB / 0.5643 GB, free: 13.16 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003639/0.1616, allocations: 0.7119 MB / 0.565 GB, free: 12.43 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.228e-05/0.1617, allocations: 15.44 kB / 0.565 GB, free: 12.41 MB / 430.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1617, allocations: 0 / 0.565 GB, free: 12.41 MB / 430.1 MB Notification: Performance of Templates: time 0.004572/0.1662, allocations: 2.046 MB / 0.567 GB, free: 10.37 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.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.162380694993772]