Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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.0009541/0.0009541, allocations: 80.8 kB / 21.49 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.001005/0.001005, allocations: 169.1 kB / 24.91 MB, free: 9.191 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.023/1.023, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.2508/0.2508, allocations: 32.8 MB / 294.6 MB, free: 1.258 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.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 323.3 MB, free: 9.66 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.774e-05/1.921e-05, allocations: 5.859 kB / 323.3 MB, free: 9.656 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.002835/0.002854, allocations: 1.76 MB / 325.1 MB, free: 7.883 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008536/0.003707, allocations: 0.5885 MB / 325.6 MB, free: 7.289 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.52e-05/0.003773, allocations: 3.938 kB / 325.6 MB, free: 7.285 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000476/0.004249, allocations: 451.1 kB / 326.1 MB, free: 6.844 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003831/0.004632, allocations: 295.1 kB / 326.4 MB, free: 6.555 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003765/0.005008, allocations: 175.5 kB / 326.5 MB, free: 6.383 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002322/0.00524, allocations: 187.6 kB / 326.7 MB, free: 6.199 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.005343, allocations: 16.2 kB / 326.7 MB, free: 6.18 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001418/0.005485, allocations: 131.6 kB / 326.9 MB, free: 6.051 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001756/0.00566, allocations: 203.6 kB / 327.1 MB, free: 5.852 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.005677, allocations: 4 kB / 327.1 MB, free: 5.848 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.79e-05/0.005775, allocations: 55.91 kB / 327.1 MB, free: 5.793 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.08e-05/0.005855, allocations: 87.7 kB / 327.2 MB, free: 5.707 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.806e-05/0.005893, allocations: 39.73 kB / 327.3 MB, free: 5.668 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002234/0.006117, allocations: 211.1 kB / 327.5 MB, free: 5.461 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.00612, allocations: 0 / 327.5 MB, free: 5.461 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.006121, allocations: 0 / 327.5 MB, free: 5.461 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.006126, allocations: 0 / 327.5 MB, free: 5.461 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004574/0.006584, allocations: 0.5616 MB / 328 MB, free: 4.875 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.006618, allocations: 12.03 kB / 328 MB, free: 4.863 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.048e-05/0.006658, allocations: 24.91 kB / 328.1 MB, free: 4.84 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001906/0.006849, allocations: 246 kB / 328.3 MB, free: 4.574 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.388e-06/0.006858, allocations: 8.375 kB / 328.3 MB, free: 4.566 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.928e-05/0.006877, allocations: 384 / 328.3 MB, free: 4.566 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/0.006986, allocations: 70.86 kB / 328.4 MB, free: 4.488 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.006996, allocations: 4.172 kB / 328.4 MB, free: 4.484 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.525e-06/0.007003, allocations: 8.125 kB / 328.4 MB, free: 4.477 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.007008, allocations: 0 / 328.4 MB, free: 4.477 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.55e-05/0.007033, allocations: 8 kB / 328.4 MB, free: 4.469 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003056/0.007339, allocations: 223 kB / 328.6 MB, free: 4.234 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001247/0.007464, allocations: 42.5 kB / 328.7 MB, free: 4.184 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.799e-05/0.007482, allocations: 12.98 kB / 328.7 MB, free: 4.168 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.654e-05/0.007498, allocations: 0 / 328.7 MB, free: 4.168 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/0.007522, allocations: 38.5 kB / 328.7 MB, free: 4.121 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 8.61e-07/0.007523, allocations: 0 / 328.7 MB, free: 4.121 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005304/0.008053, allocations: 214.6 kB / 328.9 MB, free: 3.906 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.575e-05/0.008079, allocations: 55.41 kB / 329 MB, free: 3.84 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003258/0.008405, allocations: 0.5399 MB / 329.5 MB, free: 3.285 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.301e-05/0.008418, allocations: 29.7 kB / 329.5 MB, free: 3.25 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.122e-05/0.008479, allocations: 137.3 kB / 329.7 MB, free: 3.109 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.161e-05/0.008511, allocations: 35.67 kB / 329.7 MB, free: 3.074 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.805e-05/0.008549, allocations: 29.7 kB / 329.7 MB, free: 3.039 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.96e-05/0.008648, allocations: 362.6 kB / 330.1 MB, free: 2.676 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.038e-05/0.008669, allocations: 12.17 kB / 330.1 MB, free: 2.664 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.941e-05/0.008688, allocations: 12.98 kB / 330.1 MB, free: 2.652 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.432e-05/0.008742, allocations: 48.56 kB / 330.2 MB, free: 2.602 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.008743, allocations: 0 / 330.2 MB, free: 2.602 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 9.416e-05/0.008838, allocations: 85.59 kB / 330.2 MB, free: 2.512 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.00885, allocations: 8 kB / 330.3 MB, free: 2.504 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.008855, allocations: 0 / 330.3 MB, free: 2.504 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.008865, allocations: 0 / 330.3 MB, free: 2.504 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.51e-05/0.00893, allocations: 19.98 kB / 330.3 MB, free: 2.484 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-06/0.008933, allocations: 4 kB / 330.3 MB, free: 2.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.377e-05/0.008967, allocations: 11.98 kB / 330.3 MB, free: 2.469 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.008973, allocations: 0 / 330.3 MB, free: 2.469 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 (11): * Single equations (assignments): 11 * 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 7.674e-05/0.00905, allocations: 124.5 kB / 330.4 MB, free: 2.336 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.041e-05/0.00908, allocations: 23.97 kB / 330.4 MB, free: 2.312 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001509/0.009231, allocations: 123.4 kB / 330.6 MB, free: 2.188 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.009233, allocations: 0 / 330.6 MB, free: 2.188 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/0.009234, allocations: 0 / 330.6 MB, free: 2.188 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.009237, allocations: 0 / 330.6 MB, free: 2.188 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003096/0.009546, allocations: 340.2 kB / 330.9 MB, free: 1.824 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.009549, allocations: 0 / 330.9 MB, free: 1.824 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.448e-05/0.009603, allocations: 23.98 kB / 330.9 MB, free: 1.801 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.009606, allocations: 0 / 330.9 MB, free: 1.801 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-06/0.009612, allocations: 4 kB / 330.9 MB, free: 1.797 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.009614, allocations: 4.062 kB / 330.9 MB, free: 1.793 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.009616, allocations: 0 / 330.9 MB, free: 1.793 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001359/0.009752, allocations: 205.1 kB / 331.1 MB, free: 1.57 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.45e-05/0.009776, allocations: 35.72 kB / 331.2 MB, free: 1.535 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.009793, allocations: 3.984 kB / 331.2 MB, free: 1.531 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.811e-05/0.009841, allocations: 11.94 kB / 331.2 MB, free: 1.52 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.378e-05/0.009875, allocations: 15.91 kB / 331.2 MB, free: 1.504 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.009881, allocations: 4 kB / 331.2 MB, free: 1.5 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000186/0.01007, allocations: 283.2 kB / 331.5 MB, free: 1.223 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01007, allocations: 0 / 331.5 MB, free: 1.223 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001618/0.01023, allocations: 43.88 kB / 331.5 MB, free: 1.18 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.001176/0.01141, allocations: 0.5782 MB / 332.1 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001032/0.01151, allocations: 56.77 kB / 332.1 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.376e-06/0.01152, allocations: 4 kB / 332.1 MB, free: 0.832 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.352e-05/0.01155, allocations: 28.78 kB / 332.2 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002041/0.01175, allocations: 38.17 kB / 332.2 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006425/0.0124, allocations: 0.6236 MB / 332.8 MB, free: 108 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.991e-05/0.01249, allocations: 131.3 kB / 333 MB, free: 15.95 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.601e-05/0.01253, allocations: 16.48 kB / 333 MB, free: 15.94 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.26e-05/0.0126, allocations: 63.36 kB / 333 MB, free: 15.88 MB / 314.7 MB Notification: Performance of SimCode: time 7.41e-07/0.0126, allocations: 0 / 333 MB, free: 15.88 MB / 314.7 MB Notification: Performance of Templates: time 0.004281/0.01688, allocations: 1.922 MB / 335 MB, free: 13.98 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.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.8656948870047927]