Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.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.0009603/0.0009603, allocations: 80.92 kB / 21.5 MB, free: 2.992 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.000996/0.000996, allocations: 173.9 kB / 24.92 MB, free: 9.188 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.9324/0.9324, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.2727/0.2727, allocations: 32.8 MB / 294.6 MB, free: 1.246 MB / 266.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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 323.4 MB, free: 9.586 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.801e-05/1.932e-05, allocations: 3.406 kB / 323.4 MB, free: 9.582 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.002372/0.002391, allocations: 1.798 MB / 325.2 MB, free: 7.77 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001327/0.003718, allocations: 0.9974 MB / 326.2 MB, free: 6.766 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.682e-05/0.003795, allocations: 7.938 kB / 326.2 MB, free: 6.758 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003063/0.004101, allocations: 35.72 kB / 326.2 MB, free: 6.723 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002707/0.004372, allocations: 103.5 kB / 326.3 MB, free: 6.621 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001767/0.004548, allocations: 75.66 kB / 326.4 MB, free: 6.547 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001478/0.004696, allocations: 111.6 kB / 326.5 MB, free: 6.438 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.813e-05/0.004774, allocations: 13.36 kB / 326.5 MB, free: 6.426 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.267e-05/0.004857, allocations: 47.84 kB / 326.5 MB, free: 6.379 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.944e-05/0.004927, allocations: 31.89 kB / 326.6 MB, free: 6.348 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.333e-05/0.00494, allocations: 4 kB / 326.6 MB, free: 6.344 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.951e-05/0.005019, allocations: 47.86 kB / 326.6 MB, free: 6.297 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.951e-05/0.005059, allocations: 23.92 kB / 326.7 MB, free: 6.273 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.143e-05/0.00509, allocations: 19.92 kB / 326.7 MB, free: 6.254 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000154/0.005244, allocations: 103.6 kB / 326.8 MB, free: 6.152 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.543e-06/0.005246, allocations: 0 / 326.8 MB, free: 6.152 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.005247, allocations: 0 / 326.8 MB, free: 6.152 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.00525, allocations: 0 / 326.8 MB, free: 6.152 MB / 298.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.0003743/0.005625, allocations: 317.4 kB / 327.1 MB, free: 5.82 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.005663, allocations: 12.03 kB / 327.1 MB, free: 5.809 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.393e-05/0.005697, allocations: 8.922 kB / 327.1 MB, free: 5.801 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/0.005864, allocations: 155.4 kB / 327.3 MB, free: 5.625 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.005883, allocations: 4.375 kB / 327.3 MB, free: 5.621 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.842e-05/0.005901, allocations: 384 / 327.3 MB, free: 5.621 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001151/0.006016, allocations: 69.77 kB / 327.3 MB, free: 5.543 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.006029, allocations: 3.938 kB / 327.3 MB, free: 5.539 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.006037, allocations: 0 / 327.3 MB, free: 5.539 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.006044, allocations: 3.984 kB / 327.3 MB, free: 5.535 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.051e-05/0.006074, allocations: 8 kB / 327.3 MB, free: 5.527 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002388/0.006313, allocations: 162 kB / 327.5 MB, free: 5.352 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.035e-05/0.006403, allocations: 89.23 kB / 327.6 MB, free: 5.254 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.251e-05/0.006426, allocations: 16.84 kB / 327.6 MB, free: 5.234 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.091e-05/0.006437, allocations: 0 / 327.6 MB, free: 5.234 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.602e-05/0.006533, allocations: 70.16 kB / 327.7 MB, free: 5.152 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.006534, allocations: 0 / 327.7 MB, free: 5.152 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003/0.006834, allocations: 117.5 kB / 327.8 MB, free: 5.031 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.103e-05/0.006865, allocations: 51.41 kB / 327.8 MB, free: 4.969 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.00698, allocations: 184.8 kB / 328 MB, free: 4.773 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.006995, allocations: 33.64 kB / 328.1 MB, free: 4.734 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.207e-05/0.007028, allocations: 88.12 kB / 328.1 MB, free: 4.645 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.163e-05/0.007059, allocations: 31.77 kB / 328.2 MB, free: 4.613 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.031e-05/0.007089, allocations: 17.72 kB / 328.2 MB, free: 4.59 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.662e-05/0.007166, allocations: 326.8 kB / 328.5 MB, free: 4.262 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.961e-05/0.007186, allocations: 22.75 kB / 328.5 MB, free: 4.238 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.173e-05/0.007207, allocations: 17.72 kB / 328.5 MB, free: 4.215 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.449e-05/0.007252, allocations: 44.5 kB / 328.6 MB, free: 4.164 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.007253, allocations: 0 / 328.6 MB, free: 4.164 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.97e-05/0.007333, allocations: 72.38 kB / 328.7 MB, free: 4.086 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.007344, allocations: 4 kB / 328.7 MB, free: 4.082 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.007349, allocations: 4 kB / 328.7 MB, free: 4.078 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.939e-06/0.007359, allocations: 0 / 328.7 MB, free: 4.078 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.134e-05/0.00742, allocations: 16 kB / 328.7 MB, free: 4.062 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.007426, allocations: 11.95 kB / 328.7 MB, free: 4.051 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.732e-05/0.007453, allocations: 8.375 kB / 328.7 MB, free: 4.043 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.461e-06/0.007458, allocations: 0 / 328.7 MB, free: 4.043 MB / 298.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.094e-05/0.007519, allocations: 116.7 kB / 328.8 MB, free: 3.918 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.368e-05/0.007533, allocations: 15.92 kB / 328.8 MB, free: 3.902 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001043/0.007637, allocations: 83.06 kB / 328.9 MB, free: 3.812 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.007639, allocations: 0 / 328.9 MB, free: 3.812 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.00764, allocations: 0 / 328.9 MB, free: 3.812 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.007645, allocations: 3.984 kB / 328.9 MB, free: 3.809 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002111/0.007856, allocations: 299.4 kB / 329.2 MB, free: 3.488 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.007858, allocations: 0 / 329.2 MB, free: 3.488 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.525e-05/0.007883, allocations: 12 kB / 329.2 MB, free: 3.477 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.007885, allocations: 0 / 329.2 MB, free: 3.477 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.007894, allocations: 4 kB / 329.2 MB, free: 3.473 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.007895, allocations: 0 / 329.2 MB, free: 3.473 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.007897, allocations: 4 kB / 329.2 MB, free: 3.469 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001096/0.008007, allocations: 215 kB / 329.4 MB, free: 3.238 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.083e-05/0.008018, allocations: 7.953 kB / 329.4 MB, free: 3.23 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.008034, allocations: 4 kB / 329.5 MB, free: 3.227 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.136e-05/0.008075, allocations: 8.031 kB / 329.5 MB, free: 3.219 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.65e-05/0.008101, allocations: 11.97 kB / 329.5 MB, free: 3.207 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.008112, allocations: 0 / 329.5 MB, free: 3.207 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.51e-05/0.008157, allocations: 55.58 kB / 329.5 MB, free: 3.148 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.008157, allocations: 0 / 329.5 MB, free: 3.148 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001607/0.008318, allocations: 27.92 kB / 329.6 MB, free: 3.121 MB / 298.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.00125/0.009568, allocations: 0.5839 MB / 330.1 MB, free: 2.84 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.548e-05/0.009664, allocations: 32.84 kB / 330.2 MB, free: 2.805 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.009669, allocations: 4 kB / 330.2 MB, free: 2.801 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.384e-05/0.009703, allocations: 28.77 kB / 330.2 MB, free: 2.77 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001902/0.009893, allocations: 35.92 kB / 330.2 MB, free: 2.734 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002987/0.01019, allocations: 215.8 kB / 330.4 MB, free: 2.492 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.988e-05/0.01023, allocations: 71.33 kB / 330.5 MB, free: 2.402 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.448e-05/0.01027, allocations: 13.28 kB / 330.5 MB, free: 2.387 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.339e-05/0.01033, allocations: 67.36 kB / 330.6 MB, free: 2.32 MB / 298.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01033, allocations: 3.938 kB / 330.6 MB, free: 2.316 MB / 298.7 MB Notification: Performance of Templates: time 0.003454/0.01378, allocations: 2.018 MB / 332.6 MB, free: 336 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.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: 2.8404336790554225]