Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.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.001207/0.001207, allocations: 88.28 kB / 21.43 MB, free: 3.137 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.005083/0.005083, allocations: 155.5 kB / 24.7 MB, free: 8.895 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.926/0.926, allocations: 177 MB / 204.9 MB, free: 5.723 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.2435/0.2435, allocations: 34.24 MB / 295.6 MB, free: 0.6602 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.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 443.5 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.619e-05/2.801e-05, allocations: 2.281 kB / 443.5 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.1724/0.1725, allocations: 1.709 MB / 445.2 MB, free: 43.68 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001622/0.1741, allocations: 1.679 MB / 446.9 MB, free: 42.69 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.382e-05/0.1742, allocations: 0 / 446.9 MB, free: 42.69 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002844/0.1744, allocations: 36.47 kB / 446.9 MB, free: 42.67 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003107/0.1747, allocations: 105.3 kB / 447 MB, free: 42.61 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001393/0.1749, allocations: 79.38 kB / 447.1 MB, free: 42.57 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001417/0.175, allocations: 112.5 kB / 447.2 MB, free: 42.52 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.804e-05/0.1751, allocations: 5.844 kB / 447.2 MB, free: 42.52 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.681e-05/0.1752, allocations: 61.7 kB / 447.3 MB, free: 42.49 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.697e-05/0.1753, allocations: 32.94 kB / 447.3 MB, free: 42.48 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.1753, allocations: 5.75 kB / 447.3 MB, free: 42.48 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001301/0.1754, allocations: 103.3 kB / 447.4 MB, free: 42.45 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.395e-05/0.1755, allocations: 25.91 kB / 447.5 MB, free: 42.43 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.718e-05/0.1755, allocations: 23.95 kB / 447.5 MB, free: 42.41 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002295/0.1758, allocations: 172.7 kB / 447.6 MB, free: 42.35 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1758, allocations: 0.5625 kB / 447.6 MB, free: 42.35 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1758, allocations: 0 / 447.6 MB, free: 42.35 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.1758, allocations: 6.031 kB / 447.7 MB, free: 42.35 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.0004679/0.1763, allocations: 354.3 kB / 448 MB, free: 42.03 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.1763, allocations: 11.62 kB / 448 MB, free: 42.03 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.949e-05/0.1763, allocations: 7.828 kB / 448 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002424/0.1766, allocations: 146.7 kB / 448.2 MB, free: 41.88 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.1766, allocations: 3.312 kB / 448.2 MB, free: 41.88 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.548e-05/0.1766, allocations: 10.89 kB / 448.2 MB, free: 41.87 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001658/0.1768, allocations: 101.3 kB / 448.3 MB, free: 41.78 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.1768, allocations: 3.938 kB / 448.3 MB, free: 41.78 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.1768, allocations: 1.938 kB / 448.3 MB, free: 41.78 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.1768, allocations: 0 / 448.3 MB, free: 41.78 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.113e-05/0.1769, allocations: 19.16 kB / 448.3 MB, free: 41.77 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003018/0.1772, allocations: 232.5 kB / 448.5 MB, free: 41.55 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/0.1773, allocations: 61.34 kB / 448.6 MB, free: 41.52 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.58e-05/0.1773, allocations: 24.89 kB / 448.6 MB, free: 41.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.1774, allocations: 0.5625 kB / 448.6 MB, free: 41.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001251/0.1775, allocations: 70.91 kB / 448.7 MB, free: 41.45 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.683e-06/0.1775, allocations: 0 / 448.7 MB, free: 41.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004537/0.1779, allocations: 184.4 kB / 448.9 MB, free: 41.36 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.489e-05/0.178, allocations: 80.05 kB / 448.9 MB, free: 41.26 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.1781, allocations: 162.5 kB / 449.1 MB, free: 41.14 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.029e-05/0.1781, allocations: 29.7 kB / 449.1 MB, free: 41.11 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.443e-05/0.1781, allocations: 97.02 kB / 449.2 MB, free: 41.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.492e-05/0.1782, allocations: 26.02 kB / 449.2 MB, free: 41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.274e-05/0.1782, allocations: 28.31 kB / 449.3 MB, free: 40.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.012e-05/0.1782, allocations: 325.7 kB / 449.6 MB, free: 40.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.825e-05/0.1783, allocations: 26.91 kB / 449.6 MB, free: 40.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.399e-05/0.1783, allocations: 72.48 kB / 449.7 MB, free: 40.58 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.944e-05/0.1784, allocations: 64.8 kB / 449.7 MB, free: 40.54 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.1784, allocations: 0 / 449.7 MB, free: 40.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001187/0.1785, allocations: 106.4 kB / 449.9 MB, free: 40.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.1785, allocations: 5.906 kB / 449.9 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.1785, allocations: 0 / 449.9 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.1785, allocations: 0 / 449.9 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.243e-05/0.1786, allocations: 17.77 kB / 449.9 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.1786, allocations: 64 / 449.9 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.255e-05/0.1786, allocations: 10.91 kB / 449.9 MB, free: 40.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.1786, allocations: 2.844 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 6.396e-05/0.1787, allocations: 132.2 kB / 450 MB, free: 40.35 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.211e-05/0.1787, allocations: 9.766 kB / 450 MB, free: 40.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001716/0.1789, allocations: 123.8 kB / 450.1 MB, free: 40.28 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.646e-06/0.1789, allocations: 2.875 kB / 450.2 MB, free: 40.28 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1789, allocations: 0 / 450.2 MB, free: 40.28 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1789, allocations: 0 / 450.2 MB, free: 40.28 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002578/0.1792, allocations: 359.3 kB / 450.5 MB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1792, allocations: 0 / 450.5 MB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.33e-05/0.1792, allocations: 11.72 kB / 450.5 MB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.1792, allocations: 0 / 450.5 MB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-06/0.1792, allocations: 2.844 kB / 450.5 MB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.1792, allocations: 3.375 kB / 450.5 MB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1792, allocations: 0 / 450.5 MB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001102/0.1793, allocations: 213.4 kB / 450.7 MB, free: 39.82 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.203e-05/0.1793, allocations: 9.734 kB / 450.7 MB, free: 39.81 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/0.1793, allocations: 7.328 kB / 450.7 MB, free: 39.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.109e-05/0.1794, allocations: 6.938 kB / 450.8 MB, free: 39.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.18e-05/0.1794, allocations: 6.047 kB / 450.8 MB, free: 39.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-05/0.1794, allocations: 5.656 kB / 450.8 MB, free: 39.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.798e-05/0.1795, allocations: 141.3 kB / 450.9 MB, free: 39.71 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1795, allocations: 0 / 450.9 MB, free: 39.71 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002118/0.1797, allocations: 50.86 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.0009648/0.1807, allocations: 0.5825 MB / 451.5 MB, free: 39.47 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001501/0.1808, allocations: 57.34 kB / 451.6 MB, free: 39.45 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.1808, allocations: 0 / 451.6 MB, free: 39.45 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.424e-05/0.1809, allocations: 35.8 kB / 451.6 MB, free: 39.44 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002297/0.1811, allocations: 25.75 kB / 451.7 MB, free: 39.43 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003644/0.1815, allocations: 236.8 kB / 451.9 MB, free: 39.24 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.284e-05/0.1815, allocations: 94.38 kB / 452 MB, free: 39.16 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.362e-05/0.1816, allocations: 19.7 kB / 452 MB, free: 39.16 MB / 410.7 MB Notification: Performance of SimCode: time 7.11e-07/0.1816, allocations: 2.812 kB / 452 MB, free: 39.16 MB / 410.7 MB Notification: Performance of Templates: time 0.003047/0.1846, allocations: 2.464 MB / 454.5 MB, free: 38.87 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.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.351599450223148]