Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.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.000839/0.000839, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.004227/0.004227, allocations: 153.4 kB / 24.7 MB, free: 8.898 MB / 18.57 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 0.8856/0.8856, allocations: 177 MB / 204.9 MB, free: 5.781 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2556/0.2556, allocations: 34.24 MB / 295.6 MB, free: 0.6719 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 443.5 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.212e-05/2.402e-05, allocations: 9.031 kB / 443.5 MB, free: 0.9648 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.1669/0.1669, allocations: 1.705 MB / 445.2 MB, free: 43.65 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001438/0.1683, allocations: 1.685 MB / 446.9 MB, free: 42.69 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.514e-05/0.1684, allocations: 0 / 446.9 MB, free: 42.69 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002427/0.1686, allocations: 35.53 kB / 446.9 MB, free: 42.67 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002502/0.1689, allocations: 106.5 kB / 447 MB, free: 42.61 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001124/0.169, allocations: 77.2 kB / 447.1 MB, free: 42.57 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001193/0.1691, allocations: 108.9 kB / 447.2 MB, free: 42.52 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.941e-05/0.1692, allocations: 2.938 kB / 447.2 MB, free: 42.52 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.918e-05/0.1693, allocations: 66.31 kB / 447.3 MB, free: 42.49 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.444e-05/0.1693, allocations: 36.36 kB / 447.3 MB, free: 42.48 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.1694, allocations: 7.969 kB / 447.3 MB, free: 42.48 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001085/0.1695, allocations: 101.9 kB / 447.4 MB, free: 42.45 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.519e-05/0.1695, allocations: 25.12 kB / 447.5 MB, free: 42.43 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.132e-05/0.1695, allocations: 20.16 kB / 447.5 MB, free: 42.42 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001908/0.1697, allocations: 171.8 kB / 447.6 MB, free: 42.36 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.1697, allocations: 0 / 447.6 MB, free: 42.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1697, allocations: 0.625 kB / 447.6 MB, free: 42.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.167e-06/0.1697, allocations: 0.5625 kB / 447.6 MB, free: 42.36 MB / 410.7 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.0003715/0.1701, allocations: 364.1 kB / 448 MB, free: 42.03 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.1701, allocations: 8.75 kB / 448 MB, free: 42.03 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.048e-05/0.1702, allocations: 9.859 kB / 448 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001778/0.1704, allocations: 138.8 kB / 448.2 MB, free: 41.88 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.1704, allocations: 13.83 kB / 448.2 MB, free: 41.88 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/0.1704, allocations: 6.859 kB / 448.2 MB, free: 41.88 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001164/0.1705, allocations: 93.78 kB / 448.3 MB, free: 41.79 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.1705, allocations: 7.438 kB / 448.3 MB, free: 41.79 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.1705, allocations: 0 / 448.3 MB, free: 41.79 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1705, allocations: 0.9375 kB / 448.3 MB, free: 41.79 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.534e-05/0.1706, allocations: 23.78 kB / 448.3 MB, free: 41.78 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000218/0.1708, allocations: 238.9 kB / 448.5 MB, free: 41.55 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001021/0.1709, allocations: 54.92 kB / 448.6 MB, free: 41.52 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.981e-05/0.1709, allocations: 23.84 kB / 448.6 MB, free: 41.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.281e-05/0.1709, allocations: 6.75 kB / 448.6 MB, free: 41.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.136e-05/0.171, allocations: 66.72 kB / 448.7 MB, free: 41.45 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.171, allocations: 3 kB / 448.7 MB, free: 41.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003593/0.1714, allocations: 184.7 kB / 448.9 MB, free: 41.36 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.785e-05/0.1714, allocations: 79.67 kB / 448.9 MB, free: 41.26 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.45e-05/0.1715, allocations: 168.4 kB / 449.1 MB, free: 41.14 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.023e-06/0.1715, allocations: 28.33 kB / 449.1 MB, free: 41.11 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.545e-05/0.1716, allocations: 94.31 kB / 449.2 MB, free: 41.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.1716, allocations: 25.83 kB / 449.2 MB, free: 41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.633e-05/0.1716, allocations: 26.7 kB / 449.3 MB, free: 40.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.914e-05/0.1716, allocations: 324.8 kB / 449.6 MB, free: 40.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.047e-05/0.1717, allocations: 22.81 kB / 449.6 MB, free: 40.65 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.916e-05/0.1717, allocations: 71.22 kB / 449.7 MB, free: 40.59 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.454e-05/0.1718, allocations: 74.53 kB / 449.8 MB, free: 40.54 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1718, allocations: 0 / 449.8 MB, free: 40.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001026/0.1719, allocations: 105.8 kB / 449.9 MB, free: 40.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.1719, allocations: 5.375 kB / 449.9 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.1719, allocations: 0 / 449.9 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.1719, allocations: 2.625 kB / 449.9 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.635e-05/0.1719, allocations: 14.02 kB / 449.9 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.928e-06/0.172, allocations: 2.562 kB / 449.9 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.801e-05/0.172, allocations: 6.531 kB / 449.9 MB, free: 40.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.172, allocations: 6.906 kB / 449.9 MB, free: 40.47 MB / 410.7 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 4.826e-05/0.172, allocations: 122.1 kB / 450 MB, free: 40.35 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.103e-05/0.172, allocations: 9.859 kB / 450 MB, free: 40.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001361/0.1722, allocations: 125.2 kB / 450.1 MB, free: 40.28 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1722, allocations: 0 / 450.1 MB, free: 40.28 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.277e-06/0.1722, allocations: 0 / 450.1 MB, free: 40.28 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.1722, allocations: 2.938 kB / 450.2 MB, free: 40.28 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002159/0.1724, allocations: 350.4 kB / 450.5 MB, free: 39.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1724, allocations: 0 / 450.5 MB, free: 39.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.016e-05/0.1724, allocations: 16.28 kB / 450.5 MB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.1724, allocations: 3 kB / 450.5 MB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.1724, allocations: 3.188 kB / 450.5 MB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.1724, allocations: 7.891 kB / 450.5 MB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1724, allocations: 0 / 450.5 MB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001041/0.1725, allocations: 214.9 kB / 450.7 MB, free: 39.82 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.018e-05/0.1726, allocations: 9.766 kB / 450.7 MB, free: 39.81 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.1726, allocations: 4 kB / 450.7 MB, free: 39.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.863e-05/0.1726, allocations: 6.375 kB / 450.8 MB, free: 39.81 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.655e-05/0.1726, allocations: 2.875 kB / 450.8 MB, free: 39.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/0.1726, allocations: 14.36 kB / 450.8 MB, free: 39.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.438e-05/0.1727, allocations: 136.3 kB / 450.9 MB, free: 39.71 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1727, allocations: 0 / 450.9 MB, free: 39.71 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001851/0.1729, allocations: 50.14 kB / 451 MB, free: 39.69 MB / 410.7 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 (9): * Single equations (assignments): 7 * 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.0008237/0.1737, allocations: 0.5689 MB / 451.5 MB, free: 39.48 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000118/0.1738, allocations: 59.86 kB / 451.6 MB, free: 39.46 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1738, allocations: 0 / 451.6 MB, free: 39.46 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.898e-05/0.1739, allocations: 38.48 kB / 451.6 MB, free: 39.45 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002054/0.1741, allocations: 32.62 kB / 451.6 MB, free: 39.44 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002926/0.1744, allocations: 230.5 kB / 451.9 MB, free: 39.25 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.533e-05/0.1744, allocations: 89.7 kB / 452 MB, free: 39.18 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.345e-05/0.1744, allocations: 24.17 kB / 452 MB, free: 39.17 MB / 410.7 MB Notification: Performance of SimCode: time 6.21e-07/0.1744, allocations: 0 / 452 MB, free: 39.17 MB / 410.7 MB Notification: Performance of Templates: time 0.002782/0.1772, allocations: 2.466 MB / 454.5 MB, free: 38.88 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.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.195757230743766]