Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.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.001379/0.001379, 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.007879/0.007879, allocations: 160.8 kB / 24.7 MB, free: 9.441 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.926/0.926, allocations: 177 MB / 204.9 MB, free: 5.723 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.2842/0.2842, allocations: 34.24 MB / 295.6 MB, free: 0.6836 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.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88") translateModel(ModelicaTest.Tables.CombiTimeTable.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 443.5 MB, free: 0.9531 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.721e-05/2.867e-05, allocations: 2.281 kB / 443.5 MB, free: 0.9492 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.1894/0.1894, allocations: 2.165 MB / 445.7 MB, free: 43.42 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001308/0.1908, allocations: 1.272 MB / 447 MB, free: 42.71 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001071/0.1909, allocations: 6.906 kB / 447 MB, free: 42.71 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003289/0.1912, allocations: 130 kB / 447.1 MB, free: 42.66 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003547/0.1915, allocations: 256.1 kB / 447.3 MB, free: 42.53 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002137/0.1918, allocations: 183.7 kB / 447.5 MB, free: 42.44 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002755/0.192, allocations: 478 kB / 448 MB, free: 42.22 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.1922, allocations: 37.91 kB / 448 MB, free: 42.21 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002296/0.1924, allocations: 347.6 kB / 448.4 MB, free: 42.1 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000114/0.1925, allocations: 139.3 kB / 448.5 MB, free: 42.05 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.035e-05/0.1925, allocations: 16.88 kB / 448.5 MB, free: 42.05 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.687e-05/0.1926, allocations: 74.47 kB / 448.6 MB, free: 42.04 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.046e-05/0.1927, allocations: 141 kB / 448.7 MB, free: 41.97 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.467e-05/0.1928, allocations: 94.08 kB / 448.8 MB, free: 41.93 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002954/0.1931, allocations: 434.4 kB / 449.2 MB, free: 41.75 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1931, allocations: 3.281 kB / 449.2 MB, free: 41.75 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1931, allocations: 0 / 449.2 MB, free: 41.75 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.1931, allocations: 2 kB / 449.2 MB, free: 41.75 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0006372/0.1937, allocations: 0.7602 MB / 450 MB, free: 41.17 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.1938, allocations: 8.625 kB / 450 MB, free: 41.17 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.72e-05/0.1938, allocations: 65.08 kB / 450.1 MB, free: 41.13 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003461/0.1942, allocations: 348 kB / 450.4 MB, free: 40.87 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.1942, allocations: 10.16 kB / 450.4 MB, free: 40.87 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.887e-05/0.1942, allocations: 19.97 kB / 450.5 MB, free: 40.86 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002391/0.1945, allocations: 202.8 kB / 450.6 MB, free: 40.75 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.1945, allocations: 6.797 kB / 450.7 MB, free: 40.75 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.1945, allocations: 11.64 kB / 450.7 MB, free: 40.75 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.1945, allocations: 9.062 kB / 450.7 MB, free: 40.74 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001329/0.1946, allocations: 96.14 kB / 450.8 MB, free: 40.72 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004936/0.1951, allocations: 0.7181 MB / 451.5 MB, free: 40.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003622/0.1955, allocations: 241.5 kB / 451.7 MB, free: 40.02 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.456e-05/0.1956, allocations: 91.56 kB / 451.8 MB, free: 39.96 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/0.1956, allocations: 5.812 kB / 451.8 MB, free: 39.96 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002045/0.1958, allocations: 207.4 kB / 452 MB, free: 39.84 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 1.623e-06/0.1958, allocations: 4 kB / 452 MB, free: 39.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.001287/0.1971, allocations: 1.168 MB / 453.2 MB, free: 39.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/0.1971, allocations: 138.2 kB / 453.3 MB, free: 39.12 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004605/0.1976, allocations: 0.8026 MB / 454.1 MB, free: 38.83 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.1976, allocations: 36.39 kB / 454.2 MB, free: 38.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.37e-05/0.1977, allocations: 254.8 kB / 454.4 MB, free: 38.58 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.53e-05/0.1978, allocations: 147.4 kB / 454.6 MB, free: 38.47 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.973e-05/0.1979, allocations: 82.81 kB / 454.6 MB, free: 38.42 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.758e-05/0.198, allocations: 378.5 kB / 455 MB, free: 38.08 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/0.1981, allocations: 115.5 kB / 455.1 MB, free: 38.04 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001428/0.1982, allocations: 190.1 kB / 455.3 MB, free: 37.93 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002809/0.1985, allocations: 340.2 kB / 455.6 MB, free: 37.73 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.1985, allocations: 0 / 455.6 MB, free: 37.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003897/0.1989, allocations: 459.4 kB / 456.1 MB, free: 37.54 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.1989, allocations: 5.688 kB / 456.1 MB, free: 37.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.1989, allocations: 2.562 kB / 456.1 MB, free: 37.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.1989, allocations: 4.094 kB / 456.1 MB, free: 37.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/0.1991, allocations: 90.52 kB / 456.2 MB, free: 37.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.1991, allocations: 5.75 kB / 456.2 MB, free: 37.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.477e-05/0.1992, allocations: 17.14 kB / 456.2 MB, free: 37.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.629e-05/0.1992, allocations: 16.7 kB / 456.2 MB, free: 37.52 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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 0.0001438/0.1993, allocations: 237.3 kB / 456.5 MB, free: 37.36 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.628e-05/0.1994, allocations: 71.81 kB / 456.5 MB, free: 37.32 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005188/0.1999, allocations: 0.521 MB / 457.1 MB, free: 37.11 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.1999, allocations: 10.06 kB / 457.1 MB, free: 37.11 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.1999, allocations: 0 / 457.1 MB, free: 37.11 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.1999, allocations: 2.875 kB / 457.1 MB, free: 37.11 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008636/0.2008, allocations: 1.253 MB / 458.3 MB, free: 36.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.2008, allocations: 3.031 kB / 458.3 MB, free: 36.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.595e-05/0.2009, allocations: 70.97 kB / 458.4 MB, free: 36.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.2009, allocations: 10.25 kB / 458.4 MB, free: 36.29 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.2009, allocations: 17.39 kB / 458.4 MB, free: 36.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.628e-06/0.2009, allocations: 9.234 kB / 458.4 MB, free: 36.29 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.2009, allocations: 6.906 kB / 458.4 MB, free: 36.28 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004478/0.2014, allocations: 0.8127 MB / 459.2 MB, free: 35.71 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.765e-05/0.2015, allocations: 105.1 kB / 459.3 MB, free: 35.66 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.938e-05/0.2015, allocations: 13.94 kB / 459.4 MB, free: 35.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/0.2017, allocations: 21.05 kB / 459.4 MB, free: 35.64 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.81e-05/0.2017, allocations: 36.56 kB / 459.4 MB, free: 35.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.899e-05/0.2017, allocations: 32.16 kB / 459.4 MB, free: 35.63 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003366/0.2021, allocations: 0.591 MB / 460 MB, free: 35.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2021, allocations: 3.281 kB / 460 MB, free: 35.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003424/0.2024, allocations: 99.17 kB / 460.1 MB, free: 35.38 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0009066/0.2033, allocations: 0.5575 MB / 460.7 MB, free: 35.14 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003836/0.2037, allocations: 314.7 kB / 461 MB, free: 35.04 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.2037, allocations: 0 / 461 MB, free: 35.04 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001611/0.2039, allocations: 159.5 kB / 461.2 MB, free: 35 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005696/0.2044, allocations: 126.5 kB / 461.3 MB, free: 34.95 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.2055, allocations: 1.126 MB / 462.4 MB, free: 34.32 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000174/0.2056, allocations: 300.4 kB / 462.7 MB, free: 34.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.853e-05/0.2057, allocations: 55.89 kB / 462.8 MB, free: 34.2 MB / 410.7 MB Notification: Performance of SimCode: time 1.343e-06/0.2057, allocations: 0 / 462.8 MB, free: 34.2 MB / 410.7 MB Notification: Performance of Templates: time 0.005786/0.2115, allocations: 6.734 MB / 469.5 MB, free: 33.32 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.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.512101006694138]