Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.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.0009704/0.0009704, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005112/0.006082, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0009313/0.0009313, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001171/0.002102, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 1.058/1.058, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09836/1.157, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.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.2553/0.2553, allocations: 32.8 MB / 276.8 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03859/0.2939, allocations: 12.52 MB / 289.3 MB, free: 8.688 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.475e-06/2.475e-06, allocations: 5.25 kB / 290.7 MB, free: 7.582 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.29e-05/2.538e-05, allocations: 3.078 kB / 290.7 MB, free: 7.578 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.002952/0.002977, allocations: 1.822 MB / 292.5 MB, free: 6.102 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00139/0.004367, allocations: 1.016 MB / 293.5 MB, free: 5.34 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.796e-05/0.004455, allocations: 7.688 kB / 293.5 MB, free: 5.336 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002433/0.004699, allocations: 89.39 kB / 293.6 MB, free: 5.27 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002622/0.004961, allocations: 115.4 kB / 293.7 MB, free: 5.156 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002118/0.005173, allocations: 83.59 kB / 293.8 MB, free: 5.074 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001781/0.005351, allocations: 119.6 kB / 293.9 MB, free: 4.957 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.019e-05/0.005441, allocations: 15.97 kB / 294 MB, free: 4.941 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001252/0.005566, allocations: 91.75 kB / 294.1 MB, free: 4.852 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.844e-05/0.005665, allocations: 47.88 kB / 294.1 MB, free: 4.805 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.005679, allocations: 8 kB / 294.1 MB, free: 4.797 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.005791, allocations: 67.89 kB / 294.2 MB, free: 4.73 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.07e-05/0.005842, allocations: 23.88 kB / 294.2 MB, free: 4.707 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.313e-05/0.005875, allocations: 15.94 kB / 294.2 MB, free: 4.691 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001715/0.006047, allocations: 119.5 kB / 294.3 MB, free: 4.574 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.284e-05/0.00606, allocations: 0 / 294.3 MB, free: 4.574 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.006061, allocations: 0 / 294.3 MB, free: 4.574 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.217e-05/0.006073, allocations: 0 / 294.3 MB, free: 4.574 MB / 282.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.0004421/0.006515, allocations: 356.4 kB / 294.7 MB, free: 4.203 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.105e-05/0.006546, allocations: 8.031 kB / 294.7 MB, free: 4.195 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.063e-05/0.006577, allocations: 16.92 kB / 294.7 MB, free: 4.18 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.006723, allocations: 150.1 kB / 294.8 MB, free: 4.008 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.006736, allocations: 384 / 294.8 MB, free: 4.008 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/0.006752, allocations: 4.375 kB / 294.9 MB, free: 4.004 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001001/0.006852, allocations: 73.69 kB / 294.9 MB, free: 3.922 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.006861, allocations: 3.938 kB / 294.9 MB, free: 3.918 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.293e-06/0.006868, allocations: 3.984 kB / 294.9 MB, free: 3.914 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.006873, allocations: 0 / 294.9 MB, free: 3.914 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.69e-05/0.006899, allocations: 11.98 kB / 294.9 MB, free: 3.902 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002184/0.007118, allocations: 177.9 kB / 295.1 MB, free: 3.711 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001476/0.007265, allocations: 93.23 kB / 295.2 MB, free: 3.609 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.998e-05/0.007285, allocations: 16.98 kB / 295.2 MB, free: 3.59 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.124e-05/0.007297, allocations: 3.938 kB / 295.2 MB, free: 3.586 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.714e-05/0.007394, allocations: 74.16 kB / 295.3 MB, free: 3.5 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.007395, allocations: 0 / 295.3 MB, free: 3.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004514/0.007846, allocations: 166.8 kB / 295.5 MB, free: 3.332 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.587e-05/0.007882, allocations: 59.34 kB / 295.5 MB, free: 3.262 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.008014, allocations: 193 kB / 295.7 MB, free: 3.055 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.008033, allocations: 29.7 kB / 295.7 MB, free: 3.02 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.936e-05/0.008072, allocations: 100.1 kB / 295.8 MB, free: 2.918 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.519e-05/0.008107, allocations: 35.69 kB / 295.9 MB, free: 2.883 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-05/0.008142, allocations: 25.7 kB / 295.9 MB, free: 2.852 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.921e-05/0.008231, allocations: 326.8 kB / 296.2 MB, free: 2.523 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.04e-05/0.008252, allocations: 10.83 kB / 296.2 MB, free: 2.512 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.714e-05/0.008289, allocations: 39.94 kB / 296.3 MB, free: 2.469 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.74e-05/0.008346, allocations: 49.11 kB / 296.3 MB, free: 2.414 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.008348, allocations: 0 / 296.3 MB, free: 2.414 MB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 9.379e-05/0.008441, allocations: 89.47 kB / 296.4 MB, free: 2.32 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.008455, allocations: 4 kB / 296.4 MB, free: 2.316 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.00846, allocations: 4 kB / 296.4 MB, free: 2.312 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.917e-06/0.008469, allocations: 0 / 296.4 MB, free: 2.312 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.174e-05/0.008541, allocations: 27.92 kB / 296.4 MB, free: 2.285 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.008545, allocations: 0 / 296.4 MB, free: 2.285 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.932e-05/0.008584, allocations: 11.98 kB / 296.4 MB, free: 2.273 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.008591, allocations: 0 / 296.4 MB, free: 2.273 MB / 282.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 7.494e-05/0.008666, allocations: 120.6 kB / 296.6 MB, free: 2.145 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.488e-05/0.00868, allocations: 11.98 kB / 296.6 MB, free: 2.133 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001266/0.008807, allocations: 92.95 kB / 296.7 MB, free: 2.039 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.00881, allocations: 4 kB / 296.7 MB, free: 2.035 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.008811, allocations: 0 / 296.7 MB, free: 2.035 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.008814, allocations: 3.938 kB / 296.7 MB, free: 2.031 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002484/0.009063, allocations: 328.2 kB / 297 MB, free: 1.68 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.009065, allocations: 0 / 297 MB, free: 1.68 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.485e-05/0.009099, allocations: 19.94 kB / 297 MB, free: 1.66 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.429e-05/0.009114, allocations: 19.88 kB / 297 MB, free: 1.641 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.009117, allocations: 4 kB / 297 MB, free: 1.637 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.009124, allocations: 8.062 kB / 297 MB, free: 1.629 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.009125, allocations: 0 / 297 MB, free: 1.629 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.009126, allocations: 4 kB / 297.1 MB, free: 1.625 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001137/0.00924, allocations: 227.8 kB / 297.3 MB, free: 1.379 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.009256, allocations: 4 kB / 297.3 MB, free: 1.375 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.789e-05/0.009294, allocations: 4 kB / 297.3 MB, free: 1.371 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.894e-05/0.009323, allocations: 7.984 kB / 297.3 MB, free: 1.363 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.716e-05/0.00934, allocations: 15.92 kB / 297.3 MB, free: 1.348 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.872e-05/0.009389, allocations: 57.59 kB / 297.4 MB, free: 1.289 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009389, allocations: 0 / 297.4 MB, free: 1.289 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001574/0.009547, allocations: 35.94 kB / 297.4 MB, free: 1.254 MB / 282.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.001577/0.01112, allocations: 0.722 MB / 298.1 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001093/0.01123, allocations: 52.77 kB / 298.2 MB, free: 0.875 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.248e-06/0.01124, allocations: 4 kB / 298.2 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.575e-05/0.01128, allocations: 28.78 kB / 298.2 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001978/0.01148, allocations: 47.97 kB / 298.2 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006159/0.01209, allocations: 268.1 kB / 298.5 MB, free: 0.5 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.836e-05/0.01215, allocations: 72.27 kB / 298.6 MB, free: 420 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.101e-05/0.0122, allocations: 12.66 kB / 298.6 MB, free: 408 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.25e-05/0.01228, allocations: 71.36 kB / 298.7 MB, free: 336 kB / 282.7 MB Notification: Performance of SimCode: time 1.402e-06/0.01229, allocations: 0 / 298.7 MB, free: 336 kB / 282.7 MB Notification: Performance of Templates: time 0.004193/0.01648, allocations: 2.345 MB / 301 MB, free: 14.03 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.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.0940202763304114]