Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.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.0008451/0.0008451, 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.003408/0.003408, allocations: 153.4 kB / 24.7 MB, free: 8.898 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.9182/0.9182, allocations: 177 MB / 204.8 MB, free: 5.754 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.226/0.226, allocations: 34.24 MB / 295.6 MB, free: 0.6562 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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 443.5 MB, free: 0.9492 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.133e-05/3.277e-05, allocations: 8.75 kB / 443.5 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.1831/0.1832, allocations: 1.898 MB / 445.4 MB, free: 43.6 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001154/0.1843, allocations: 1.006 MB / 446.4 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001356/0.1845, allocations: 3.938 kB / 446.4 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003116/0.1848, allocations: 48.7 kB / 446.5 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002682/0.185, allocations: 101.3 kB / 446.6 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001534/0.1852, allocations: 93.52 kB / 446.6 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001635/0.1854, allocations: 153.9 kB / 446.8 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.1855, allocations: 21.05 kB / 446.8 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.878e-05/0.1856, allocations: 78.06 kB / 446.9 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.705e-05/0.1856, allocations: 34.59 kB / 446.9 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.1857, allocations: 8.312 kB / 446.9 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.221e-05/0.1857, allocations: 52.41 kB / 447 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.657e-05/0.1858, allocations: 35.84 kB / 447 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.939e-05/0.1858, allocations: 27.22 kB / 447 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002237/0.1861, allocations: 159.8 kB / 447.2 MB, free: 42.72 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1861, allocations: 0 / 447.2 MB, free: 42.72 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1861, allocations: 2.125 kB / 447.2 MB, free: 42.72 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.992e-06/0.1861, allocations: 2.812 kB / 447.2 MB, free: 42.72 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000469/0.1866, allocations: 410.5 kB / 447.6 MB, free: 42.36 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.1866, allocations: 8.812 kB / 447.6 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.35e-05/0.1866, allocations: 20.94 kB / 447.6 MB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002189/0.1869, allocations: 171.7 kB / 447.8 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.1869, allocations: 7.375 kB / 447.8 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/0.1869, allocations: 5.812 kB / 447.8 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001707/0.1871, allocations: 136.5 kB / 448 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.1871, allocations: 192 / 448 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.1871, allocations: 2.812 kB / 448 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.1871, allocations: 6.344 kB / 448 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.599e-05/0.1872, allocations: 58.28 kB / 448 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003483/0.1875, allocations: 447.9 kB / 448.5 MB, free: 41.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002209/0.1877, allocations: 89.56 kB / 448.5 MB, free: 41.61 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.816e-05/0.1878, allocations: 35.97 kB / 448.6 MB, free: 41.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.424e-05/0.1878, allocations: 2.656 kB / 448.6 MB, free: 41.59 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001425/0.1879, allocations: 115.2 kB / 448.7 MB, free: 41.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.372e-06/0.1879, allocations: 0 / 448.7 MB, free: 41.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002447/0.1882, allocations: 150.8 kB / 448.8 MB, free: 41.43 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.141e-05/0.1882, allocations: 54.09 kB / 448.9 MB, free: 41.37 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.1883, allocations: 205.4 kB / 449.1 MB, free: 41.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.237e-06/0.1883, allocations: 25.7 kB / 449.1 MB, free: 41.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.893e-05/0.1884, allocations: 130.7 kB / 449.2 MB, free: 41.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.42e-05/0.1884, allocations: 22.59 kB / 449.3 MB, free: 41.07 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.177e-05/0.1884, allocations: 31.92 kB / 449.3 MB, free: 41.04 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.655e-05/0.1885, allocations: 327.9 kB / 449.6 MB, free: 40.72 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.344e-05/0.1885, allocations: 37.91 kB / 449.7 MB, free: 40.71 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.071e-05/0.1886, allocations: 64.16 kB / 449.7 MB, free: 40.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.941e-05/0.1887, allocations: 100.2 kB / 449.8 MB, free: 40.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.1887, allocations: 0 / 449.8 MB, free: 40.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001395/0.1888, allocations: 142.2 kB / 450 MB, free: 40.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.1888, allocations: 9.047 kB / 450 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1888, allocations: 2.938 kB / 450 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.1888, allocations: 0 / 450 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.117e-05/0.1889, allocations: 24.09 kB / 450 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.1889, allocations: 2.438 kB / 450 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.317e-05/0.1889, allocations: 17.72 kB / 450 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.1889, allocations: 2.844 kB / 450 MB, free: 40.5 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.941e-05/0.189, allocations: 137.1 kB / 450.1 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.33e-05/0.189, allocations: 14 kB / 450.2 MB, free: 40.37 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001693/0.1892, allocations: 141.3 kB / 450.3 MB, free: 40.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.1892, allocations: 2.562 kB / 450.3 MB, free: 40.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1892, allocations: 0 / 450.3 MB, free: 40.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1892, allocations: 0 / 450.3 MB, free: 40.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.897e-05/0.1893, allocations: 154.9 kB / 450.5 MB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.1893, allocations: 2.688 kB / 450.5 MB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.889e-05/0.1893, allocations: 14.69 kB / 450.5 MB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.1893, allocations: 4 kB / 450.5 MB, free: 40.15 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.1893, allocations: 2.906 kB / 450.5 MB, free: 40.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1893, allocations: 0 / 450.5 MB, free: 40.15 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1893, allocations: 0 / 450.5 MB, free: 40.15 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002003/0.1895, allocations: 196.8 kB / 450.7 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.305e-05/0.1896, allocations: 10.81 kB / 450.7 MB, free: 40.03 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.1896, allocations: 6.875 kB / 450.7 MB, free: 40.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.544e-05/0.1896, allocations: 9.953 kB / 450.7 MB, free: 40.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.54e-05/0.1896, allocations: 12.58 kB / 450.7 MB, free: 40.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.1896, allocations: 6.719 kB / 450.7 MB, free: 40.02 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.237e-05/0.1897, allocations: 148.4 kB / 450.9 MB, free: 39.92 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1897, allocations: 0 / 450.9 MB, free: 39.92 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001576/0.1899, allocations: 26.42 kB / 450.9 MB, free: 39.92 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0007034/0.1906, allocations: 436.1 kB / 451.3 MB, free: 39.76 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001578/0.1907, allocations: 76.34 kB / 451.4 MB, free: 39.74 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1907, allocations: 0 / 451.4 MB, free: 39.74 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.449e-05/0.1908, allocations: 45.45 kB / 451.4 MB, free: 39.72 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002124/0.191, allocations: 35.64 kB / 451.5 MB, free: 39.71 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003929/0.1914, allocations: 292.4 kB / 451.8 MB, free: 39.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.068e-05/0.1914, allocations: 102 kB / 451.9 MB, free: 39.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.968e-05/0.1915, allocations: 20.47 kB / 451.9 MB, free: 39.42 MB / 410.7 MB Notification: Performance of SimCode: time 8.01e-07/0.1915, allocations: 4 kB / 451.9 MB, free: 39.42 MB / 410.7 MB Notification: Performance of Templates: time 0.002634/0.1941, allocations: 2.269 MB / 454.1 MB, free: 39.18 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.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.1210372587665915]