Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.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.001011/0.001011, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001073/0.001073, allocations: 170.6 kB / 24.91 MB, free: 8.723 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.9719/0.9719, allocations: 177.1 MB / 205.3 MB, free: 5.109 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.2396/0.2396, allocations: 32.8 MB / 294.6 MB, free: 1.188 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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 323.4 MB, free: 9.586 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.396e-05/2.557e-05, allocations: 5.359 kB / 323.4 MB, free: 9.582 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.002341/0.002367, allocations: 1.795 MB / 325.2 MB, free: 7.773 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001181/0.003548, allocations: 1.013 MB / 326.2 MB, free: 6.754 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.78e-05/0.003616, allocations: 11.88 kB / 326.2 MB, free: 6.742 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000246/0.003862, allocations: 27.78 kB / 326.2 MB, free: 6.715 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004544/0.004316, allocations: 91.48 kB / 326.3 MB, free: 6.625 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000231/0.004547, allocations: 79.66 kB / 326.4 MB, free: 6.547 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001616/0.004709, allocations: 111.6 kB / 326.5 MB, free: 6.438 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.438e-05/0.004793, allocations: 13.36 kB / 326.5 MB, free: 6.426 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.096e-05/0.004884, allocations: 47.84 kB / 326.5 MB, free: 6.379 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.433e-05/0.004959, allocations: 27.89 kB / 326.6 MB, free: 6.352 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.004973, allocations: 4 kB / 326.6 MB, free: 6.348 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.886e-05/0.005062, allocations: 47.92 kB / 326.6 MB, free: 6.301 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.292e-05/0.005104, allocations: 23.92 kB / 326.6 MB, free: 6.277 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.189e-05/0.005136, allocations: 19.92 kB / 326.7 MB, free: 6.258 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001614/0.005298, allocations: 95.61 kB / 326.8 MB, free: 6.164 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.005301, allocations: 0 / 326.8 MB, free: 6.164 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.005302, allocations: 0 / 326.8 MB, free: 6.164 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.005306, allocations: 0 / 326.8 MB, free: 6.164 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.0003376/0.005644, allocations: 313.4 kB / 327.1 MB, free: 5.836 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.972e-05/0.005673, allocations: 8.031 kB / 327.1 MB, free: 5.828 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.045e-05/0.005704, allocations: 8.922 kB / 327.1 MB, free: 5.82 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/0.005855, allocations: 160.8 kB / 327.2 MB, free: 5.641 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.005868, allocations: 384 / 327.2 MB, free: 5.641 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.694e-05/0.005885, allocations: 4.375 kB / 327.2 MB, free: 5.637 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.86e-05/0.005984, allocations: 61.77 kB / 327.3 MB, free: 5.566 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.005992, allocations: 3.938 kB / 327.3 MB, free: 5.562 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.352e-06/0.005999, allocations: 0 / 327.3 MB, free: 5.562 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.006002, allocations: 0 / 327.3 MB, free: 5.562 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.334e-05/0.006026, allocations: 11.98 kB / 327.3 MB, free: 5.551 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001869/0.006212, allocations: 158 kB / 327.5 MB, free: 5.379 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.674e-05/0.006299, allocations: 101.3 kB / 327.6 MB, free: 5.27 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.951e-05/0.006319, allocations: 12.86 kB / 327.6 MB, free: 5.254 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.658e-06/0.006328, allocations: 0 / 327.6 MB, free: 5.254 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.563e-05/0.006414, allocations: 70.14 kB / 327.6 MB, free: 5.172 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 7.12e-07/0.006415, allocations: 0 / 327.6 MB, free: 5.172 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002656/0.00668, allocations: 117.5 kB / 327.8 MB, free: 5.051 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.643e-05/0.006707, allocations: 51.41 kB / 327.8 MB, free: 4.988 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.367e-05/0.0068, allocations: 158.9 kB / 328 MB, free: 4.82 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.006816, allocations: 33.7 kB / 328 MB, free: 4.781 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.822e-05/0.006844, allocations: 92.11 kB / 328.1 MB, free: 4.688 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.491e-05/0.006869, allocations: 27.78 kB / 328.1 MB, free: 4.66 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.92e-05/0.006898, allocations: 21.7 kB / 328.1 MB, free: 4.633 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.617e-05/0.006974, allocations: 326.8 kB / 328.5 MB, free: 4.305 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.706e-05/0.006991, allocations: 14.77 kB / 328.5 MB, free: 4.289 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.14e-05/0.007013, allocations: 21.72 kB / 328.5 MB, free: 4.262 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.278e-05/0.007056, allocations: 44.5 kB / 328.5 MB, free: 4.211 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.007057, allocations: 3.938 kB / 328.5 MB, free: 4.207 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.393e-05/0.00713, allocations: 72.38 kB / 328.6 MB, free: 4.129 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.007141, allocations: 4.031 kB / 328.6 MB, free: 4.125 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.007146, allocations: 4 kB / 328.6 MB, free: 4.121 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.007156, allocations: 4 kB / 328.6 MB, free: 4.117 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.609e-05/0.007212, allocations: 12 kB / 328.6 MB, free: 4.105 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.507e-06/0.007216, allocations: 3.984 kB / 328.6 MB, free: 4.102 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.859e-05/0.007244, allocations: 12 kB / 328.7 MB, free: 4.09 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.007249, allocations: 0 / 328.7 MB, free: 4.09 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.056e-05/0.00731, allocations: 116.6 kB / 328.8 MB, free: 3.965 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.363e-05/0.007323, allocations: 15.92 kB / 328.8 MB, free: 3.949 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.798e-05/0.007421, allocations: 74.39 kB / 328.9 MB, free: 3.871 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.007423, allocations: 4 kB / 328.9 MB, free: 3.867 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-06/0.007424, allocations: 0 / 328.9 MB, free: 3.867 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.007427, allocations: 0 / 328.9 MB, free: 3.867 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002019/0.007629, allocations: 299.4 kB / 329.2 MB, free: 3.547 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.00763, allocations: 4 kB / 329.2 MB, free: 3.543 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.353e-05/0.007654, allocations: 8 kB / 329.2 MB, free: 3.535 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.007657, allocations: 384 / 329.2 MB, free: 3.535 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.007663, allocations: 0 / 329.2 MB, free: 3.535 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.007665, allocations: 8 kB / 329.2 MB, free: 3.527 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.007667, allocations: 0 / 329.2 MB, free: 3.527 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000108/0.007775, allocations: 223 kB / 329.4 MB, free: 3.289 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.06e-05/0.007785, allocations: 7.953 kB / 329.4 MB, free: 3.281 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.0078, allocations: 3.984 kB / 329.4 MB, free: 3.277 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.922e-05/0.00784, allocations: 4 kB / 329.4 MB, free: 3.273 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.491e-05/0.007864, allocations: 11.98 kB / 329.4 MB, free: 3.262 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.769e-06/0.007874, allocations: 0 / 329.4 MB, free: 3.262 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.633e-05/0.007911, allocations: 45.17 kB / 329.5 MB, free: 3.215 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007911, allocations: 0 / 329.5 MB, free: 3.215 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000141/0.008052, allocations: 23.94 kB / 329.5 MB, free: 3.191 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.001237/0.009289, allocations: 0.5863 MB / 330.1 MB, free: 2.914 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.006e-05/0.009379, allocations: 40.77 kB / 330.1 MB, free: 2.871 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.009382, allocations: 0 / 330.1 MB, free: 2.871 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.9e-05/0.009411, allocations: 32.91 kB / 330.1 MB, free: 2.836 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001716/0.009583, allocations: 35.91 kB / 330.2 MB, free: 2.801 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002807/0.009864, allocations: 212.1 kB / 330.4 MB, free: 2.559 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.58e-05/0.009899, allocations: 63.34 kB / 330.4 MB, free: 2.477 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.282e-05/0.009932, allocations: 17.27 kB / 330.5 MB, free: 2.461 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.004e-05/0.009992, allocations: 67.38 kB / 330.5 MB, free: 2.395 MB / 298.7 MB Notification: Performance of SimCode: time 6.21e-07/0.009993, allocations: 0 / 330.5 MB, free: 2.395 MB / 298.7 MB Notification: Performance of Templates: time 0.003413/0.01341, allocations: 2.015 MB / 332.5 MB, free: 420 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.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.851282961666584]