Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.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.001171/0.001171, 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.005672/0.005672, allocations: 160.2 kB / 24.7 MB, free: 9.441 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.8863/0.8863, allocations: 177 MB / 204.9 MB, free: 5.707 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.2296/0.2296, allocations: 34.25 MB / 295.6 MB, free: 0.6562 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.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 443.5 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.369e-05/2.586e-05, allocations: 2.281 kB / 443.5 MB, free: 0.9258 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.1651/0.1651, allocations: 1.704 MB / 445.2 MB, free: 43.68 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009743/0.1661, allocations: 0.9752 MB / 446.2 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.575e-05/0.1662, allocations: 2.594 kB / 446.2 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002669/0.1664, allocations: 42.39 kB / 446.2 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002411/0.1667, allocations: 99.31 kB / 446.3 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001153/0.1668, allocations: 77.41 kB / 446.4 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001301/0.1669, allocations: 105.7 kB / 446.5 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.153e-05/0.167, allocations: 8.688 kB / 446.5 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.618e-05/0.1671, allocations: 62.3 kB / 446.6 MB, free: 43 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.219e-05/0.1671, allocations: 21.52 kB / 446.6 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.1672, allocations: 2.781 kB / 446.6 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.706e-05/0.1672, allocations: 48.84 kB / 446.7 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.712e-05/0.1673, allocations: 24.77 kB / 446.7 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.123e-05/0.1673, allocations: 18.53 kB / 446.7 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001509/0.1675, allocations: 121.6 kB / 446.8 MB, free: 42.91 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1675, allocations: 0.8438 kB / 446.8 MB, free: 42.91 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1675, allocations: 0 / 446.8 MB, free: 42.91 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.1675, allocations: 0 / 446.8 MB, free: 42.91 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.000382/0.1678, allocations: 344 kB / 447.1 MB, free: 42.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.1679, allocations: 13.97 kB / 447.2 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.87e-05/0.1679, allocations: 20.77 kB / 447.2 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001982/0.1681, allocations: 147 kB / 447.3 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.1681, allocations: 3.219 kB / 447.3 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.754e-05/0.1681, allocations: 384 / 447.3 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.1683, allocations: 60.47 kB / 447.4 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.1683, allocations: 192 / 447.4 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.1683, allocations: 7.562 kB / 447.4 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.1683, allocations: 10.31 kB / 447.4 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.608e-05/0.1683, allocations: 18.28 kB / 447.4 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002195/0.1685, allocations: 237.8 kB / 447.7 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000103/0.1686, allocations: 54.41 kB / 447.7 MB, free: 42.13 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.987e-05/0.1687, allocations: 19.78 kB / 447.7 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.219e-05/0.1687, allocations: 2.594 kB / 447.7 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.265e-05/0.1688, allocations: 70.25 kB / 447.8 MB, free: 42.06 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 8.12e-07/0.1688, allocations: 0 / 447.8 MB, free: 42.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003647/0.1691, allocations: 185.2 kB / 448 MB, free: 41.97 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.047e-05/0.1692, allocations: 51.41 kB / 448 MB, free: 41.91 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.979e-05/0.1693, allocations: 210.5 kB / 448.2 MB, free: 41.77 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.163e-06/0.1693, allocations: 25.7 kB / 448.3 MB, free: 41.74 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.968e-05/0.1693, allocations: 105.2 kB / 448.4 MB, free: 41.64 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.086e-05/0.1693, allocations: 22.08 kB / 448.4 MB, free: 41.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.64e-05/0.1693, allocations: 22.5 kB / 448.4 MB, free: 41.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.272e-05/0.1694, allocations: 335.2 kB / 448.7 MB, free: 41.28 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.101e-05/0.1694, allocations: 15.41 kB / 448.7 MB, free: 41.28 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.412e-05/0.1694, allocations: 41.05 kB / 448.8 MB, free: 41.25 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.976e-05/0.1695, allocations: 61.05 kB / 448.8 MB, free: 41.22 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1695, allocations: 0 / 448.8 MB, free: 41.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.705e-05/0.1696, allocations: 122.2 kB / 449 MB, free: 41.15 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.1696, allocations: 5.719 kB / 449 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.1696, allocations: 2.844 kB / 449 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.1696, allocations: 0 / 449 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.735e-05/0.1697, allocations: 15.2 kB / 449 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.1697, allocations: 2.875 kB / 449 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.562e-05/0.1697, allocations: 6.844 kB / 449 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.1697, allocations: 2.875 kB / 449 MB, free: 41.14 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 6.134e-05/0.1698, allocations: 129 kB / 449.1 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.131e-05/0.1698, allocations: 17.73 kB / 449.1 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000148/0.1699, allocations: 119.1 kB / 449.3 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1699, allocations: 2.969 kB / 449.3 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.17, allocations: 96 / 449.3 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.17, allocations: 3.938 kB / 449.3 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002172/0.1702, allocations: 356.2 kB / 449.6 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.1702, allocations: 0 / 449.6 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.159e-05/0.1702, allocations: 12.05 kB / 449.6 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1702, allocations: 0 / 449.6 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.1702, allocations: 10.66 kB / 449.6 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1702, allocations: 4.031 kB / 449.6 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1702, allocations: 4.516 kB / 449.6 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001013/0.1703, allocations: 211.1 kB / 449.9 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.848e-06/0.1703, allocations: 13.66 kB / 449.9 MB, free: 40.47 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.1703, allocations: 3.25 kB / 449.9 MB, free: 40.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.781e-05/0.1704, allocations: 9.859 kB / 449.9 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.783e-05/0.1704, allocations: 6.125 kB / 449.9 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.1704, allocations: 5.719 kB / 449.9 MB, free: 40.46 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.73e-05/0.1705, allocations: 149 kB / 450 MB, free: 40.37 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1705, allocations: 0 / 450 MB, free: 40.37 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001612/0.1706, allocations: 28.53 kB / 450.1 MB, free: 40.36 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.0007012/0.1713, allocations: 492.6 kB / 450.5 MB, free: 40.18 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001085/0.1714, allocations: 68.06 kB / 450.6 MB, free: 40.15 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.1714, allocations: 0 / 450.6 MB, free: 40.15 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.589e-05/0.1715, allocations: 32.55 kB / 450.6 MB, free: 40.14 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002122/0.1717, allocations: 25.48 kB / 450.7 MB, free: 40.13 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000307/0.172, allocations: 262.1 kB / 450.9 MB, free: 39.93 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.559e-05/0.172, allocations: 92.27 kB / 451 MB, free: 39.86 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.496e-05/0.1721, allocations: 21.22 kB / 451 MB, free: 39.86 MB / 410.7 MB Notification: Performance of SimCode: time 4.61e-07/0.1721, allocations: 4 kB / 451 MB, free: 39.85 MB / 410.7 MB Notification: Performance of Templates: time 0.002193/0.1743, allocations: 2 MB / 453 MB, free: 39.63 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.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.128516538068652]