Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.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.001312/0.001312, allocations: 80.8 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.001093/0.001093, allocations: 169.9 kB / 24.91 MB, free: 9.195 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.9766/0.9766, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.2852/0.2852, allocations: 32.82 MB / 294.6 MB, free: 1.242 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.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 323.4 MB, free: 9.566 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.772e-05/1.884e-05, allocations: 7.156 kB / 323.4 MB, free: 9.559 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.002318/0.002337, allocations: 1.826 MB / 325.2 MB, free: 7.723 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001176/0.003513, allocations: 1.005 MB / 326.2 MB, free: 6.711 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.452e-05/0.003578, allocations: 0 / 326.2 MB, free: 6.711 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002692/0.003847, allocations: 91.64 kB / 326.3 MB, free: 6.621 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002667/0.004114, allocations: 123.3 kB / 326.4 MB, free: 6.5 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001773/0.004291, allocations: 83.66 kB / 326.5 MB, free: 6.418 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001572/0.004448, allocations: 127.6 kB / 326.6 MB, free: 6.293 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.383e-05/0.004522, allocations: 12.59 kB / 326.6 MB, free: 6.281 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.004e-05/0.004612, allocations: 67.81 kB / 326.7 MB, free: 6.215 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.177e-05/0.004704, allocations: 59.86 kB / 326.8 MB, free: 6.156 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.328e-05/0.004717, allocations: 4 kB / 326.8 MB, free: 6.152 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.966e-05/0.004807, allocations: 59.86 kB / 326.8 MB, free: 6.094 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.645e-05/0.004853, allocations: 35.86 kB / 326.9 MB, free: 6.059 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.231e-05/0.004885, allocations: 23.91 kB / 326.9 MB, free: 6.035 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001604/0.005046, allocations: 115.5 kB / 327 MB, free: 5.922 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.005048, allocations: 0 / 327 MB, free: 5.922 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.005049, allocations: 0 / 327 MB, free: 5.922 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.005053, allocations: 3.984 kB / 327 MB, free: 5.918 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003209/0.005374, allocations: 337.3 kB / 327.3 MB, free: 5.566 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.953e-05/0.005403, allocations: 8.031 kB / 327.3 MB, free: 5.559 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.723e-05/0.005431, allocations: 12.92 kB / 327.3 MB, free: 5.547 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.005568, allocations: 158.3 kB / 327.5 MB, free: 5.363 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.005579, allocations: 4.375 kB / 327.5 MB, free: 5.359 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.865e-05/0.005598, allocations: 8.359 kB / 327.5 MB, free: 5.352 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/0.005702, allocations: 73.73 kB / 327.6 MB, free: 5.27 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.005711, allocations: 3.938 kB / 327.6 MB, free: 5.266 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.152e-06/0.005717, allocations: 0 / 327.6 MB, free: 5.266 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-06/0.005721, allocations: 0 / 327.6 MB, free: 5.266 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.596e-05/0.005747, allocations: 15.94 kB / 327.6 MB, free: 5.25 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001994/0.005946, allocations: 177.8 kB / 327.8 MB, free: 5.059 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001296/0.006076, allocations: 93.28 kB / 327.9 MB, free: 4.957 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.991e-05/0.006096, allocations: 16.86 kB / 327.9 MB, free: 4.938 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.147e-06/0.006105, allocations: 0 / 327.9 MB, free: 4.938 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.114e-05/0.006186, allocations: 70.34 kB / 328 MB, free: 4.855 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.006187, allocations: 0 / 328 MB, free: 4.855 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003792/0.006566, allocations: 173.4 kB / 328.1 MB, free: 4.68 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.518e-05/0.006592, allocations: 55.39 kB / 328.2 MB, free: 4.613 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.0067, allocations: 193.6 kB / 328.4 MB, free: 4.41 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.006715, allocations: 33.69 kB / 328.4 MB, free: 4.371 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.798e-05/0.006753, allocations: 96.11 kB / 328.5 MB, free: 4.273 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.946e-05/0.006782, allocations: 39.69 kB / 328.5 MB, free: 4.234 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.408e-05/0.006816, allocations: 29.69 kB / 328.6 MB, free: 4.199 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.45e-05/0.006891, allocations: 326.8 kB / 328.9 MB, free: 3.871 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.807e-05/0.006909, allocations: 10.83 kB / 328.9 MB, free: 3.859 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.977e-05/0.006939, allocations: 29.7 kB / 328.9 MB, free: 3.824 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.219e-05/0.006991, allocations: 64.03 kB / 329 MB, free: 3.758 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.006992, allocations: 0 / 329 MB, free: 3.758 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 8.533e-05/0.007077, allocations: 80.44 kB / 329.1 MB, free: 3.672 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/0.007088, allocations: 8 kB / 329.1 MB, free: 3.664 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.007093, allocations: 8.016 kB / 329.1 MB, free: 3.656 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.015e-06/0.007101, allocations: 0 / 329.1 MB, free: 3.656 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.384e-05/0.007155, allocations: 16 kB / 329.1 MB, free: 3.641 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.007158, allocations: 4 kB / 329.1 MB, free: 3.637 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.809e-05/0.007187, allocations: 7.984 kB / 329.1 MB, free: 3.629 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.007195, allocations: 8 kB / 329.1 MB, free: 3.621 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 (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 6.186e-05/0.007257, allocations: 116.6 kB / 329.2 MB, free: 3.496 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.513e-05/0.007272, allocations: 19.92 kB / 329.2 MB, free: 3.477 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001112/0.007383, allocations: 87.77 kB / 329.3 MB, free: 3.383 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.007386, allocations: 0 / 329.3 MB, free: 3.383 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.007387, allocations: 4 kB / 329.3 MB, free: 3.379 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.00739, allocations: 4 kB / 329.3 MB, free: 3.375 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002394/0.007629, allocations: 332.1 kB / 329.7 MB, free: 3.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.007631, allocations: 0 / 329.7 MB, free: 3.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.084e-05/0.007662, allocations: 12 kB / 329.7 MB, free: 3.008 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.007667, allocations: 7.984 kB / 329.7 MB, free: 3 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.007673, allocations: 3.984 kB / 329.7 MB, free: 2.996 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.007677, allocations: 7.984 kB / 329.7 MB, free: 2.988 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.007678, allocations: 0 / 329.7 MB, free: 2.988 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001111/0.007789, allocations: 239.9 kB / 329.9 MB, free: 2.73 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.234e-05/0.007801, allocations: 11.91 kB / 329.9 MB, free: 2.719 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/0.007817, allocations: 4 kB / 329.9 MB, free: 2.715 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.144e-05/0.007859, allocations: 4 kB / 329.9 MB, free: 2.711 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.453e-05/0.007883, allocations: 11.98 kB / 330 MB, free: 2.699 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.007896, allocations: 7.922 kB / 330 MB, free: 2.691 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.101e-05/0.007947, allocations: 60.23 kB / 330 MB, free: 2.629 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007947, allocations: 0 / 330 MB, free: 2.629 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000157/0.008104, allocations: 35.88 kB / 330.1 MB, free: 2.594 MB / 298.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.001384/0.009488, allocations: 0.6535 MB / 330.7 MB, free: 2.281 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001069/0.009595, allocations: 48.78 kB / 330.8 MB, free: 2.23 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.0096, allocations: 4 kB / 330.8 MB, free: 2.227 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.776e-05/0.009638, allocations: 32.72 kB / 330.8 MB, free: 2.191 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001952/0.009833, allocations: 39.03 kB / 330.8 MB, free: 2.156 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003243/0.01016, allocations: 260.6 kB / 331.1 MB, free: 1.871 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.987e-05/0.0102, allocations: 75.33 kB / 331.2 MB, free: 1.777 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.927e-05/0.01024, allocations: 20.62 kB / 331.2 MB, free: 1.758 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.41e-05/0.0103, allocations: 67.36 kB / 331.2 MB, free: 1.691 MB / 298.7 MB Notification: Performance of SimCode: time 7.11e-07/0.0103, allocations: 0 / 331.2 MB, free: 1.691 MB / 298.7 MB Notification: Performance of Templates: time 0.003892/0.01419, allocations: 2.305 MB / 333.6 MB, free: 15.42 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.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.818040636833757]