Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.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.000816/0.000816, 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.003061/0.003061, allocations: 160.1 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.9092/0.9092, allocations: 177 MB / 204.9 MB, free: 5.73 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.2571/0.2571, allocations: 34.25 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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 443.5 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.841e-05/3.022e-05, allocations: 5.094 kB / 443.5 MB, free: 0.9648 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.1799/0.18, allocations: 1.705 MB / 445.2 MB, free: 43.64 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001075/0.1811, allocations: 0.9754 MB / 446.2 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.987e-05/0.1811, allocations: 2.781 kB / 446.2 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003099/0.1815, allocations: 42.8 kB / 446.2 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003096/0.1818, allocations: 98.86 kB / 446.3 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001719/0.1819, allocations: 74.16 kB / 446.4 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001601/0.1821, allocations: 113.4 kB / 446.5 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.1822, allocations: 5.5 kB / 446.5 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.182e-05/0.1823, allocations: 53.11 kB / 446.6 MB, free: 43 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.242e-05/0.1824, allocations: 35.67 kB / 446.6 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.644e-05/0.1824, allocations: 2.812 kB / 446.6 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.197e-05/0.1825, allocations: 45.3 kB / 446.7 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.516e-05/0.1825, allocations: 21.09 kB / 446.7 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.026e-05/0.1825, allocations: 24.28 kB / 446.7 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001859/0.1827, allocations: 112.9 kB / 446.8 MB, free: 42.91 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1827, allocations: 1.406 kB / 446.8 MB, free: 42.91 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.1827, allocations: 3.938 kB / 446.8 MB, free: 42.91 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.1827, 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.0004118/0.1832, allocations: 344 kB / 447.2 MB, free: 42.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.1832, allocations: 11.38 kB / 447.2 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.051e-05/0.1832, allocations: 14.84 kB / 447.2 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002242/0.1835, allocations: 153.9 kB / 447.3 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.1835, allocations: 384 / 447.3 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/0.1835, allocations: 3.125 kB / 447.3 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.1836, allocations: 63.16 kB / 447.4 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.1836, allocations: 192 / 447.4 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.1836, allocations: 2.156 kB / 447.4 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.1836, allocations: 6.938 kB / 447.4 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.022e-05/0.1837, allocations: 22.05 kB / 447.4 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002548/0.184, allocations: 230.3 kB / 447.7 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001168/0.1841, allocations: 67.11 kB / 447.7 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.144e-05/0.1841, allocations: 20.27 kB / 447.7 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.371e-05/0.1841, allocations: 0.5312 kB / 447.7 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001045/0.1842, allocations: 73.62 kB / 447.8 MB, free: 42.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.1842, allocations: 0 / 447.8 MB, free: 42.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003988/0.1846, allocations: 179.7 kB / 448 MB, free: 41.97 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.422e-05/0.1846, allocations: 54.12 kB / 448 MB, free: 41.91 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.1848, allocations: 206.8 kB / 448.2 MB, free: 41.77 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.073e-06/0.1848, allocations: 28.73 kB / 448.3 MB, free: 41.74 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.114e-05/0.1848, allocations: 104.9 kB / 448.4 MB, free: 41.64 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.108e-05/0.1848, allocations: 21.95 kB / 448.4 MB, free: 41.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.767e-05/0.1848, allocations: 19.34 kB / 448.4 MB, free: 41.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.269e-05/0.1849, allocations: 327.2 kB / 448.7 MB, free: 41.29 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.538e-05/0.1849, allocations: 32.02 kB / 448.8 MB, free: 41.27 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.726e-05/0.1849, allocations: 37.36 kB / 448.8 MB, free: 41.25 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.5e-05/0.185, allocations: 65.17 kB / 448.9 MB, free: 41.21 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.185, allocations: 0 / 448.9 MB, free: 41.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001049/0.1851, allocations: 116.4 kB / 449 MB, free: 41.14 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.1851, allocations: 2.875 kB / 449 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.1851, allocations: 2.594 kB / 449 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.1851, allocations: 0 / 449 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.79e-05/0.1852, allocations: 16.58 kB / 449 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.1852, allocations: 4.031 kB / 449 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.871e-05/0.1852, allocations: 2.594 kB / 449 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.1853, allocations: 3.125 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 5.725e-05/0.1853, allocations: 131.6 kB / 449.1 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.213e-05/0.1853, allocations: 13.3 kB / 449.1 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001582/0.1855, allocations: 121.3 kB / 449.3 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.291e-06/0.1855, allocations: 0 / 449.3 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.1855, allocations: 2.594 kB / 449.3 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.1855, allocations: 3.938 kB / 449.3 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002461/0.1857, allocations: 358.9 kB / 449.6 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1857, allocations: 0 / 449.6 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.351e-05/0.1858, allocations: 12.2 kB / 449.6 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.1858, allocations: 0 / 449.6 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.816e-06/0.1858, allocations: 10.75 kB / 449.6 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.1858, allocations: 0 / 449.6 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.1858, allocations: 4.672 kB / 449.6 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001071/0.1859, allocations: 210.8 kB / 449.9 MB, free: 40.47 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.718e-06/0.1859, allocations: 13.44 kB / 449.9 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.1859, allocations: 3.281 kB / 449.9 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.901e-05/0.186, allocations: 10.08 kB / 449.9 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.174e-05/0.186, allocations: 10.22 kB / 449.9 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.531e-05/0.186, allocations: 5.812 kB / 449.9 MB, free: 40.46 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.481e-05/0.1861, allocations: 149.9 kB / 450 MB, free: 40.36 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1861, allocations: 0 / 450 MB, free: 40.36 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001766/0.1862, allocations: 24.55 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.0007747/0.187, allocations: 487.7 kB / 450.5 MB, free: 40.17 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001352/0.1872, allocations: 67.7 kB / 450.6 MB, free: 40.15 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.1872, allocations: 0 / 450.6 MB, free: 40.15 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.286e-05/0.1872, allocations: 28.36 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.000252/0.1874, allocations: 32.16 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.0003526/0.1878, allocations: 264.1 kB / 450.9 MB, free: 39.93 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.093e-05/0.1879, allocations: 93.78 kB / 451 MB, free: 39.86 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.918e-05/0.1879, allocations: 20.2 kB / 451 MB, free: 39.85 MB / 410.7 MB Notification: Performance of SimCode: time 6.01e-07/0.1879, allocations: 0 / 451 MB, free: 39.85 MB / 410.7 MB Notification: Performance of Templates: time 0.00258/0.1905, allocations: 2.002 MB / 453 MB, free: 39.63 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.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.080900463275611]