Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.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.001245/0.001245, 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.00134/0.00134, allocations: 169.9 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 1.011/1.011, allocations: 177.1 MB / 205.3 MB, free: 5.117 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.2564/0.2564, allocations: 34.26 MB / 296.1 MB, free: 0.6172 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.CombiTable2Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 325.3 MB, free: 7.637 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.414e-05/2.571e-05, allocations: 7.094 kB / 325.3 MB, free: 7.629 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.003286/0.003312, allocations: 1.744 MB / 327.1 MB, free: 5.871 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001823/0.005134, allocations: 1.301 MB / 328.4 MB, free: 4.562 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.166e-05/0.005196, allocations: 0 / 328.4 MB, free: 4.562 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002187/0.005415, allocations: 31.77 kB / 328.4 MB, free: 4.531 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003471/0.005762, allocations: 79.56 kB / 328.5 MB, free: 4.453 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003457/0.006108, allocations: 123.6 kB / 328.6 MB, free: 4.332 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001551/0.006263, allocations: 79.75 kB / 328.7 MB, free: 4.254 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.019e-05/0.006353, allocations: 16 kB / 328.7 MB, free: 4.238 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.005e-05/0.006443, allocations: 39.83 kB / 328.7 MB, free: 4.199 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.006559, allocations: 31.91 kB / 328.8 MB, free: 4.168 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.829e-05/0.006577, allocations: 7.984 kB / 328.8 MB, free: 4.16 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000221/0.006798, allocations: 91.83 kB / 328.9 MB, free: 4.07 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.753e-05/0.006866, allocations: 23.91 kB / 328.9 MB, free: 4.047 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.635e-05/0.006892, allocations: 12.44 kB / 328.9 MB, free: 4.035 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000264/0.007156, allocations: 143.5 kB / 329 MB, free: 3.895 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.00716, allocations: 0 / 329 MB, free: 3.895 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.007161, allocations: 0 / 329 MB, free: 3.895 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.007165, allocations: 4 kB / 329 MB, free: 3.891 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.0004099/0.007575, allocations: 309.6 kB / 329.3 MB, free: 3.566 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.47e-05/0.007609, allocations: 8.031 kB / 329.3 MB, free: 3.559 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.659e-05/0.007646, allocations: 4.938 kB / 329.3 MB, free: 3.555 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001769/0.007823, allocations: 133.7 kB / 329.5 MB, free: 3.398 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.007833, allocations: 4.375 kB / 329.5 MB, free: 3.395 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.992e-05/0.007853, allocations: 4.312 kB / 329.5 MB, free: 3.391 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/0.008013, allocations: 106.3 kB / 329.6 MB, free: 3.266 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.008024, allocations: 4.141 kB / 329.6 MB, free: 3.262 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.008035, allocations: 4.125 kB / 329.6 MB, free: 3.258 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.008041, allocations: 4 kB / 329.6 MB, free: 3.254 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.506e-05/0.008076, allocations: 8 kB / 329.6 MB, free: 3.246 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002785/0.008354, allocations: 168.2 kB / 329.8 MB, free: 3.066 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.964e-05/0.008424, allocations: 26.64 kB / 329.8 MB, free: 3.031 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.181e-05/0.008446, allocations: 12.94 kB / 329.8 MB, free: 3.016 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.008465, allocations: 4 kB / 329.8 MB, free: 3.012 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.008495, allocations: 38.5 kB / 329.9 MB, free: 2.965 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.443e-06/0.008496, allocations: 0 / 329.9 MB, free: 2.965 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004047/0.008901, allocations: 105.5 kB / 330 MB, free: 2.855 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/0.008942, allocations: 81.11 kB / 330 MB, free: 2.758 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.009062, allocations: 142.6 kB / 330.2 MB, free: 2.605 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.009076, allocations: 25.7 kB / 330.2 MB, free: 2.574 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.143e-05/0.009117, allocations: 92.11 kB / 330.3 MB, free: 2.48 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.53e-05/0.009142, allocations: 19.81 kB / 330.3 MB, free: 2.461 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.123e-05/0.009184, allocations: 29.62 kB / 330.3 MB, free: 2.426 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.439e-05/0.009278, allocations: 318.8 kB / 330.6 MB, free: 2.105 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.315e-05/0.009301, allocations: 11.98 kB / 330.7 MB, free: 2.094 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.404e-05/0.009345, allocations: 43.42 kB / 330.7 MB, free: 2.039 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.22e-05/0.009397, allocations: 28.83 kB / 330.7 MB, free: 2.008 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.009398, allocations: 4.031 kB / 330.7 MB, free: 2.004 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.652e-05/0.009495, allocations: 57.84 kB / 330.8 MB, free: 1.941 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.00951, allocations: 6.344 kB / 330.8 MB, free: 1.938 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.009515, allocations: 0 / 330.8 MB, free: 1.938 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.009528, allocations: 4 kB / 330.8 MB, free: 1.934 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.009634, allocations: 19.92 kB / 330.8 MB, free: 1.914 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.009639, allocations: 4.062 kB / 330.8 MB, free: 1.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.155e-05/0.00968, allocations: 7.938 kB / 330.8 MB, free: 1.902 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/0.009688, allocations: 0 / 330.8 MB, free: 1.902 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 8.28e-05/0.009771, allocations: 124.7 kB / 331 MB, free: 1.77 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.248e-05/0.009803, allocations: 7.938 kB / 331 MB, free: 1.762 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000136/0.009939, allocations: 66.45 kB / 331 MB, free: 1.691 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.009943, allocations: 3.984 kB / 331 MB, free: 1.688 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.009944, allocations: 0 / 331 MB, free: 1.688 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.009951, allocations: 7.938 kB / 331 MB, free: 1.68 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002953/0.01025, allocations: 218.8 kB / 331.3 MB, free: 1.441 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.01025, allocations: 288 / 331.3 MB, free: 1.441 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.365e-05/0.01032, allocations: 19.98 kB / 331.3 MB, free: 1.422 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.01033, allocations: 0 / 331.3 MB, free: 1.422 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.01033, allocations: 4 kB / 331.3 MB, free: 1.418 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.01033, allocations: 0 / 331.3 MB, free: 1.418 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.01034, allocations: 0 / 331.3 MB, free: 1.418 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001327/0.01047, allocations: 167.4 kB / 331.4 MB, free: 1.238 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.723e-05/0.01049, allocations: 11.94 kB / 331.5 MB, free: 1.227 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.732e-05/0.0105, allocations: 4 kB / 331.5 MB, free: 1.223 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.956e-05/0.01058, allocations: 4 kB / 331.5 MB, free: 1.219 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.65e-05/0.01062, allocations: 7.984 kB / 331.5 MB, free: 1.211 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/0.01063, allocations: 0 / 331.5 MB, free: 1.211 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.663e-05/0.01067, allocations: 32.77 kB / 331.5 MB, free: 1.176 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01067, allocations: 0 / 331.5 MB, free: 1.176 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002863/0.01096, allocations: 47.86 kB / 331.5 MB, free: 1.129 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.0015/0.01246, allocations: 0.6226 MB / 332.2 MB, free: 0.8242 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.286e-05/0.01255, allocations: 36.77 kB / 332.2 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.01256, allocations: 0 / 332.2 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.282e-05/0.01258, allocations: 16.86 kB / 332.2 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001595/0.01274, allocations: 31.86 kB / 332.3 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003035/0.01304, allocations: 191.9 kB / 332.4 MB, free: 0.5195 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.698e-05/0.01308, allocations: 67.34 kB / 332.5 MB, free: 444 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.205e-05/0.01312, allocations: 16.28 kB / 332.5 MB, free: 428 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.885e-05/0.01319, allocations: 67.36 kB / 332.6 MB, free: 360 kB / 298.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01319, allocations: 0 / 332.6 MB, free: 360 kB / 298.7 MB Notification: Performance of Templates: time 0.003591/0.01678, allocations: 2.104 MB / 334.7 MB, free: 14.26 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/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: 2.9135667360387743]