Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.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.0008401/0.0008401, 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.003936/0.003936, allocations: 159.7 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.8987/0.8987, allocations: 177 MB / 204.9 MB, free: 5.762 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.2517/0.2517, allocations: 34.24 MB / 295.6 MB, free: 0.6914 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.Test87,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.Test87") translateModel(ModelicaTest.Tables.CombiTimeTable.Test87,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.Test87") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 443.5 MB, free: 0.9844 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.864e-05/4.033e-05, allocations: 2.281 kB / 443.5 MB, free: 0.9805 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.201/0.201, allocations: 2.165 MB / 445.7 MB, free: 43.39 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001428/0.2024, allocations: 1.277 MB / 447 MB, free: 42.71 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001344/0.2026, allocations: 9.75 kB / 447 MB, free: 42.71 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003277/0.2029, allocations: 136.2 kB / 447.1 MB, free: 42.66 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00039/0.2033, allocations: 263.4 kB / 447.4 MB, free: 42.53 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000285/0.2036, allocations: 191.7 kB / 447.5 MB, free: 42.44 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003339/0.2039, allocations: 474.2 kB / 448 MB, free: 42.23 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.204, allocations: 45.88 kB / 448.1 MB, free: 42.2 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002669/0.2043, allocations: 389.2 kB / 448.4 MB, free: 42.1 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/0.2044, allocations: 143.6 kB / 448.6 MB, free: 42.05 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.885e-05/0.2044, allocations: 21.5 kB / 448.6 MB, free: 42.05 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.2045, allocations: 74.89 kB / 448.7 MB, free: 42.03 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.333e-05/0.2046, allocations: 160.2 kB / 448.8 MB, free: 41.96 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.513e-05/0.2047, allocations: 103.8 kB / 448.9 MB, free: 41.91 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002998/0.205, allocations: 461.8 kB / 449.4 MB, free: 41.73 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.205, allocations: 0 / 449.4 MB, free: 41.73 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.205, allocations: 3.938 kB / 449.4 MB, free: 41.73 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.205, allocations: 3.094 kB / 449.4 MB, free: 41.73 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.0006295/0.2056, allocations: 0.8303 MB / 450.2 MB, free: 41.09 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.2057, allocations: 11.75 kB / 450.2 MB, free: 41.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.544e-05/0.2057, allocations: 78.2 kB / 450.3 MB, free: 41.05 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003263/0.2061, allocations: 363.4 kB / 450.7 MB, free: 40.78 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.2061, allocations: 16.03 kB / 450.7 MB, free: 40.77 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.653e-05/0.2061, allocations: 19.7 kB / 450.7 MB, free: 40.77 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002264/0.2063, allocations: 200.8 kB / 450.9 MB, free: 40.66 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.2063, allocations: 3.75 kB / 450.9 MB, free: 40.66 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.2064, allocations: 10.64 kB / 450.9 MB, free: 40.66 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.2064, allocations: 6.5 kB / 450.9 MB, free: 40.65 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001278/0.2065, allocations: 99.95 kB / 451 MB, free: 40.62 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00047/0.207, allocations: 0.7465 MB / 451.8 MB, free: 40.05 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003394/0.2073, allocations: 242.9 kB / 452 MB, free: 39.92 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.858e-05/0.2074, allocations: 92.58 kB / 452.1 MB, free: 39.86 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.494e-05/0.2074, allocations: 3.25 kB / 452.1 MB, free: 39.86 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000191/0.2076, allocations: 202.6 kB / 452.3 MB, free: 39.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 1.162e-06/0.2076, allocations: 0 / 452.3 MB, free: 39.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.001265/0.2089, allocations: 1.234 MB / 453.5 MB, free: 39.14 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.487e-05/0.2089, allocations: 134 kB / 453.6 MB, free: 38.99 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005524/0.2094, allocations: 0.9729 MB / 454.6 MB, free: 38.64 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.2095, allocations: 43.17 kB / 454.7 MB, free: 38.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.2096, allocations: 281.6 kB / 454.9 MB, free: 38.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.97e-05/0.2096, allocations: 151.7 kB / 455.1 MB, free: 38.26 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.179e-05/0.2097, allocations: 82.89 kB / 455.2 MB, free: 38.21 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.412e-05/0.2097, allocations: 316.1 kB / 455.5 MB, free: 37.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.2099, allocations: 122.6 kB / 455.6 MB, free: 37.86 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001459/0.21, allocations: 189.3 kB / 455.8 MB, free: 37.75 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002824/0.2103, allocations: 333.4 kB / 456.1 MB, free: 37.55 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.2103, allocations: 0 / 456.1 MB, free: 37.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003839/0.2107, allocations: 466.1 kB / 456.6 MB, free: 37.36 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.2107, allocations: 5.688 kB / 456.6 MB, free: 37.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.2107, allocations: 2.938 kB / 456.6 MB, free: 37.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.2107, allocations: 4.656 kB / 456.6 MB, free: 37.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/0.2108, allocations: 95.62 kB / 456.7 MB, free: 37.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.2108, allocations: 2.906 kB / 456.7 MB, free: 37.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.994e-05/0.2109, allocations: 20.02 kB / 456.7 MB, free: 37.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.605e-05/0.2109, allocations: 18.41 kB / 456.7 MB, free: 37.33 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.0001469/0.2111, allocations: 259.3 kB / 457 MB, free: 37.17 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.461e-05/0.2111, allocations: 86.94 kB / 457 MB, free: 37.12 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000495/0.2116, allocations: 0.5291 MB / 457.6 MB, free: 36.91 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.2116, allocations: 10.62 kB / 457.6 MB, free: 36.91 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.2116, allocations: 0 / 457.6 MB, free: 36.91 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.2117, allocations: 3.234 kB / 457.6 MB, free: 36.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008139/0.2125, allocations: 1.271 MB / 458.9 MB, free: 36.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.2125, allocations: 2.969 kB / 458.9 MB, free: 36.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.783e-05/0.2126, allocations: 75.81 kB / 458.9 MB, free: 36.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.2126, allocations: 6.344 kB / 458.9 MB, free: 36.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.2126, allocations: 13.34 kB / 459 MB, free: 36.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.2126, allocations: 10.22 kB / 459 MB, free: 36.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.2126, allocations: 3.219 kB / 459 MB, free: 36.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004263/0.213, allocations: 0.8185 MB / 459.8 MB, free: 35.51 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.2131, allocations: 117.6 kB / 459.9 MB, free: 35.45 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.01e-05/0.2132, allocations: 12.97 kB / 459.9 MB, free: 35.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001467/0.2133, allocations: 24.44 kB / 459.9 MB, free: 35.43 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.673e-05/0.2134, allocations: 42.67 kB / 460 MB, free: 35.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.534e-05/0.2134, allocations: 25.53 kB / 460 MB, free: 35.42 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004011/0.2138, allocations: 0.719 MB / 460.7 MB, free: 35.16 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2138, allocations: 0 / 460.7 MB, free: 35.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003264/0.2141, allocations: 94.69 kB / 460.8 MB, free: 35.14 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.0008398/0.2149, allocations: 0.5659 MB / 461.4 MB, free: 34.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003416/0.2153, allocations: 321.1 kB / 461.7 MB, free: 34.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.2153, allocations: 0 / 461.7 MB, free: 34.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001517/0.2154, allocations: 156.6 kB / 461.8 MB, free: 34.75 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005477/0.216, allocations: 120.8 kB / 462 MB, free: 34.72 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.217, allocations: 1.278 MB / 463.2 MB, free: 34.03 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001966/0.2172, allocations: 337 kB / 463.6 MB, free: 33.92 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.439e-05/0.2173, allocations: 51.86 kB / 463.6 MB, free: 33.9 MB / 410.7 MB Notification: Performance of SimCode: time 5.72e-07/0.2173, allocations: 3.375 kB / 463.6 MB, free: 33.9 MB / 410.7 MB Notification: Performance of Templates: time 0.005471/0.2228, allocations: 7.088 MB / 470.7 MB, free: 32.95 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.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.7168945940211415]