Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test27.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.0009922/0.0009922, 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.00107/0.00107, allocations: 171.3 kB / 24.91 MB, free: 8.766 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 1.012/1.012, allocations: 177.1 MB / 205.3 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2561/0.2561, allocations: 34.26 MB / 296.1 MB, free: 0.707 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.CombiTable1Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 325.3 MB, free: 7.605 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.286e-05/1.42e-05, allocations: 4.172 kB / 325.3 MB, free: 7.602 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test27): time 0.002148/0.002162, allocations: 1.707 MB / 327 MB, free: 5.883 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008028/0.002965, allocations: 0.5374 MB / 327.6 MB, free: 5.34 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.976e-05/0.003014, allocations: 11.94 kB / 327.6 MB, free: 5.328 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002746/0.003289, allocations: 119.6 kB / 327.7 MB, free: 5.211 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002248/0.003514, allocations: 131.4 kB / 327.8 MB, free: 5.082 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001985/0.003712, allocations: 115.6 kB / 327.9 MB, free: 4.969 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001486/0.003861, allocations: 99.67 kB / 328 MB, free: 4.871 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.633e-05/0.003947, allocations: 15.97 kB / 328 MB, free: 4.855 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.375e-05/0.004021, allocations: 59.86 kB / 328.1 MB, free: 4.797 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.004122, allocations: 75.84 kB / 328.2 MB, free: 4.723 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.397e-05/0.004136, allocations: 4 kB / 328.2 MB, free: 4.719 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.356e-05/0.00421, allocations: 47.92 kB / 328.2 MB, free: 4.672 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.012e-05/0.00425, allocations: 23.86 kB / 328.2 MB, free: 4.648 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.285e-05/0.004273, allocations: 19.92 kB / 328.3 MB, free: 4.629 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001344/0.004407, allocations: 107.5 kB / 328.4 MB, free: 4.523 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.403e-06/0.004409, allocations: 0 / 328.4 MB, free: 4.523 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.004409, allocations: 0 / 328.4 MB, free: 4.523 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.416e-06/0.004412, allocations: 0 / 328.4 MB, free: 4.523 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003003/0.004713, allocations: 337.4 kB / 328.7 MB, free: 4.172 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.901e-05/0.004742, allocations: 12.03 kB / 328.7 MB, free: 4.16 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.634e-05/0.004768, allocations: 8.922 kB / 328.7 MB, free: 4.152 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.004905, allocations: 149.6 kB / 328.9 MB, free: 3.98 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.502e-06/0.004911, allocations: 384 / 328.9 MB, free: 3.98 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.779e-05/0.004929, allocations: 12.31 kB / 328.9 MB, free: 3.969 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.318e-05/0.005012, allocations: 54.94 kB / 328.9 MB, free: 3.906 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.00502, allocations: 192 / 328.9 MB, free: 3.906 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.005029, allocations: 4.125 kB / 328.9 MB, free: 3.902 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.005035, allocations: 4 kB / 328.9 MB, free: 3.898 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.202e-05/0.005057, allocations: 12 kB / 329 MB, free: 3.887 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002174/0.005275, allocations: 179.6 kB / 329.1 MB, free: 3.695 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.014e-05/0.005325, allocations: 41.33 kB / 329.2 MB, free: 3.645 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.489e-05/0.00534, allocations: 8.859 kB / 329.2 MB, free: 3.633 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.492e-05/0.005354, allocations: 0 / 329.2 MB, free: 3.633 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.005378, allocations: 38.5 kB / 329.2 MB, free: 3.586 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 6.21e-07/0.005378, allocations: 0 / 329.2 MB, free: 3.586 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004052/0.005783, allocations: 145.5 kB / 329.4 MB, free: 3.438 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.599e-05/0.005809, allocations: 55.41 kB / 329.4 MB, free: 3.371 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.005933, allocations: 213.2 kB / 329.6 MB, free: 3.145 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.005945, allocations: 33.64 kB / 329.7 MB, free: 3.105 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.361e-05/0.005978, allocations: 96.11 kB / 329.7 MB, free: 3.008 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.273e-05/0.006001, allocations: 31.72 kB / 329.8 MB, free: 2.977 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.672e-05/0.006028, allocations: 17.72 kB / 329.8 MB, free: 2.953 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.964e-05/0.006108, allocations: 326.8 kB / 330.1 MB, free: 2.625 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.079e-05/0.006118, allocations: 4 kB / 330.1 MB, free: 2.621 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.37e-05/0.006132, allocations: 11.98 kB / 330.1 MB, free: 2.609 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.478e-05/0.006167, allocations: 31.88 kB / 330.2 MB, free: 2.574 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.006168, allocations: 4 kB / 330.2 MB, free: 2.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.127e-05/0.006229, allocations: 65.61 kB / 330.2 MB, free: 2.5 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.448e-06/0.006238, allocations: 4 kB / 330.2 MB, free: 2.496 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.006243, allocations: 4 kB / 330.2 MB, free: 2.492 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.798e-06/0.006252, allocations: 0 / 330.2 MB, free: 2.492 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.366e-05/0.006306, allocations: 19.92 kB / 330.3 MB, free: 2.473 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.605e-06/0.006309, allocations: 0 / 330.3 MB, free: 2.473 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.751e-05/0.006326, allocations: 8 kB / 330.3 MB, free: 2.465 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.006331, allocations: 0 / 330.3 MB, free: 2.465 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 5.515e-05/0.006387, allocations: 116.7 kB / 330.4 MB, free: 2.34 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.984e-05/0.006406, allocations: 15.92 kB / 330.4 MB, free: 2.324 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001001/0.006507, allocations: 83.05 kB / 330.5 MB, free: 2.234 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.006509, allocations: 432 / 330.5 MB, free: 2.234 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.00651, allocations: 0 / 330.5 MB, free: 2.234 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.006514, allocations: 0 / 330.5 MB, free: 2.234 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002149/0.006729, allocations: 263.3 kB / 330.7 MB, free: 1.949 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.00673, allocations: 0 / 330.7 MB, free: 1.949 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.416e-05/0.006764, allocations: 19.98 kB / 330.8 MB, free: 1.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.006768, allocations: 7.984 kB / 330.8 MB, free: 1.922 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.729e-06/0.006772, allocations: 0 / 330.8 MB, free: 1.922 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.006773, allocations: 4.031 kB / 330.8 MB, free: 1.918 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.006774, allocations: 0 / 330.8 MB, free: 1.918 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.012e-05/0.006854, allocations: 168.2 kB / 330.9 MB, free: 1.734 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.948e-06/0.006864, allocations: 11.91 kB / 330.9 MB, free: 1.723 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.101e-05/0.006875, allocations: 4 kB / 330.9 MB, free: 1.719 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.25e-05/0.006907, allocations: 4 kB / 330.9 MB, free: 1.715 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.379e-05/0.006931, allocations: 3.984 kB / 331 MB, free: 1.711 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-06/0.006935, allocations: 4 kB / 331 MB, free: 1.707 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.979e-05/0.006984, allocations: 72.61 kB / 331 MB, free: 1.633 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006984, allocations: 4 kB / 331 MB, free: 1.629 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001245/0.007109, allocations: 19.98 kB / 331 MB, free: 1.609 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.001139/0.008248, allocations: 0.5761 MB / 331.6 MB, free: 1.34 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.292e-05/0.008321, allocations: 36.72 kB / 331.7 MB, free: 1.301 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.008324, allocations: 8 kB / 331.7 MB, free: 1.293 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.52e-05/0.008349, allocations: 28.78 kB / 331.7 MB, free: 1.262 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001494/0.008499, allocations: 15.98 kB / 331.7 MB, free: 1.246 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003255/0.008824, allocations: 253 kB / 332 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.223e-05/0.008876, allocations: 71.33 kB / 332 MB, free: 0.875 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.778e-05/0.008924, allocations: 21.08 kB / 332 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.099e-05/0.008985, allocations: 63.36 kB / 332.1 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of SimCode: time 4.41e-07/0.008986, allocations: 0 / 332.1 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of Templates: time 0.002802/0.01179, allocations: 1.536 MB / 333.6 MB, free: 15.27 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test27.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test27 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test27/Test27.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.8379235328175128]