Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.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.0009408/0.0009408, 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.001178/0.001178, allocations: 174.4 kB / 24.92 MB, free: 8.266 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.9711/0.9711, 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.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.3075/0.3075, allocations: 34.26 MB / 296.1 MB, free: 0.7422 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.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 325.3 MB, free: 7.648 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.873e-05/2.011e-05, allocations: 4.562 kB / 325.3 MB, free: 7.645 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.002253/0.002274, allocations: 1.746 MB / 327.1 MB, free: 5.887 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00125/0.003523, allocations: 1.32 MB / 328.4 MB, free: 4.559 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.954e-05/0.003573, allocations: 0 / 328.4 MB, free: 4.559 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001778/0.00375, allocations: 23.83 kB / 328.4 MB, free: 4.535 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002483/0.003999, allocations: 83.55 kB / 328.5 MB, free: 4.453 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003078/0.004307, allocations: 175.5 kB / 328.6 MB, free: 4.281 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001286/0.004435, allocations: 83.7 kB / 328.7 MB, free: 4.199 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.417e-05/0.004509, allocations: 19.97 kB / 328.8 MB, free: 4.18 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.725e-05/0.004567, allocations: 35.91 kB / 328.8 MB, free: 4.145 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.579e-05/0.004652, allocations: 31.91 kB / 328.8 MB, free: 4.113 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.004665, allocations: 4 kB / 328.8 MB, free: 4.109 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001535/0.004819, allocations: 99.86 kB / 328.9 MB, free: 4.012 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.287e-05/0.004862, allocations: 19.94 kB / 328.9 MB, free: 3.992 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.387e-05/0.004886, allocations: 20.41 kB / 329 MB, free: 3.973 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001812/0.005067, allocations: 147.4 kB / 329.1 MB, free: 3.828 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.724e-06/0.005068, allocations: 0 / 329.1 MB, free: 3.828 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.005069, allocations: 0 / 329.1 MB, free: 3.828 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.005073, allocations: 0 / 329.1 MB, free: 3.828 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.0003164/0.00539, allocations: 309.7 kB / 329.4 MB, free: 3.504 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.907e-05/0.005419, allocations: 12.03 kB / 329.4 MB, free: 3.492 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.704e-05/0.005446, allocations: 4.938 kB / 329.4 MB, free: 3.488 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002463/0.005692, allocations: 133.6 kB / 329.6 MB, free: 3.332 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.847e-06/0.005701, allocations: 8.359 kB / 329.6 MB, free: 3.324 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.527e-05/0.005716, allocations: 8.375 kB / 329.6 MB, free: 3.316 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001091/0.005825, allocations: 102.3 kB / 329.7 MB, free: 3.195 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.005834, allocations: 192 / 329.7 MB, free: 3.195 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.553e-06/0.00584, allocations: 4.125 kB / 329.7 MB, free: 3.191 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.005845, allocations: 4 kB / 329.7 MB, free: 3.188 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.065e-05/0.005866, allocations: 7.938 kB / 329.7 MB, free: 3.18 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002066/0.006072, allocations: 183 kB / 329.9 MB, free: 2.984 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.633e-05/0.006119, allocations: 22.58 kB / 329.9 MB, free: 2.953 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.411e-05/0.006133, allocations: 12.86 kB / 329.9 MB, free: 2.938 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.006146, allocations: 4.078 kB / 329.9 MB, free: 2.934 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.006167, allocations: 38.5 kB / 329.9 MB, free: 2.887 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 9.31e-07/0.006168, allocations: 0 / 329.9 MB, free: 2.887 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002796/0.006448, allocations: 113.8 kB / 330 MB, free: 2.77 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.042e-05/0.006478, allocations: 85.05 kB / 330.1 MB, free: 2.668 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.101e-05/0.006559, allocations: 136.8 kB / 330.3 MB, free: 2.523 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.00657, allocations: 29.7 kB / 330.3 MB, free: 2.488 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.883e-05/0.006599, allocations: 96.06 kB / 330.4 MB, free: 2.391 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.777e-05/0.006617, allocations: 19.8 kB / 330.4 MB, free: 2.371 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.087e-05/0.006648, allocations: 33.69 kB / 330.4 MB, free: 2.332 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.392e-05/0.006712, allocations: 318.8 kB / 330.8 MB, free: 2.012 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.359e-05/0.006725, allocations: 7.984 kB / 330.8 MB, free: 2.004 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.997e-05/0.006755, allocations: 43.42 kB / 330.8 MB, free: 1.949 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.49e-05/0.00679, allocations: 27.66 kB / 330.8 MB, free: 1.918 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.006791, allocations: 4 kB / 330.8 MB, free: 1.914 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.484e-05/0.006856, allocations: 69.75 kB / 330.9 MB, free: 1.84 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.798e-06/0.006866, allocations: 8 kB / 330.9 MB, free: 1.832 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.00687, allocations: 0 / 330.9 MB, free: 1.832 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.989e-06/0.00688, allocations: 0 / 330.9 MB, free: 1.832 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.106e-05/0.006941, allocations: 24.02 kB / 330.9 MB, free: 1.809 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.164e-06/0.006943, allocations: 0 / 330.9 MB, free: 1.809 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.429e-05/0.006967, allocations: 7.984 kB / 330.9 MB, free: 1.801 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.006972, allocations: 4 kB / 330.9 MB, free: 1.797 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 (7): * Single equations (assignments): 7 * 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 4.891e-05/0.007021, allocations: 112.7 kB / 331.1 MB, free: 1.676 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.004e-05/0.007041, allocations: 11.94 kB / 331.1 MB, free: 1.664 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.32e-05/0.007134, allocations: 70.38 kB / 331.1 MB, free: 1.59 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.007136, allocations: 0 / 331.1 MB, free: 1.59 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.007138, allocations: 0 / 331.1 MB, free: 1.59 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.00714, allocations: 0 / 331.1 MB, free: 1.59 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001895/0.00733, allocations: 230.7 kB / 331.4 MB, free: 1.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.00733, allocations: 0 / 331.4 MB, free: 1.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.964e-05/0.00737, allocations: 23.86 kB / 331.4 MB, free: 1.316 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.007372, allocations: 0 / 331.4 MB, free: 1.316 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.007378, allocations: 4 kB / 331.4 MB, free: 1.312 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.00738, allocations: 4 kB / 331.4 MB, free: 1.309 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.007381, allocations: 0 / 331.4 MB, free: 1.309 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.247e-05/0.007463, allocations: 151.5 kB / 331.5 MB, free: 1.145 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.057e-06/0.007473, allocations: 7.953 kB / 331.5 MB, free: 1.137 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.929e-06/0.007482, allocations: 0 / 331.5 MB, free: 1.137 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.842e-05/0.007521, allocations: 15.98 kB / 331.6 MB, free: 1.121 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.5e-05/0.007546, allocations: 4 kB / 331.6 MB, free: 1.117 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-06/0.007549, allocations: 0 / 331.6 MB, free: 1.117 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.069e-05/0.00758, allocations: 36.09 kB / 331.6 MB, free: 1.082 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.00758, allocations: 0 / 331.6 MB, free: 1.082 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001739/0.007754, allocations: 43.88 kB / 331.6 MB, free: 1.039 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (7): * Single equations (assignments): 7 * 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.001217/0.008971, allocations: 0.6259 MB / 332.3 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.258e-05/0.009053, allocations: 32.78 kB / 332.3 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.009056, allocations: 0 / 332.3 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.401e-05/0.00908, allocations: 32.78 kB / 332.3 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001523/0.009232, allocations: 31.81 kB / 332.4 MB, free: 0.625 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002699/0.009502, allocations: 194.6 kB / 332.6 MB, free: 420 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.224e-05/0.009535, allocations: 67.33 kB / 332.6 MB, free: 332 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.216e-05/0.009577, allocations: 13.03 kB / 332.6 MB, free: 316 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.07e-05/0.009647, allocations: 75.36 kB / 332.7 MB, free: 240 kB / 298.7 MB Notification: Performance of SimCode: time 8.52e-07/0.009648, allocations: 0 / 332.7 MB, free: 240 kB / 298.7 MB Notification: Performance of Templates: time 0.003753/0.0134, allocations: 2.147 MB / 334.9 MB, free: 14.1 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.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.0306230881251395]