Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.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.0008514/0.0008514, allocations: 88.28 kB / 21.43 MB, free: 3.133 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.004438/0.004438, allocations: 158 kB / 24.7 MB, free: 9.418 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.9156/0.9156, allocations: 177 MB / 204.9 MB, free: 5.734 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.267/0.267, allocations: 34.24 MB / 295.6 MB, free: 0.6641 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.Test89,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89") translateModel(ModelicaTest.Tables.CombiTimeTable.Test89,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.173e-06/1.173e-06, allocations: 0 / 443.5 MB, free: 0.9609 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.976e-05/2.093e-05, allocations: 2.281 kB / 443.5 MB, free: 0.957 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test89): time 0.1812/0.1812, allocations: 1.714 MB / 445.2 MB, free: 43.68 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001398/0.1826, allocations: 1.671 MB / 446.9 MB, free: 42.71 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.236e-05/0.1827, allocations: 0 / 446.9 MB, free: 42.71 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002397/0.1829, allocations: 40.14 kB / 446.9 MB, free: 42.69 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002361/0.1832, allocations: 104.9 kB / 447 MB, free: 42.63 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001055/0.1833, allocations: 84.52 kB / 447.1 MB, free: 42.59 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00012/0.1834, allocations: 106.3 kB / 447.2 MB, free: 42.54 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.182e-05/0.1835, allocations: 5.062 kB / 447.2 MB, free: 42.54 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.695e-05/0.1835, allocations: 60.84 kB / 447.3 MB, free: 42.51 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.232e-05/0.1836, allocations: 38.22 kB / 447.3 MB, free: 42.49 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.417e-05/0.1836, allocations: 5.344 kB / 447.3 MB, free: 42.49 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001051/0.1837, allocations: 103.2 kB / 447.4 MB, free: 42.46 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.823e-05/0.1838, allocations: 18.11 kB / 447.5 MB, free: 42.45 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.225e-05/0.1838, allocations: 24.12 kB / 447.5 MB, free: 42.44 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001876/0.184, allocations: 181.3 kB / 447.7 MB, free: 42.37 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.184, allocations: 2.875 kB / 447.7 MB, free: 42.37 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.184, allocations: 0 / 447.7 MB, free: 42.37 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.184, allocations: 0 / 447.7 MB, free: 42.37 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.0003543/0.1844, allocations: 354.8 kB / 448 MB, free: 42.04 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.1844, allocations: 10.88 kB / 448 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.792e-05/0.1844, allocations: 8.109 kB / 448 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001803/0.1846, allocations: 145.8 kB / 448.2 MB, free: 41.9 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.1846, allocations: 3.609 kB / 448.2 MB, free: 41.9 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/0.1846, allocations: 6.891 kB / 448.2 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.1848, allocations: 112 kB / 448.3 MB, free: 41.8 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.1848, allocations: 3.938 kB / 448.3 MB, free: 41.8 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.1848, allocations: 0 / 448.3 MB, free: 41.8 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.1848, allocations: 2.594 kB / 448.3 MB, free: 41.8 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.505e-05/0.1848, allocations: 21.45 kB / 448.3 MB, free: 41.79 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002154/0.1851, allocations: 232 kB / 448.5 MB, free: 41.57 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.875e-05/0.1852, allocations: 60.09 kB / 448.6 MB, free: 41.54 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.928e-05/0.1852, allocations: 21.36 kB / 448.6 MB, free: 41.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.186e-05/0.1852, allocations: 0.5 kB / 448.6 MB, free: 41.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.242e-05/0.1853, allocations: 70.12 kB / 448.7 MB, free: 41.46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 8.81e-07/0.1853, allocations: 2.094 kB / 448.7 MB, free: 41.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003427/0.1856, allocations: 176 kB / 448.9 MB, free: 41.38 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.316e-05/0.1857, allocations: 80.05 kB / 448.9 MB, free: 41.29 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.183e-05/0.1857, allocations: 168.6 kB / 449.1 MB, free: 41.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.324e-06/0.1858, allocations: 29.7 kB / 449.1 MB, free: 41.13 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.78e-05/0.1858, allocations: 97.55 kB / 449.2 MB, free: 41.04 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.899e-05/0.1858, allocations: 28.52 kB / 449.3 MB, free: 41.02 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.686e-05/0.1858, allocations: 23.31 kB / 449.3 MB, free: 41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.018e-05/0.1859, allocations: 331.1 kB / 449.6 MB, free: 40.68 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.933e-05/0.1859, allocations: 15.56 kB / 449.6 MB, free: 40.67 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.692e-05/0.1859, allocations: 75.16 kB / 449.7 MB, free: 40.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.319e-05/0.186, allocations: 72.22 kB / 449.8 MB, free: 40.56 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.186, allocations: 0 / 449.8 MB, free: 40.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.687e-05/0.1861, allocations: 112.2 kB / 449.9 MB, free: 40.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/0.1861, allocations: 5.844 kB / 449.9 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.1861, allocations: 0 / 449.9 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.1861, allocations: 0 / 449.9 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.774e-05/0.1862, allocations: 17.89 kB / 449.9 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.557e-06/0.1862, allocations: 0 / 449.9 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.742e-05/0.1862, allocations: 2.938 kB / 449.9 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.1862, allocations: 2.781 kB / 449.9 MB, free: 40.5 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.755e-05/0.1862, allocations: 131.9 kB / 450 MB, free: 40.37 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.098e-05/0.1863, allocations: 13.45 kB / 450 MB, free: 40.36 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001324/0.1864, allocations: 119.1 kB / 450.2 MB, free: 40.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.1864, allocations: 2.469 kB / 450.2 MB, free: 40.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.1864, allocations: 96 / 450.2 MB, free: 40.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.1864, allocations: 3.938 kB / 450.2 MB, free: 40.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002261/0.1866, allocations: 350.9 kB / 450.5 MB, free: 40.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1866, allocations: 0 / 450.5 MB, free: 40.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.14e-05/0.1866, allocations: 11.53 kB / 450.5 MB, free: 40.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.1866, allocations: 2.484 kB / 450.5 MB, free: 40.01 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.064e-06/0.1867, allocations: 10.62 kB / 450.5 MB, free: 40 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.1867, allocations: 1.641 kB / 450.5 MB, free: 40 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1867, allocations: 2.719 kB / 450.5 MB, free: 40 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001023/0.1868, allocations: 213.7 kB / 450.7 MB, free: 39.83 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.01e-05/0.1868, allocations: 9.984 kB / 450.8 MB, free: 39.83 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.1868, allocations: 6.172 kB / 450.8 MB, free: 39.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.864e-05/0.1868, allocations: 4 kB / 450.8 MB, free: 39.82 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.605e-05/0.1869, allocations: 6.188 kB / 450.8 MB, free: 39.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.1869, allocations: 5.75 kB / 450.8 MB, free: 39.82 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.108e-05/0.1869, allocations: 136.1 kB / 450.9 MB, free: 39.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1869, allocations: 4 kB / 450.9 MB, free: 39.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001771/0.1871, allocations: 54.52 kB / 451 MB, free: 39.71 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.0008354/0.1879, allocations: 0.5637 MB / 451.5 MB, free: 39.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001166/0.188, allocations: 59.5 kB / 451.6 MB, free: 39.48 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.188, allocations: 8 kB / 451.6 MB, free: 39.48 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.935e-05/0.1881, allocations: 31.12 kB / 451.6 MB, free: 39.47 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002056/0.1883, allocations: 32.11 kB / 451.7 MB, free: 39.46 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002903/0.1886, allocations: 228.2 kB / 451.9 MB, free: 39.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.402e-05/0.1886, allocations: 97.45 kB / 452 MB, free: 39.19 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.377e-05/0.1887, allocations: 25.19 kB / 452 MB, free: 39.18 MB / 410.7 MB Notification: Performance of SimCode: time 5e-07/0.1887, allocations: 4.062 kB / 452 MB, free: 39.18 MB / 410.7 MB Notification: Performance of Templates: time 0.002425/0.1911, allocations: 2.466 MB / 454.5 MB, free: 38.89 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test89/Test89.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.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: 4.902254375629127]