Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.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.000903/0.000903, allocations: 84.34 kB / 21.43 MB, free: 3.125 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.005001/0.005001, allocations: 154.2 kB / 24.7 MB, free: 9.406 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.892/0.892, allocations: 177 MB / 204.9 MB, free: 5.777 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.2737/0.2737, allocations: 34.24 MB / 295.6 MB, free: 0.6797 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.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 443.5 MB, free: 1.02 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.765e-05/2.967e-05, allocations: 4.672 kB / 443.5 MB, free: 1.016 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.1725/0.1725, allocations: 1.711 MB / 445.2 MB, free: 43.67 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001062/0.1736, allocations: 0.9735 MB / 446.2 MB, free: 43.28 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.526e-05/0.1736, allocations: 0 / 446.2 MB, free: 43.28 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003096/0.174, allocations: 58.05 kB / 446.2 MB, free: 43.26 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002919/0.1742, allocations: 104.3 kB / 446.3 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001892/0.1744, allocations: 79.62 kB / 446.4 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000154/0.1746, allocations: 106.5 kB / 446.5 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.844e-05/0.1747, allocations: 6.156 kB / 446.5 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.989e-05/0.1748, allocations: 53.59 kB / 446.6 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.885e-05/0.1748, allocations: 30.5 kB / 446.6 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.1749, allocations: 3.344 kB / 446.6 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.33e-05/0.1749, allocations: 42.58 kB / 446.7 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.426e-05/0.175, allocations: 38.56 kB / 446.7 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.585e-05/0.175, allocations: 17.16 kB / 446.7 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001822/0.1752, allocations: 135.7 kB / 446.9 MB, free: 42.98 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1752, allocations: 0.5625 kB / 446.9 MB, free: 42.98 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1752, allocations: 3.938 kB / 446.9 MB, free: 42.98 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.1752, allocations: 3.625 kB / 446.9 MB, free: 42.98 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.0004347/0.1757, allocations: 368 kB / 447.2 MB, free: 42.65 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.1757, allocations: 8.781 kB / 447.2 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.213e-05/0.1757, allocations: 14.38 kB / 447.2 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002209/0.176, allocations: 168.4 kB / 447.4 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.176, allocations: 384 / 447.4 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.16e-05/0.176, allocations: 3.219 kB / 447.4 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/0.1761, allocations: 55.22 kB / 447.5 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.1761, allocations: 3.469 kB / 447.5 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.1761, allocations: 2.469 kB / 447.5 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.1761, allocations: 4.547 kB / 447.5 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.5e-05/0.1762, allocations: 26.8 kB / 447.5 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002942/0.1765, allocations: 244.8 kB / 447.7 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001202/0.1766, allocations: 62.14 kB / 447.8 MB, free: 42.17 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.037e-05/0.1766, allocations: 17.83 kB / 447.8 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.539e-05/0.1767, allocations: 6.625 kB / 447.8 MB, free: 42.15 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001138/0.1768, allocations: 72.16 kB / 447.9 MB, free: 42.09 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.1768, allocations: 0.625 kB / 447.9 MB, free: 42.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004286/0.1772, allocations: 195.5 kB / 448.1 MB, free: 42 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.924e-05/0.1772, allocations: 54.41 kB / 448.1 MB, free: 41.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/0.1774, allocations: 274.9 kB / 448.4 MB, free: 41.79 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.107e-06/0.1774, allocations: 28.52 kB / 448.4 MB, free: 41.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.105e-05/0.1774, allocations: 115.5 kB / 448.5 MB, free: 41.65 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.957e-05/0.1775, allocations: 24.36 kB / 448.6 MB, free: 41.63 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.029e-05/0.1775, allocations: 22.16 kB / 448.6 MB, free: 41.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.659e-05/0.1775, allocations: 327.4 kB / 448.9 MB, free: 41.29 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.754e-05/0.1776, allocations: 25.56 kB / 448.9 MB, free: 41.29 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.825e-05/0.1776, allocations: 42.33 kB / 449 MB, free: 41.26 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.671e-05/0.1777, allocations: 64.19 kB / 449 MB, free: 41.22 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1777, allocations: 2.656 kB / 449 MB, free: 41.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001101/0.1778, allocations: 112.7 kB / 449.2 MB, free: 41.15 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.1778, allocations: 3 kB / 449.2 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.1778, allocations: 2.781 kB / 449.2 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.1778, allocations: 0 / 449.2 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.11e-05/0.1779, allocations: 20.98 kB / 449.2 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.1779, allocations: 2.438 kB / 449.2 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.151e-05/0.1779, allocations: 6.906 kB / 449.2 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.1779, allocations: 2.625 kB / 449.2 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.765e-05/0.178, allocations: 136.1 kB / 449.3 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.394e-05/0.178, allocations: 24.11 kB / 449.3 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001684/0.1782, allocations: 123 kB / 449.5 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.1782, allocations: 3.188 kB / 449.5 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.1782, allocations: 2.656 kB / 449.5 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.1782, allocations: 0.9375 kB / 449.5 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002669/0.1785, allocations: 367 kB / 449.8 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1785, allocations: 0 / 449.8 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.683e-05/0.1785, allocations: 12.23 kB / 449.8 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.1785, allocations: 3.938 kB / 449.8 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.1785, allocations: 10.84 kB / 449.9 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1785, allocations: 0 / 449.9 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.1785, allocations: 1.641 kB / 449.9 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001168/0.1786, allocations: 224.2 kB / 450.1 MB, free: 40.47 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.146e-05/0.1786, allocations: 10.72 kB / 450.1 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.1787, allocations: 2.75 kB / 450.1 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.023e-05/0.1787, allocations: 13.97 kB / 450.1 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.154e-05/0.1787, allocations: 9.281 kB / 450.1 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.325e-05/0.1787, allocations: 2.844 kB / 450.1 MB, free: 40.45 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.439e-05/0.1788, allocations: 208.2 kB / 450.3 MB, free: 40.34 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1788, allocations: 0 / 450.3 MB, free: 40.34 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001766/0.179, allocations: 27.52 kB / 450.3 MB, free: 40.34 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.0007925/0.1798, allocations: 486.1 kB / 450.8 MB, free: 40.16 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000125/0.1799, allocations: 67.44 kB / 450.9 MB, free: 40.13 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1799, allocations: 0 / 450.9 MB, free: 40.13 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.943e-05/0.18, allocations: 33.22 kB / 450.9 MB, free: 40.12 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002333/0.1802, allocations: 33.23 kB / 451 MB, free: 40.11 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000393/0.1806, allocations: 322.4 kB / 451.3 MB, free: 39.89 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.989e-05/0.1807, allocations: 112.2 kB / 451.4 MB, free: 39.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.037e-05/0.1807, allocations: 20.31 kB / 451.4 MB, free: 39.81 MB / 410.7 MB Notification: Performance of SimCode: time 5.51e-07/0.1807, allocations: 0 / 451.4 MB, free: 39.81 MB / 410.7 MB Notification: Performance of Templates: time 0.002653/0.1833, allocations: 2.164 MB / 453.6 MB, free: 39.55 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.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.053315727040172]