Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.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.002135/0.002135, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.002348/0.002348, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.591/1.591, allocations: 230.6 MB / 254.1 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.2389/0.2389, allocations: 46.92 MB / 357.1 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.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002205/0.002205, allocations: 67.91 kB / 0.4915 GB, free: 7.383 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1492, allocations: 66 MB / 0.5559 GB, free: 5.254 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.00341/0.1526, allocations: 1.733 MB / 0.5576 GB, free: 3.508 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002885/0.1555, allocations: 1.645 MB / 0.5592 GB, free: 1.855 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.422e-05/0.1556, allocations: 4 kB / 0.5592 GB, free: 1.852 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003308/0.1559, allocations: 39.77 kB / 0.5593 GB, free: 1.812 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003792/0.1563, allocations: 103.5 kB / 0.5594 GB, free: 1.711 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002217/0.1565, allocations: 79.66 kB / 0.5595 GB, free: 1.633 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002037/0.1567, allocations: 107.7 kB / 0.5596 GB, free: 1.527 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.1568, allocations: 11.94 kB / 0.5596 GB, free: 1.516 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.1569, allocations: 47.77 kB / 0.5596 GB, free: 1.469 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001665/0.1571, allocations: 43.83 kB / 0.5597 GB, free: 1.426 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.026e-05/0.1571, allocations: 4 kB / 0.5597 GB, free: 1.422 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002079/0.1573, allocations: 111.9 kB / 0.5598 GB, free: 1.312 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.333e-05/0.1574, allocations: 19.91 kB / 0.5598 GB, free: 1.293 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.446e-05/0.1574, allocations: 35.75 kB / 0.5598 GB, free: 1.258 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003178/0.1578, allocations: 175.4 kB / 0.56 GB, free: 1.086 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1578, allocations: 0 / 0.56 GB, free: 1.086 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1578, allocations: 0 / 0.56 GB, free: 1.086 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.1578, allocations: 0 / 0.56 GB, free: 1.086 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.0006699/0.1584, allocations: 430.6 kB / 0.5604 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.1585, allocations: 15.97 kB / 0.5604 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.738e-05/0.1585, allocations: 12.84 kB / 0.5604 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003291/0.1589, allocations: 216.7 kB / 0.5606 GB, free: 348 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.1589, allocations: 3.938 kB / 0.5606 GB, free: 344 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.258e-05/0.1589, allocations: 4 kB / 0.5606 GB, free: 340 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001929/0.1591, allocations: 63.39 kB / 0.5607 GB, free: 264 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.1591, allocations: 0 / 0.5607 GB, free: 264 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.1591, allocations: 7.938 kB / 0.5607 GB, free: 256 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.1591, allocations: 0 / 0.5607 GB, free: 256 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.967e-05/0.1592, allocations: 19.98 kB / 0.5607 GB, free: 236 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004353/0.1596, allocations: 292.9 kB / 0.561 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001864/0.1598, allocations: 46.69 kB / 0.5611 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.17e-05/0.1599, allocations: 24.78 kB / 0.5611 GB, free: 15.81 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.1599, allocations: 3.984 kB / 0.5611 GB, free: 15.81 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001675/0.1601, allocations: 71.39 kB / 0.5611 GB, free: 15.73 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.1601, allocations: 0 / 0.5611 GB, free: 15.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006278/0.1607, allocations: 177.3 kB / 0.5613 GB, free: 15.55 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.77e-05/0.1608, allocations: 81.05 kB / 0.5614 GB, free: 15.45 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002095/0.161, allocations: 165.5 kB / 0.5616 GB, free: 15.28 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.548e-05/0.161, allocations: 33.7 kB / 0.5616 GB, free: 15.24 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.943e-05/0.1611, allocations: 96.12 kB / 0.5617 GB, free: 15.14 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.93e-05/0.1611, allocations: 35.67 kB / 0.5617 GB, free: 15.11 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.327e-05/0.1612, allocations: 25.7 kB / 0.5617 GB, free: 15.07 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001789/0.1614, allocations: 326.8 kB / 0.562 GB, free: 14.75 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.024e-05/0.1614, allocations: 16.38 kB / 0.5621 GB, free: 14.73 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.907e-05/0.1615, allocations: 38.56 kB / 0.5621 GB, free: 14.68 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001375/0.1616, allocations: 65.64 kB / 0.5622 GB, free: 14.61 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.1616, allocations: 8.031 kB / 0.5622 GB, free: 14.61 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002074/0.1619, allocations: 97.56 kB / 0.5623 GB, free: 14.5 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.1619, allocations: 8 kB / 0.5623 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.1619, allocations: 0 / 0.5623 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.1619, allocations: 0 / 0.5623 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.162, allocations: 16 kB / 0.5623 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/0.162, allocations: 7.938 kB / 0.5623 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.381e-05/0.1621, allocations: 7.922 kB / 0.5623 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.1621, allocations: 4 kB / 0.5623 GB, free: 14.46 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.0001406/0.1622, allocations: 128.1 kB / 0.5624 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.82e-05/0.1622, allocations: 7.953 kB / 0.5624 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.206e-05/0.1623, allocations: 20.64 kB / 0.5625 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.1623, allocations: 0 / 0.5625 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.1623, allocations: 3.938 kB / 0.5625 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.1623, allocations: 0 / 0.5625 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005723/0.1629, allocations: 399.3 kB / 0.5628 GB, free: 13.85 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.1629, allocations: 4.031 kB / 0.5628 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.796e-05/0.1629, allocations: 11.94 kB / 0.5629 GB, free: 13.83 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.1629, allocations: 0 / 0.5629 GB, free: 13.83 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.1629, allocations: 0 / 0.5629 GB, free: 13.83 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.684e-06/0.1629, allocations: 7.984 kB / 0.5629 GB, free: 13.82 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1629, allocations: 0 / 0.5629 GB, free: 13.82 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002927/0.1632, allocations: 196.3 kB / 0.563 GB, free: 13.61 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.708e-05/0.1633, allocations: 89 kB / 0.5631 GB, free: 13.51 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.113e-05/0.1633, allocations: 4 kB / 0.5631 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.984e-05/0.1634, allocations: 7.984 kB / 0.5631 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.125e-05/0.1635, allocations: 11.92 kB / 0.5632 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.946e-05/0.1635, allocations: 4 kB / 0.5632 GB, free: 13.48 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001439/0.1636, allocations: 123.2 kB / 0.5633 GB, free: 13.36 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1636, allocations: 0 / 0.5633 GB, free: 13.36 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003366/0.164, allocations: 48.05 kB / 0.5633 GB, free: 13.31 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.00208/0.166, allocations: 0.5562 MB / 0.5639 GB, free: 12.97 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002192/0.1663, allocations: 55.91 kB / 0.5639 GB, free: 12.91 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.1663, allocations: 0 / 0.5639 GB, free: 12.91 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.902e-05/0.1663, allocations: 27.98 kB / 0.5639 GB, free: 12.89 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003603/0.1667, allocations: 32.05 kB / 0.564 GB, free: 12.86 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000491/0.1672, allocations: 203.1 kB / 0.5642 GB, free: 12.63 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003688/0.1676, allocations: 0.6924 MB / 0.5648 GB, free: 11.91 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.192e-05/0.1676, allocations: 24.86 kB / 0.5649 GB, free: 11.88 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.637e-05/0.1677, allocations: 23.42 kB / 0.5649 GB, free: 11.86 MB / 430.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1677, allocations: 0 / 0.5649 GB, free: 11.86 MB / 430.1 MB Notification: Performance of Templates: time 0.006213/0.1739, allocations: 2.369 MB / 0.5672 GB, free: 9.504 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.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: 5.56202857196331]