Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.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.0008601/0.0008601, 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.00438/0.00438, allocations: 156.9 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.9664/0.9664, allocations: 177 MB / 204.9 MB, free: 5.738 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.2624/0.2624, 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.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 443.5 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.353e-05/3.559e-05, allocations: 6.219 kB / 443.5 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.1813/0.1814, allocations: 1.713 MB / 445.2 MB, free: 43.72 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00158/0.183, allocations: 1.672 MB / 446.9 MB, free: 42.74 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.272e-05/0.183, allocations: 0 / 446.9 MB, free: 42.74 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002764/0.1833, allocations: 37.56 kB / 446.9 MB, free: 42.72 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002834/0.1836, allocations: 107.8 kB / 447 MB, free: 42.67 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001256/0.1837, allocations: 76.97 kB / 447.1 MB, free: 42.62 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001402/0.1839, allocations: 105.8 kB / 447.2 MB, free: 42.58 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.955e-05/0.184, allocations: 7.625 kB / 447.2 MB, free: 42.57 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.382e-05/0.184, allocations: 65.66 kB / 447.3 MB, free: 42.54 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.972e-05/0.1841, allocations: 34.83 kB / 447.3 MB, free: 42.53 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.891e-05/0.1842, allocations: 5.938 kB / 447.3 MB, free: 42.53 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001257/0.1843, allocations: 103.8 kB / 447.4 MB, free: 42.5 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.498e-05/0.1843, allocations: 25.05 kB / 447.5 MB, free: 42.48 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.6e-05/0.1844, allocations: 24.12 kB / 447.5 MB, free: 42.47 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002093/0.1846, allocations: 179.5 kB / 447.7 MB, free: 42.4 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1846, allocations: 3.562 kB / 447.7 MB, free: 42.4 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1846, allocations: 0 / 447.7 MB, free: 42.4 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.1846, allocations: 0 / 447.7 MB, free: 42.4 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.0004193/0.185, allocations: 355 kB / 448 MB, free: 42.08 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.1851, allocations: 9.219 kB / 448 MB, free: 42.08 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.067e-05/0.1851, allocations: 7.766 kB / 448 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002036/0.1853, allocations: 148.6 kB / 448.2 MB, free: 41.93 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.1853, allocations: 384 / 448.2 MB, free: 41.93 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.015e-05/0.1853, allocations: 7.234 kB / 448.2 MB, free: 41.93 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/0.1855, allocations: 106.6 kB / 448.3 MB, free: 41.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.1855, allocations: 3.938 kB / 448.3 MB, free: 41.83 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.1855, allocations: 0 / 448.3 MB, free: 41.83 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.1855, allocations: 0 / 448.3 MB, free: 41.83 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.856e-05/0.1855, allocations: 25.83 kB / 448.3 MB, free: 41.82 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002489/0.1858, allocations: 225.8 kB / 448.5 MB, free: 41.61 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001121/0.1859, allocations: 63.39 kB / 448.6 MB, free: 41.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.147e-05/0.1859, allocations: 24.42 kB / 448.6 MB, free: 41.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.383e-05/0.1859, allocations: 0.5 kB / 448.6 MB, free: 41.55 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001108/0.1861, allocations: 71.67 kB / 448.7 MB, free: 41.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 9.32e-07/0.1861, allocations: 0 / 448.7 MB, free: 41.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003788/0.1864, allocations: 176.5 kB / 448.9 MB, free: 41.41 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.734e-05/0.1865, allocations: 80.05 kB / 448.9 MB, free: 41.32 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.669e-05/0.1866, allocations: 168.2 kB / 449.1 MB, free: 41.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.123e-06/0.1866, allocations: 25.7 kB / 449.1 MB, free: 41.17 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.856e-05/0.1866, allocations: 104.6 kB / 449.2 MB, free: 41.07 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.938e-05/0.1866, allocations: 22.39 kB / 449.2 MB, free: 41.05 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.911e-05/0.1866, allocations: 25.53 kB / 449.3 MB, free: 41.03 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.993e-05/0.1867, allocations: 321 kB / 449.6 MB, free: 40.71 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.429e-05/0.1867, allocations: 22.48 kB / 449.6 MB, free: 40.71 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.952e-05/0.1867, allocations: 79.69 kB / 449.7 MB, free: 40.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.666e-05/0.1868, allocations: 70.2 kB / 449.8 MB, free: 40.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.1868, allocations: 2.906 kB / 449.8 MB, free: 40.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000107/0.1869, allocations: 107.7 kB / 449.9 MB, free: 40.53 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.1869, allocations: 6.375 kB / 449.9 MB, free: 40.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1869, allocations: 0 / 449.9 MB, free: 40.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.187, allocations: 0 / 449.9 MB, free: 40.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.556e-05/0.187, allocations: 21.11 kB / 449.9 MB, free: 40.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.187, allocations: 0 / 449.9 MB, free: 40.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.036e-05/0.1871, allocations: 2.906 kB / 449.9 MB, free: 40.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.022e-06/0.1871, allocations: 2.938 kB / 449.9 MB, free: 40.53 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.273e-05/0.1871, allocations: 126.8 kB / 450 MB, free: 40.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.262e-05/0.1871, allocations: 13.8 kB / 450 MB, free: 40.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001486/0.1873, allocations: 128.8 kB / 450.2 MB, free: 40.33 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.1873, allocations: 0.75 kB / 450.2 MB, free: 40.33 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1873, allocations: 0 / 450.2 MB, free: 40.33 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1873, allocations: 0 / 450.2 MB, free: 40.33 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002248/0.1875, allocations: 349.6 kB / 450.5 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.1875, allocations: 0 / 450.5 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.2e-05/0.1875, allocations: 11.89 kB / 450.5 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.1875, allocations: 2.938 kB / 450.5 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-06/0.1875, allocations: 0 / 450.5 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.1875, allocations: 8.516 kB / 450.5 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.1875, allocations: 3.312 kB / 450.5 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001041/0.1877, allocations: 211 kB / 450.7 MB, free: 39.87 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.205e-05/0.1877, allocations: 16.25 kB / 450.7 MB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.608e-05/0.1877, allocations: 2.812 kB / 450.7 MB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.892e-05/0.1877, allocations: 5.797 kB / 450.8 MB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.84e-05/0.1877, allocations: 10.34 kB / 450.8 MB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.1878, allocations: 2.781 kB / 450.8 MB, free: 39.86 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.619e-05/0.1878, allocations: 139.1 kB / 450.9 MB, free: 39.76 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1878, allocations: 0 / 450.9 MB, free: 39.76 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001989/0.188, allocations: 45.06 kB / 450.9 MB, free: 39.75 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.0008831/0.1889, allocations: 0.5762 MB / 451.5 MB, free: 39.53 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001416/0.189, allocations: 60.67 kB / 451.6 MB, free: 39.51 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.189, allocations: 0 / 451.6 MB, free: 39.51 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.997e-05/0.1891, allocations: 34.77 kB / 451.6 MB, free: 39.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002277/0.1893, allocations: 35.25 kB / 451.6 MB, free: 39.49 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003337/0.1896, allocations: 231.7 kB / 451.9 MB, free: 39.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.651e-05/0.1897, allocations: 90.09 kB / 452 MB, free: 39.23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.904e-05/0.1897, allocations: 24.38 kB / 452 MB, free: 39.22 MB / 410.7 MB Notification: Performance of SimCode: time 3.7e-07/0.1897, allocations: 0 / 452 MB, free: 39.22 MB / 410.7 MB Notification: Performance of Templates: time 0.002726/0.1925, allocations: 2.472 MB / 454.5 MB, free: 38.93 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.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.3431691927835345]