Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.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.0009083/0.0009083, allocations: 88.33 kB / 21.44 MB, free: 3.113 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.003442/0.003442, allocations: 153.4 kB / 24.69 MB, free: 9.43 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.886/0.886, allocations: 177 MB / 204.9 MB, free: 5.699 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.2375/0.2375, allocations: 34.24 MB / 295.6 MB, free: 0.6719 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.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 443.5 MB, free: 0.9531 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.137e-05/2.308e-05, allocations: 6.219 kB / 443.5 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.1849/0.1849, allocations: 1.725 MB / 445.2 MB, free: 43.63 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001097/0.186, allocations: 0.9792 MB / 446.2 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.978e-05/0.186, allocations: 2.844 kB / 446.2 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003095/0.1864, allocations: 94.14 kB / 446.3 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002725/0.1866, allocations: 114.8 kB / 446.4 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001658/0.1868, allocations: 89.61 kB / 446.5 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001544/0.1869, allocations: 125.1 kB / 446.6 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.948e-05/0.187, allocations: 12.53 kB / 446.7 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.9e-05/0.1871, allocations: 72.5 kB / 446.7 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.136e-05/0.1872, allocations: 62.73 kB / 446.8 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.59e-05/0.1872, allocations: 3.375 kB / 446.8 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.689e-05/0.1873, allocations: 62.25 kB / 446.8 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.976e-05/0.1874, allocations: 23.83 kB / 446.9 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.746e-05/0.1874, allocations: 29.77 kB / 446.9 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000179/0.1876, allocations: 139.9 kB / 447 MB, free: 42.84 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.1876, allocations: 2.781 kB / 447 MB, free: 42.84 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1876, allocations: 0.9375 kB / 447 MB, free: 42.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.1876, allocations: 0 / 447 MB, free: 42.84 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000411/0.188, allocations: 374.8 kB / 447.4 MB, free: 42.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.188, allocations: 7.844 kB / 447.4 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.997e-05/0.1881, allocations: 17.66 kB / 447.4 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001967/0.1883, allocations: 147.5 kB / 447.6 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.1883, allocations: 14.89 kB / 447.6 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/0.1883, allocations: 6.469 kB / 447.6 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.1884, allocations: 58.36 kB / 447.7 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.1884, allocations: 3.312 kB / 447.7 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.1884, allocations: 384 / 447.7 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.1884, allocations: 3.938 kB / 447.7 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.175e-05/0.1885, allocations: 29.98 kB / 447.7 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002526/0.1887, allocations: 244 kB / 447.9 MB, free: 42.06 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001722/0.1889, allocations: 67.45 kB / 448 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.264e-05/0.1889, allocations: 20.56 kB / 448 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.356e-05/0.189, allocations: 6.625 kB / 448 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.952e-05/0.1891, allocations: 73.92 kB / 448.1 MB, free: 41.94 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.153e-06/0.1891, allocations: 0 / 448.1 MB, free: 41.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005104/0.1896, allocations: 255.1 kB / 448.3 MB, free: 41.83 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.781e-05/0.1896, allocations: 51.41 kB / 448.4 MB, free: 41.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.1897, allocations: 236 kB / 448.6 MB, free: 41.63 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.215e-06/0.1897, allocations: 33.7 kB / 448.7 MB, free: 41.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.165e-05/0.1898, allocations: 108.4 kB / 448.8 MB, free: 41.49 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.49e-05/0.1898, allocations: 38.08 kB / 448.8 MB, free: 41.46 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.002e-05/0.1898, allocations: 27.5 kB / 448.8 MB, free: 41.44 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.71e-05/0.1899, allocations: 328.1 kB / 449.1 MB, free: 41.12 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.805e-05/0.1899, allocations: 30.3 kB / 449.2 MB, free: 41.11 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.315e-05/0.1899, allocations: 51.47 kB / 449.2 MB, free: 41.08 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.803e-05/0.19, allocations: 90.33 kB / 449.3 MB, free: 41.03 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.19, allocations: 0 / 449.3 MB, free: 41.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001236/0.1901, allocations: 136.7 kB / 449.4 MB, free: 40.95 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.1902, allocations: 5.781 kB / 449.5 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.1902, allocations: 0 / 449.5 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.1902, allocations: 0 / 449.5 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.857e-05/0.1902, allocations: 23.09 kB / 449.5 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.1902, allocations: 1.641 kB / 449.5 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.679e-05/0.1902, allocations: 2.844 kB / 449.5 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.1903, allocations: 5.25 kB / 449.5 MB, free: 40.95 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 (13): * Single equations (assignments): 13 * 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.914e-05/0.1903, allocations: 141.8 kB / 449.6 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.239e-05/0.1903, allocations: 20.94 kB / 449.6 MB, free: 40.81 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001663/0.1905, allocations: 149.3 kB / 449.8 MB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.1905, allocations: 6.906 kB / 449.8 MB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.1905, allocations: 0 / 449.8 MB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.1905, allocations: 3.422 kB / 449.8 MB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002727/0.1908, allocations: 405.2 kB / 450.2 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1908, allocations: 0 / 450.2 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.628e-05/0.1908, allocations: 15.17 kB / 450.2 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1908, allocations: 2.969 kB / 450.2 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/0.1908, allocations: 6.938 kB / 450.2 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1908, allocations: 3.938 kB / 450.2 MB, free: 40.41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1908, allocations: 2.875 kB / 450.2 MB, free: 40.41 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001187/0.1909, allocations: 252.6 kB / 450.5 MB, free: 40.22 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.077e-05/0.1909, allocations: 13.69 kB / 450.5 MB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.191, allocations: 2.875 kB / 450.5 MB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.852e-05/0.191, allocations: 4 kB / 450.5 MB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.846e-05/0.191, allocations: 16.14 kB / 450.5 MB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.191, allocations: 5.438 kB / 450.5 MB, free: 40.21 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.08e-05/0.1911, allocations: 174.8 kB / 450.7 MB, free: 40.11 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1911, allocations: 7.938 kB / 450.7 MB, free: 40.1 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001707/0.1913, allocations: 34.28 kB / 450.7 MB, free: 40.09 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.0008152/0.1921, allocations: 0.5418 MB / 451.3 MB, free: 39.88 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001403/0.1922, allocations: 81.03 kB / 451.3 MB, free: 39.86 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.634e-06/0.1922, allocations: 0 / 451.3 MB, free: 39.86 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.733e-05/0.1923, allocations: 41.81 kB / 451.4 MB, free: 39.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002487/0.1925, allocations: 32.05 kB / 451.4 MB, free: 39.83 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003756/0.1929, allocations: 325.6 kB / 451.7 MB, free: 39.6 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.075e-05/0.193, allocations: 104.9 kB / 451.8 MB, free: 39.52 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.05e-05/0.193, allocations: 18.88 kB / 451.9 MB, free: 39.52 MB / 410.7 MB Notification: Performance of SimCode: time 5.51e-07/0.193, allocations: 0 / 451.9 MB, free: 39.52 MB / 410.7 MB Notification: Performance of Templates: time 0.002465/0.1955, allocations: 2.314 MB / 454.2 MB, free: 39.26 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.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.112835516221821]