Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.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.001906/0.001906, allocations: 115 kB / 18.46 MB, free: 4.621 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.00251/0.00251, allocations: 207.3 kB / 21.41 MB, free: 1.668 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.537/1.537, 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.2537/0.2537, allocations: 46.93 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.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001858/0.001858, allocations: 71.91 kB / 0.4922 GB, free: 7.395 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1418, allocations: 65.98 MB / 0.5566 GB, free: 5.277 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003547/0.1454, allocations: 1.931 MB / 0.5585 GB, free: 3.332 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002029/0.1474, allocations: 1.134 MB / 0.5596 GB, free: 2.191 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.957e-05/0.1475, allocations: 3.938 kB / 0.5596 GB, free: 2.188 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005757/0.1481, allocations: 259.3 kB / 0.5599 GB, free: 1.934 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005104/0.1486, allocations: 231.2 kB / 0.5601 GB, free: 1.707 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003001/0.1489, allocations: 115.6 kB / 0.5602 GB, free: 1.594 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003634/0.1493, allocations: 275.2 kB / 0.5604 GB, free: 1.324 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.1494, allocations: 17.69 kB / 0.5605 GB, free: 1.305 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002061/0.1496, allocations: 143.5 kB / 0.5606 GB, free: 1.164 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002574/0.1499, allocations: 207.3 kB / 0.5608 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.662e-05/0.1499, allocations: 12 kB / 0.5608 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001592/0.15, allocations: 67.95 kB / 0.5609 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001107/0.1502, allocations: 67.7 kB / 0.5609 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.903e-05/0.1503, allocations: 91.23 kB / 0.561 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003779/0.1506, allocations: 258.8 kB / 0.5613 GB, free: 484 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1506, allocations: 0 / 0.5613 GB, free: 484 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1506, allocations: 0 / 0.5613 GB, free: 484 kB / 414.1 MB Notification: Performance of Transformations before backend: time 6.211e-06/0.1506, allocations: 3.938 kB / 0.5613 GB, free: 480 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008751/0.1515, allocations: 0.5949 MB / 0.5619 GB, free: 15.82 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.1516, allocations: 16.03 kB / 0.5619 GB, free: 15.81 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.425e-05/0.1516, allocations: 28.75 kB / 0.5619 GB, free: 15.78 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004425/0.1521, allocations: 302.6 kB / 0.5622 GB, free: 15.45 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.1521, allocations: 384 / 0.5622 GB, free: 15.45 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.227e-05/0.1521, allocations: 16.12 kB / 0.5622 GB, free: 15.43 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002467/0.1524, allocations: 108.9 kB / 0.5623 GB, free: 15.32 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.1524, allocations: 0 / 0.5623 GB, free: 15.32 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.1524, allocations: 4 kB / 0.5623 GB, free: 15.31 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.1524, allocations: 4 kB / 0.5623 GB, free: 15.31 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001426/0.1525, allocations: 51.89 kB / 0.5624 GB, free: 15.26 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006352/0.1532, allocations: 480.7 kB / 0.5628 GB, free: 14.73 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003972/0.1536, allocations: 121.2 kB / 0.5629 GB, free: 14.6 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.1537, allocations: 41.81 kB / 0.563 GB, free: 14.55 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/0.1537, allocations: 0 / 0.563 GB, free: 14.55 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003055/0.154, allocations: 133 kB / 0.5631 GB, free: 14.4 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.252e-06/0.154, allocations: 0 / 0.5631 GB, free: 14.4 MB / 430.1 MB Notification: Performance of matching and sorting (n=22): time 0.001398/0.1554, allocations: 0.5164 MB / 0.5636 GB, free: 13.88 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.171e-05/0.1555, allocations: 77.11 kB / 0.5637 GB, free: 13.79 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005546/0.156, allocations: 0.4899 MB / 0.5642 GB, free: 13.28 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.978e-05/0.1561, allocations: 33.7 kB / 0.5642 GB, free: 13.24 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000142/0.1562, allocations: 172.4 kB / 0.5644 GB, free: 13.07 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.372e-05/0.1563, allocations: 75.41 kB / 0.5644 GB, free: 12.99 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.313e-05/0.1564, allocations: 41.7 kB / 0.5645 GB, free: 12.95 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001866/0.1565, allocations: 346.8 kB / 0.5648 GB, free: 12.6 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001313/0.1567, allocations: 55.97 kB / 0.5649 GB, free: 12.54 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001713/0.1568, allocations: 109.4 kB / 0.565 GB, free: 12.43 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002832/0.1571, allocations: 155.5 kB / 0.5651 GB, free: 12.26 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1571, allocations: 0 / 0.5651 GB, free: 12.26 MB / 430.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004369/0.1576, allocations: 237.3 kB / 0.5653 GB, free: 12.02 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.1576, allocations: 13.8 kB / 0.5653 GB, free: 12.01 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.1576, allocations: 0 / 0.5653 GB, free: 12.01 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.1576, allocations: 8.062 kB / 0.5654 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001754/0.1578, allocations: 43.86 kB / 0.5654 GB, free: 11.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.1578, allocations: 4 kB / 0.5654 GB, free: 11.96 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.598e-05/0.1579, allocations: 11.98 kB / 0.5654 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.658e-05/0.1579, allocations: 8 kB / 0.5654 GB, free: 11.94 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.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001835/0.1581, allocations: 173.8 kB / 0.5656 GB, free: 11.76 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.72e-05/0.1582, allocations: 39.7 kB / 0.5656 GB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.056e-05/0.1582, allocations: 38.89 kB / 0.5657 GB, free: 11.68 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.1582, allocations: 8 kB / 0.5657 GB, free: 11.67 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.1583, allocations: 0 / 0.5657 GB, free: 11.67 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.1583, allocations: 3.984 kB / 0.5657 GB, free: 11.67 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001032/0.1593, allocations: 0.735 MB / 0.5664 GB, free: 10.86 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.1593, allocations: 4.125 kB / 0.5664 GB, free: 10.86 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.459e-05/0.1594, allocations: 31.98 kB / 0.5664 GB, free: 10.83 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.1594, allocations: 0 / 0.5664 GB, free: 10.83 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/0.1594, allocations: 11.94 kB / 0.5664 GB, free: 10.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.1594, allocations: 4 kB / 0.5664 GB, free: 10.81 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.1594, allocations: 3.938 kB / 0.5664 GB, free: 10.81 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005334/0.16, allocations: 427.2 kB / 0.5669 GB, free: 10.36 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.357e-05/0.16, allocations: 104.9 kB / 0.567 GB, free: 10.24 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.127e-05/0.1601, allocations: 11.98 kB / 0.567 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001469/0.1602, allocations: 16 kB / 0.567 GB, free: 10.21 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.055e-05/0.1603, allocations: 23.84 kB / 0.567 GB, free: 10.19 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.812e-05/0.1603, allocations: 16 kB / 0.567 GB, free: 10.18 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004227/0.1607, allocations: 375.1 kB / 0.5674 GB, free: 9.812 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1607, allocations: 0 / 0.5674 GB, free: 9.812 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000374/0.1611, allocations: 47.92 kB / 0.5674 GB, free: 9.766 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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.002037/0.1632, allocations: 0.513 MB / 0.5679 GB, free: 9.457 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003872/0.1635, allocations: 153.8 kB / 0.5681 GB, free: 9.309 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1635, allocations: 8.062 kB / 0.5681 GB, free: 9.301 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001635/0.1637, allocations: 67.91 kB / 0.5681 GB, free: 9.234 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006053/0.1643, allocations: 66.83 kB / 0.5682 GB, free: 9.176 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001092/0.1654, allocations: 0.6425 MB / 0.5688 GB, free: 8.48 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004832/0.1659, allocations: 0.787 MB / 0.5696 GB, free: 7.668 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.757e-05/0.166, allocations: 31.42 kB / 0.5696 GB, free: 7.637 MB / 430.1 MB Notification: Performance of SimCode: time 4.01e-07/0.166, allocations: 0 / 0.5696 GB, free: 7.637 MB / 430.1 MB Notification: Performance of Templates: time 0.007111/0.1731, allocations: 3.894 MB / 0.5734 GB, free: 3.754 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.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.363807129004272]