Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.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.001219/0.001219, allocations: 80.8 kB / 21.49 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.0009681/0.0009681, allocations: 170.2 kB / 24.91 MB, free: 9.188 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.9722/0.9722, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.2324/0.2324, allocations: 32.8 MB / 294.6 MB, free: 1.266 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.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.512e-06/1.512e-06, allocations: 0 / 323.3 MB, free: 9.68 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.717e-05/1.868e-05, allocations: 8.281 kB / 323.3 MB, free: 9.672 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.002044/0.002062, allocations: 1.691 MB / 325 MB, free: 7.969 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000718/0.00278, allocations: 0.5529 MB / 325.5 MB, free: 7.41 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.66e-05/0.002827, allocations: 4 kB / 325.5 MB, free: 7.406 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004027/0.00323, allocations: 455 kB / 326 MB, free: 6.961 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003259/0.003556, allocations: 299.2 kB / 326.2 MB, free: 6.668 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001899/0.003746, allocations: 127.6 kB / 326.4 MB, free: 6.543 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001554/0.003901, allocations: 179.6 kB / 326.5 MB, free: 6.367 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.068e-05/0.003972, allocations: 12.61 kB / 326.6 MB, free: 6.355 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.004072, allocations: 123.8 kB / 326.7 MB, free: 6.234 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001424/0.004215, allocations: 195.6 kB / 326.9 MB, free: 6.043 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.261e-05/0.004227, allocations: 4 kB / 326.9 MB, free: 6.039 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.419e-05/0.004301, allocations: 55.92 kB / 326.9 MB, free: 5.984 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.632e-05/0.004378, allocations: 83.69 kB / 327 MB, free: 5.902 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.915e-05/0.004407, allocations: 35.75 kB / 327 MB, free: 5.867 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001897/0.004597, allocations: 219 kB / 327.3 MB, free: 5.652 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.512e-06/0.004598, allocations: 0 / 327.3 MB, free: 5.652 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.0046, allocations: 3.984 kB / 327.3 MB, free: 5.648 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.004604, allocations: 0 / 327.3 MB, free: 5.648 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.000424/0.005028, allocations: 0.55 MB / 327.8 MB, free: 5.074 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.005062, allocations: 8.031 kB / 327.8 MB, free: 5.066 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.061e-05/0.005102, allocations: 24.91 kB / 327.8 MB, free: 5.043 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001831/0.005286, allocations: 254 kB / 328.1 MB, free: 4.77 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.116e-06/0.005294, allocations: 384 / 328.1 MB, free: 4.77 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.89e-05/0.005313, allocations: 4.375 kB / 328.1 MB, free: 4.766 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.481e-05/0.005397, allocations: 62.92 kB / 328.2 MB, free: 4.695 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.005406, allocations: 192 / 328.2 MB, free: 4.695 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.764e-06/0.005414, allocations: 8.125 kB / 328.2 MB, free: 4.688 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.005419, allocations: 0 / 328.2 MB, free: 4.688 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.485e-05/0.005443, allocations: 19.88 kB / 328.2 MB, free: 4.668 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002002/0.005644, allocations: 176.2 kB / 328.4 MB, free: 4.48 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.768e-05/0.005691, allocations: 30.64 kB / 328.4 MB, free: 4.441 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.859e-05/0.00571, allocations: 12.8 kB / 328.4 MB, free: 4.426 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/0.005725, allocations: 3.938 kB / 328.4 MB, free: 4.422 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.933e-05/0.005744, allocations: 38.56 kB / 328.4 MB, free: 4.375 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 7.92e-07/0.005745, allocations: 0 / 328.4 MB, free: 4.375 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003764/0.006121, allocations: 157.5 kB / 328.6 MB, free: 4.215 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.875e-05/0.00615, allocations: 59.41 kB / 328.7 MB, free: 4.145 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003409/0.006491, allocations: 0.5205 MB / 329.2 MB, free: 3.609 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.006502, allocations: 29.7 kB / 329.2 MB, free: 3.574 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.48e-05/0.006577, allocations: 149.2 kB / 329.3 MB, free: 3.422 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.006595, allocations: 19.75 kB / 329.4 MB, free: 3.402 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.953e-05/0.006625, allocations: 29.69 kB / 329.4 MB, free: 3.367 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.229e-05/0.006707, allocations: 358.6 kB / 329.7 MB, free: 3.008 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.257e-05/0.00672, allocations: 7.984 kB / 329.8 MB, free: 3 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.097e-05/0.006731, allocations: 8 kB / 329.8 MB, free: 2.992 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.484e-05/0.006796, allocations: 28.78 kB / 329.8 MB, free: 2.961 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.006796, allocations: 0 / 329.8 MB, free: 2.961 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.685e-05/0.006863, allocations: 77.66 kB / 329.9 MB, free: 2.879 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.887e-06/0.006872, allocations: 4 kB / 329.9 MB, free: 2.875 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.006876, allocations: 0 / 329.9 MB, free: 2.875 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.006888, allocations: 0 / 329.9 MB, free: 2.875 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.645e-05/0.006944, allocations: 15.98 kB / 329.9 MB, free: 2.859 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.325e-06/0.006947, allocations: 0 / 329.9 MB, free: 2.859 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.281e-05/0.006969, allocations: 7.938 kB / 329.9 MB, free: 2.852 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.006974, allocations: 0 / 329.9 MB, free: 2.852 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 6.808e-05/0.007042, allocations: 124.6 kB / 330 MB, free: 2.719 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.386e-05/0.007066, allocations: 23.97 kB / 330 MB, free: 2.695 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001059/0.007172, allocations: 101.8 kB / 330.1 MB, free: 2.59 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.007173, allocations: 0 / 330.1 MB, free: 2.59 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.007175, allocations: 0 / 330.1 MB, free: 2.59 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.007177, allocations: 0 / 330.1 MB, free: 2.59 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00024/0.007417, allocations: 315.4 kB / 330.4 MB, free: 2.254 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.007419, allocations: 4 kB / 330.5 MB, free: 2.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.212e-05/0.007451, allocations: 19.86 kB / 330.5 MB, free: 2.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.007454, allocations: 4 kB / 330.5 MB, free: 2.227 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.388e-06/0.007458, allocations: 0 / 330.5 MB, free: 2.227 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.007459, allocations: 4.031 kB / 330.5 MB, free: 2.223 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.00746, allocations: 0 / 330.5 MB, free: 2.223 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000149/0.007609, allocations: 176.7 kB / 330.7 MB, free: 2.031 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.282e-05/0.007632, allocations: 43.69 kB / 330.7 MB, free: 1.988 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.007645, allocations: 0 / 330.7 MB, free: 1.988 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.781e-05/0.007683, allocations: 4 kB / 330.7 MB, free: 1.984 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.459e-05/0.007707, allocations: 11.91 kB / 330.7 MB, free: 1.973 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.007711, allocations: 4 kB / 330.7 MB, free: 1.969 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001656/0.007876, allocations: 283.2 kB / 331 MB, free: 1.691 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.007876, allocations: 0 / 331 MB, free: 1.691 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001356/0.008012, allocations: 35.94 kB / 331 MB, free: 1.656 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.001096/0.009108, allocations: 0.5644 MB / 331.6 MB, free: 1.398 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.602e-05/0.009174, allocations: 36.78 kB / 331.6 MB, free: 1.359 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.009179, allocations: 4 kB / 331.6 MB, free: 1.355 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.045e-05/0.009199, allocations: 24.83 kB / 331.7 MB, free: 1.328 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001696/0.009369, allocations: 33.64 kB / 331.7 MB, free: 1.297 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000519/0.009888, allocations: 0.6018 MB / 332.3 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.533e-05/0.009953, allocations: 119.3 kB / 332.4 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.596e-05/0.009989, allocations: 25.02 kB / 332.4 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.68e-05/0.01004, allocations: 55.38 kB / 332.5 MB, free: 452 kB / 298.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01004, allocations: 0 / 332.5 MB, free: 452 kB / 298.7 MB Notification: Performance of Templates: time 0.003687/0.01372, allocations: 1.713 MB / 334.2 MB, free: 14.74 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.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.835641860961914]