Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 80.41 kB / 22.21 MB, free: 2.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 167.7 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9925/0.9925, allocations: 177.1 MB / 206 MB, free: 4.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1443/0.1443, allocations: 32.8 MB / 295.4 MB, free: 15.37 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.02e-07/9.02e-07, allocations: 0 / 377.3 MB, free: 25.52 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.033e-05/2.123e-05, allocations: 10.75 kB / 377.3 MB, free: 25.52 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.001928/0.001949, allocations: 1.762 MB / 379.1 MB, free: 23.74 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001397/0.003347, allocations: 1.711 MB / 380.8 MB, free: 22.02 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.529e-05/0.003402, allocations: 7.938 kB / 380.8 MB, free: 22.01 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001986/0.003601, allocations: 35.77 kB / 380.9 MB, free: 21.98 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002315/0.003832, allocations: 107.4 kB / 381 MB, free: 21.87 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001325/0.003964, allocations: 83.55 kB / 381.1 MB, free: 21.79 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001033/0.004068, allocations: 103.7 kB / 381.2 MB, free: 21.69 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.874e-05/0.004127, allocations: 7.984 kB / 381.2 MB, free: 21.68 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.431e-05/0.004191, allocations: 63.77 kB / 381.2 MB, free: 21.62 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.839e-05/0.004269, allocations: 35.89 kB / 381.3 MB, free: 21.58 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.004282, allocations: 8 kB / 381.3 MB, free: 21.57 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001133/0.004395, allocations: 99.88 kB / 381.4 MB, free: 21.48 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.383e-05/0.004429, allocations: 19.86 kB / 381.4 MB, free: 21.46 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.615e-05/0.004455, allocations: 27.91 kB / 381.4 MB, free: 21.43 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001651/0.00462, allocations: 155.5 kB / 381.6 MB, free: 21.28 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.004622, allocations: 0 / 381.6 MB, free: 21.28 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.004623, allocations: 0 / 381.6 MB, free: 21.28 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.004628, allocations: 0 / 381.6 MB, free: 21.28 MB / 314.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.0002963/0.004924, allocations: 459.7 kB / 382 MB, free: 20.79 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.661e-05/0.004951, allocations: 11.98 kB / 382 MB, free: 20.78 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.331e-05/0.004984, allocations: 12.89 kB / 382 MB, free: 20.77 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.005093, allocations: 157 kB / 382.2 MB, free: 20.59 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.005108, allocations: 4.375 kB / 382.2 MB, free: 20.59 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.372e-05/0.005122, allocations: 384 / 382.2 MB, free: 20.59 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/0.005229, allocations: 111.3 kB / 382.3 MB, free: 20.45 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.005237, allocations: 4 kB / 382.3 MB, free: 20.45 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.273e-06/0.005244, allocations: 0 / 382.3 MB, free: 20.45 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.005249, allocations: 0 / 382.3 MB, free: 20.45 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.624e-05/0.005275, allocations: 7.984 kB / 382.3 MB, free: 20.44 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001301/0.006576, allocations: 260.4 kB / 382.6 MB, free: 20.16 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.006683, allocations: 63.02 kB / 382.6 MB, free: 20.09 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.38e-05/0.006707, allocations: 19.67 kB / 382.6 MB, free: 20.06 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.122e-05/0.006718, allocations: 4 kB / 382.7 MB, free: 20.06 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.234e-05/0.00681, allocations: 57.05 kB / 382.7 MB, free: 19.99 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.006812, allocations: 4 kB / 382.7 MB, free: 19.98 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003939/0.007206, allocations: 137.4 kB / 382.8 MB, free: 19.84 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.104e-05/0.007237, allocations: 85.09 kB / 382.9 MB, free: 19.74 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.007361, allocations: 212.7 kB / 383.1 MB, free: 19.52 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.007372, allocations: 25.7 kB / 383.2 MB, free: 19.49 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.906e-05/0.007411, allocations: 146.9 kB / 383.3 MB, free: 19.34 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.693e-05/0.007438, allocations: 23.84 kB / 383.3 MB, free: 19.32 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.124e-05/0.007479, allocations: 35.3 kB / 383.4 MB, free: 19.27 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.935e-05/0.007539, allocations: 0.4961 MB / 383.9 MB, free: 18.77 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.34e-05/0.007562, allocations: 15.92 kB / 383.9 MB, free: 18.75 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.285e-05/0.007605, allocations: 64.75 kB / 383.9 MB, free: 18.67 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.621e-05/0.007661, allocations: 43.73 kB / 384 MB, free: 18.62 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.007662, allocations: 0 / 384 MB, free: 18.62 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001212/0.007783, allocations: 81.56 kB / 384.1 MB, free: 18.53 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.0078, allocations: 14.09 kB / 384.1 MB, free: 18.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.007806, allocations: 4 kB / 384.1 MB, free: 18.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.007816, allocations: 0 / 384.1 MB, free: 18.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.939e-05/0.007896, allocations: 15.94 kB / 384.1 MB, free: 18.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.007899, allocations: 4 kB / 384.1 MB, free: 18.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.221e-05/0.007952, allocations: 15.88 kB / 384.1 MB, free: 18.48 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.007959, allocations: 4 kB / 384.1 MB, free: 18.48 MB / 314.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 6.639e-05/0.008025, allocations: 168.5 kB / 384.3 MB, free: 18.3 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.452e-05/0.00805, allocations: 11.95 kB / 384.3 MB, free: 18.29 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001586/0.008208, allocations: 98.52 kB / 384.4 MB, free: 18.19 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.008211, allocations: 8 kB / 384.4 MB, free: 18.18 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.008213, allocations: 0 / 384.4 MB, free: 18.18 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.008217, allocations: 0 / 384.4 MB, free: 18.18 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002726/0.00849, allocations: 357.6 kB / 384.7 MB, free: 17.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.008492, allocations: 0 / 384.7 MB, free: 17.79 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.4e-05/0.008526, allocations: 8 kB / 384.8 MB, free: 17.79 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.008529, allocations: 4 kB / 384.8 MB, free: 17.78 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.008537, allocations: 4 kB / 384.8 MB, free: 17.78 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.008539, allocations: 0 / 384.8 MB, free: 17.78 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.008541, allocations: 4 kB / 384.8 MB, free: 17.77 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000132/0.008673, allocations: 259.4 kB / 385 MB, free: 17.5 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.552e-05/0.008689, allocations: 11.94 kB / 385 MB, free: 17.48 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/0.008711, allocations: 4 kB / 385 MB, free: 17.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.836e-05/0.008779, allocations: 4 kB / 385 MB, free: 17.48 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.955e-05/0.008809, allocations: 7.984 kB / 385 MB, free: 17.47 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.008822, allocations: 3.938 kB / 385 MB, free: 17.46 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.959e-05/0.008881, allocations: 162.4 kB / 385.2 MB, free: 17.31 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008881, allocations: 0 / 385.2 MB, free: 17.31 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002732/0.009155, allocations: 55.73 kB / 385.3 MB, free: 17.25 MB / 314.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.001061/0.01022, allocations: 0.5395 MB / 385.8 MB, free: 16.92 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.639e-05/0.01031, allocations: 51.59 kB / 385.9 MB, free: 16.86 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.01031, allocations: 0 / 385.9 MB, free: 16.86 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.027e-05/0.01034, allocations: 31.66 kB / 385.9 MB, free: 16.83 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002208/0.01056, allocations: 26.8 kB / 385.9 MB, free: 16.8 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002744/0.01084, allocations: 207.6 kB / 386.1 MB, free: 16.57 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.444e-05/0.01086, allocations: 63.34 kB / 386.2 MB, free: 16.49 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.154e-05/0.01091, allocations: 25.39 kB / 386.2 MB, free: 16.46 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.51e-05/0.01097, allocations: 102.2 kB / 386.3 MB, free: 16.36 MB / 314.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01097, allocations: 0 / 386.3 MB, free: 16.36 MB / 314.7 MB Notification: Performance of Templates: time 0.003906/0.01488, allocations: 2.804 MB / 389.1 MB, free: 13.58 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4412422059103847]