Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test55.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002134/0.002134, allocations: 112.9 kB / 19.17 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002826/0.002826, allocations: 210.5 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.543/1.543, allocations: 230.2 MB / 255.1 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2348/0.2348, allocations: 46.88 MB / 358.1 MB, free: 10.5 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.Tables.CombiTimeTable.Test55") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002244/0.002244, allocations: 79.86 kB / 0.4924 GB, free: 7.949 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1562, allocations: 65.99 MB / 0.5569 GB, free: 5.832 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.003696/0.1599, allocations: 1.747 MB / 0.5586 GB, free: 4.066 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002709/0.1626, allocations: 1.64 MB / 0.5602 GB, free: 2.418 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.579e-05/0.1627, allocations: 0 / 0.5602 GB, free: 2.418 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003254/0.163, allocations: 35.77 kB / 0.5602 GB, free: 2.383 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003628/0.1634, allocations: 107.5 kB / 0.5603 GB, free: 2.277 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002219/0.1636, allocations: 83.66 kB / 0.5604 GB, free: 2.195 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002021/0.1638, allocations: 103.7 kB / 0.5605 GB, free: 2.094 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.1639, allocations: 11.98 kB / 0.5605 GB, free: 2.082 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.164, allocations: 47.78 kB / 0.5606 GB, free: 2.035 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001816/0.1642, allocations: 43.83 kB / 0.5606 GB, free: 1.992 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.023e-05/0.1642, allocations: 4 kB / 0.5606 GB, free: 1.988 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002113/0.1645, allocations: 115.9 kB / 0.5607 GB, free: 1.875 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.985e-05/0.1645, allocations: 15.92 kB / 0.5607 GB, free: 1.859 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.012e-05/0.1646, allocations: 31.75 kB / 0.5608 GB, free: 1.828 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003403/0.1649, allocations: 175.4 kB / 0.5609 GB, free: 1.656 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.1649, allocations: 0 / 0.5609 GB, free: 1.656 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1649, allocations: 0 / 0.5609 GB, free: 1.656 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.214e-05/0.1649, allocations: 0 / 0.5609 GB, free: 1.656 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.0007667/0.1657, allocations: 438.6 kB / 0.5613 GB, free: 1.18 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.1657, allocations: 8.031 kB / 0.5614 GB, free: 1.172 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.673e-05/0.1658, allocations: 12.84 kB / 0.5614 GB, free: 1.16 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003739/0.1662, allocations: 211.6 kB / 0.5616 GB, free: 0.918 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.041e-05/0.1662, allocations: 8.375 kB / 0.5616 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.613e-05/0.1662, allocations: 8.062 kB / 0.5616 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001983/0.1664, allocations: 71.33 kB / 0.5617 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.1664, allocations: 0 / 0.5617 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.1664, allocations: 0 / 0.5617 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.1665, allocations: 3.984 kB / 0.5617 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.617e-05/0.1665, allocations: 16 kB / 0.5617 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004451/0.167, allocations: 292.9 kB / 0.5619 GB, free: 476 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001887/0.1672, allocations: 58.55 kB / 0.562 GB, free: 408 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.007e-05/0.1672, allocations: 16.86 kB / 0.562 GB, free: 388 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.551e-05/0.1672, allocations: 4 kB / 0.562 GB, free: 384 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001621/0.1674, allocations: 67.39 kB / 0.5621 GB, free: 304 kB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.442e-06/0.1674, allocations: 0 / 0.5621 GB, free: 304 kB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006109/0.168, allocations: 185.3 kB / 0.5623 GB, free: 112 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.908e-05/0.1681, allocations: 77.11 kB / 0.5623 GB, free: 16 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001977/0.1683, allocations: 162.5 kB / 0.5625 GB, free: 15.84 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.1683, allocations: 25.7 kB / 0.5625 GB, free: 15.81 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.505e-05/0.1684, allocations: 100.1 kB / 0.5626 GB, free: 15.71 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.58e-05/0.1684, allocations: 27.8 kB / 0.5626 GB, free: 15.68 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.49e-05/0.1685, allocations: 25.72 kB / 0.5627 GB, free: 15.65 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.1686, allocations: 334.8 kB / 0.563 GB, free: 15.32 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.705e-05/0.1687, allocations: 15.98 kB / 0.563 GB, free: 15.3 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.539e-05/0.1688, allocations: 46.5 kB / 0.563 GB, free: 15.25 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001194/0.1689, allocations: 53.72 kB / 0.5631 GB, free: 15.19 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1689, allocations: 32 / 0.5631 GB, free: 15.19 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002045/0.1691, allocations: 105.6 kB / 0.5632 GB, free: 15.08 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.1691, allocations: 4 kB / 0.5632 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1691, allocations: 0 / 0.5632 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.1691, allocations: 4 kB / 0.5632 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.1692, allocations: 16 kB / 0.5632 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.1692, allocations: 3.984 kB / 0.5632 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.465e-05/0.1693, allocations: 7.938 kB / 0.5632 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.1693, allocations: 0 / 0.5632 GB, free: 15.04 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.0001293/0.1694, allocations: 131.3 kB / 0.5634 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.638e-05/0.1695, allocations: 7.953 kB / 0.5634 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.867e-05/0.1695, allocations: 20.7 kB / 0.5634 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.269e-06/0.1695, allocations: 4 kB / 0.5634 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1695, allocations: 3.938 kB / 0.5634 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.1695, allocations: 7.922 kB / 0.5634 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005167/0.17, allocations: 395.3 kB / 0.5638 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.17, allocations: 0 / 0.5638 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.53e-05/0.1701, allocations: 12.03 kB / 0.5638 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1701, allocations: 0 / 0.5638 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.769e-05/0.1701, allocations: 11.92 kB / 0.5638 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1701, allocations: 192 / 0.5638 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1701, allocations: 0 / 0.5638 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002579/0.1704, allocations: 208.4 kB / 0.564 GB, free: 14.17 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.239e-05/0.1704, allocations: 85.06 kB / 0.5641 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.682e-05/0.1704, allocations: 7.938 kB / 0.5641 GB, free: 14.06 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.216e-05/0.1705, allocations: 12.36 kB / 0.5641 GB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.766e-05/0.1706, allocations: 4 kB / 0.5641 GB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.561e-05/0.1706, allocations: 4 kB / 0.5641 GB, free: 14.04 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001282/0.1707, allocations: 131.9 kB / 0.5642 GB, free: 13.91 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1707, allocations: 0 / 0.5642 GB, free: 13.91 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003111/0.171, allocations: 43.88 kB / 0.5643 GB, free: 13.87 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.001959/0.173, allocations: 0.5395 MB / 0.5648 GB, free: 13.52 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002181/0.1732, allocations: 55.91 kB / 0.5649 GB, free: 13.47 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1732, allocations: 0 / 0.5649 GB, free: 13.47 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.469e-05/0.1733, allocations: 32.08 kB / 0.5649 GB, free: 13.44 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003543/0.1736, allocations: 38.25 kB / 0.5649 GB, free: 13.41 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004948/0.1741, allocations: 224.5 kB / 0.5651 GB, free: 13.15 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003347/0.1745, allocations: 0.7041 MB / 0.5658 GB, free: 12.42 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.813e-05/0.1745, allocations: 23.42 kB / 0.5658 GB, free: 12.4 MB / 430.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1745, allocations: 0 / 0.5658 GB, free: 12.4 MB / 430.1 MB Notification: Performance of Templates: time 0.004885/0.1794, allocations: 2.409 MB / 0.5682 GB, free: 9.992 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test55.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 8.102656787959859]