Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.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.0009323/0.0009323, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.001052/0.001052, allocations: 174.3 kB / 24.92 MB, free: 8.77 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.966/0.966, allocations: 177.1 MB / 205.3 MB, free: 5.066 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.2466/0.2466, allocations: 34.26 MB / 296.1 MB, free: 0.6758 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.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,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.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 325.3 MB, free: 7.68 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.077e-05/1.215e-05, allocations: 3.188 kB / 325.3 MB, free: 7.676 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.001989/0.002001, allocations: 1.693 MB / 327 MB, free: 5.973 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.003166, allocations: 1.324 MB / 328.3 MB, free: 4.641 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.56e-05/0.003212, allocations: 3.938 kB / 328.3 MB, free: 4.637 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001671/0.003379, allocations: 27.78 kB / 328.3 MB, free: 4.609 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002214/0.0036, allocations: 84.22 kB / 328.4 MB, free: 4.527 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002531/0.003853, allocations: 183.4 kB / 328.6 MB, free: 4.348 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001145/0.003968, allocations: 79.77 kB / 328.7 MB, free: 4.27 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.976e-05/0.004038, allocations: 11.97 kB / 328.7 MB, free: 4.258 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.305e-05/0.004091, allocations: 39.86 kB / 328.7 MB, free: 4.219 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.026e-05/0.004171, allocations: 35.89 kB / 328.7 MB, free: 4.184 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.239e-05/0.004183, allocations: 4 kB / 328.7 MB, free: 4.18 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001078/0.004291, allocations: 91.88 kB / 328.8 MB, free: 4.09 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.219e-05/0.004333, allocations: 19.92 kB / 328.9 MB, free: 4.07 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.496e-05/0.004358, allocations: 24.41 kB / 328.9 MB, free: 4.047 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001618/0.00452, allocations: 143.5 kB / 329 MB, free: 3.906 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.343e-06/0.004522, allocations: 0 / 329 MB, free: 3.906 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.11e-07/0.004522, allocations: 0 / 329 MB, free: 3.906 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.126e-06/0.004525, allocations: 0 / 329 MB, free: 3.906 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.0003176/0.004843, allocations: 309.6 kB / 329.3 MB, free: 3.582 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.673e-05/0.004869, allocations: 8.031 kB / 329.3 MB, free: 3.574 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.744e-05/0.004897, allocations: 12.92 kB / 329.3 MB, free: 3.562 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.005017, allocations: 137.6 kB / 329.5 MB, free: 3.402 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.093e-06/0.005024, allocations: 384 / 329.5 MB, free: 3.402 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.891e-05/0.005043, allocations: 8.375 kB / 329.5 MB, free: 3.395 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001099/0.005152, allocations: 102.3 kB / 329.6 MB, free: 3.273 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.555e-06/0.00516, allocations: 192 / 329.6 MB, free: 3.273 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.005169, allocations: 8.125 kB / 329.6 MB, free: 3.266 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.005173, allocations: 0 / 329.6 MB, free: 3.266 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.181e-05/0.005195, allocations: 11.98 kB / 329.6 MB, free: 3.254 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001916/0.005387, allocations: 175 kB / 329.8 MB, free: 3.066 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.063e-05/0.005437, allocations: 30.56 kB / 329.8 MB, free: 3.027 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.661e-05/0.005454, allocations: 8.859 kB / 329.8 MB, free: 3.016 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.378e-05/0.005468, allocations: 0 / 329.8 MB, free: 3.016 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.872e-05/0.005486, allocations: 38.5 kB / 329.8 MB, free: 2.969 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.005487, allocations: 4 kB / 329.9 MB, free: 2.965 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002869/0.005774, allocations: 113.9 kB / 330 MB, free: 2.848 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.521e-05/0.005809, allocations: 81.09 kB / 330 MB, free: 2.75 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.541e-05/0.005895, allocations: 140.8 kB / 330.2 MB, free: 2.598 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.005906, allocations: 29.7 kB / 330.2 MB, free: 2.562 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.236e-05/0.005939, allocations: 92.08 kB / 330.3 MB, free: 2.469 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.97e-05/0.005958, allocations: 23.78 kB / 330.3 MB, free: 2.445 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.994e-05/0.005988, allocations: 25.72 kB / 330.3 MB, free: 2.414 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.509e-05/0.006063, allocations: 326.7 kB / 330.7 MB, free: 2.086 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.337e-05/0.006077, allocations: 12 kB / 330.7 MB, free: 2.074 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.972e-05/0.006107, allocations: 47.41 kB / 330.7 MB, free: 2.016 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.309e-05/0.00614, allocations: 27.66 kB / 330.8 MB, free: 1.984 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-07/0.00614, allocations: 0 / 330.8 MB, free: 1.984 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 5.435e-05/0.006195, allocations: 53.62 kB / 330.8 MB, free: 1.926 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.006206, allocations: 15.92 kB / 330.8 MB, free: 1.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.00621, allocations: 368 / 330.8 MB, free: 1.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.006223, allocations: 3.984 kB / 330.8 MB, free: 1.906 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.397e-05/0.006287, allocations: 12 kB / 330.8 MB, free: 1.895 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.006293, allocations: 3.984 kB / 330.8 MB, free: 1.891 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.372e-05/0.006316, allocations: 12.03 kB / 330.9 MB, free: 1.879 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.006322, allocations: 3.984 kB / 330.9 MB, free: 1.875 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 5.965e-05/0.006382, allocations: 112.7 kB / 331 MB, free: 1.754 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.76e-05/0.0064, allocations: 11.92 kB / 331 MB, free: 1.742 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.888e-05/0.006489, allocations: 70.39 kB / 331 MB, free: 1.668 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.00649, allocations: 0 / 331 MB, free: 1.668 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.006491, allocations: 0 / 331 MB, free: 1.668 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.006494, allocations: 0 / 331 MB, free: 1.668 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002011/0.006695, allocations: 230.7 kB / 331.3 MB, free: 1.418 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.006697, allocations: 4 kB / 331.3 MB, free: 1.414 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.699e-05/0.006734, allocations: 19.98 kB / 331.3 MB, free: 1.395 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.32e-07/0.006735, allocations: 0 / 331.3 MB, free: 1.395 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.907e-06/0.006738, allocations: 0 / 331.3 MB, free: 1.395 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.006739, allocations: 3.938 kB / 331.3 MB, free: 1.391 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.00674, allocations: 0 / 331.3 MB, free: 1.391 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.407e-05/0.006814, allocations: 159.5 kB / 331.5 MB, free: 1.219 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.674e-06/0.006822, allocations: 3.953 kB / 331.5 MB, free: 1.215 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.072e-05/0.006832, allocations: 4 kB / 331.5 MB, free: 1.211 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.475e-05/0.006867, allocations: 7.984 kB / 331.5 MB, free: 1.203 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.839e-05/0.006896, allocations: 3.984 kB / 331.5 MB, free: 1.199 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/0.0069, allocations: 8 kB / 331.5 MB, free: 1.191 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.818e-05/0.006928, allocations: 29.92 kB / 331.5 MB, free: 1.16 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006928, allocations: 7.938 kB / 331.5 MB, free: 1.152 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001474/0.007075, allocations: 39.86 kB / 331.6 MB, free: 1.113 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.001218/0.008293, allocations: 0.6313 MB / 332.2 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.597e-05/0.008369, allocations: 32.83 kB / 332.2 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.008371, allocations: 0 / 332.2 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.021e-05/0.008391, allocations: 16.86 kB / 332.2 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000133/0.008524, allocations: 35.75 kB / 332.3 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002631/0.008787, allocations: 198.6 kB / 332.5 MB, free: 0.4922 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.578e-05/0.008823, allocations: 67.34 kB / 332.5 MB, free: 416 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.874e-05/0.008862, allocations: 17.02 kB / 332.5 MB, free: 396 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.105e-05/0.008923, allocations: 67.36 kB / 332.6 MB, free: 328 kB / 298.7 MB Notification: Performance of SimCode: time 5.21e-07/0.008923, allocations: 4 kB / 332.6 MB, free: 324 kB / 298.7 MB Notification: Performance of Templates: time 0.003217/0.01214, allocations: 2.146 MB / 334.8 MB, free: 14.18 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.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.0064664129167795]