Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.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.001446/0.001446, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.001244/0.001244, allocations: 170.1 kB / 24.84 MB, free: 8.926 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.013/1.013, allocations: 158.6 MB / 186.7 MB, free: 2.785 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1425/0.1425, allocations: 32.38 MB / 271.5 MB, free: 14.54 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2D.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6") translateModel(ModelicaTest.Tables.CombiTable2D.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 348.9 MB, free: 9.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.29e-05/2.449e-05, allocations: 6.25 kB / 348.9 MB, free: 9.164 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test6): time 0.001962/0.001986, allocations: 1.641 MB / 350.6 MB, free: 7.516 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004258/0.002412, allocations: 323.3 kB / 350.9 MB, free: 7.195 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.745e-05/0.002459, allocations: 0 / 350.9 MB, free: 7.195 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003706/0.00283, allocations: 459 kB / 351.3 MB, free: 6.746 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002305/0.00306, allocations: 251.4 kB / 351.6 MB, free: 6.5 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001903/0.003251, allocations: 107.7 kB / 351.7 MB, free: 6.395 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001407/0.003391, allocations: 171.6 kB / 351.8 MB, free: 6.227 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.096e-05/0.003472, allocations: 12.17 kB / 351.9 MB, free: 6.215 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.255e-05/0.003555, allocations: 119.8 kB / 352 MB, free: 6.098 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001401/0.003695, allocations: 235.6 kB / 352.2 MB, free: 5.867 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.003711, allocations: 4 kB / 352.2 MB, free: 5.863 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.961e-05/0.003771, allocations: 35.97 kB / 352.2 MB, free: 5.828 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.345e-05/0.003844, allocations: 83.7 kB / 352.3 MB, free: 5.746 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.709e-05/0.003871, allocations: 31.75 kB / 352.4 MB, free: 5.715 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00017/0.004041, allocations: 203.1 kB / 352.6 MB, free: 5.516 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.004044, allocations: 0 / 352.6 MB, free: 5.516 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.004045, allocations: 0 / 352.6 MB, free: 5.516 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.479e-06/0.004049, allocations: 4 kB / 352.6 MB, free: 5.512 MB / 282.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.0004604/0.00451, allocations: 0.6893 MB / 353.2 MB, free: 4.785 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.00455, allocations: 11.97 kB / 353.3 MB, free: 4.773 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.133e-05/0.004601, allocations: 56.59 kB / 353.3 MB, free: 4.719 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/0.004755, allocations: 229 kB / 353.5 MB, free: 4.469 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.004767, allocations: 12.36 kB / 353.5 MB, free: 4.457 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.121e-05/0.004788, allocations: 4.312 kB / 353.6 MB, free: 4.453 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001074/0.004896, allocations: 66.94 kB / 353.6 MB, free: 4.379 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.004905, allocations: 192 / 353.6 MB, free: 4.379 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-06/0.004914, allocations: 3.938 kB / 353.6 MB, free: 4.375 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.004919, allocations: 0 / 353.6 MB, free: 4.375 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.378e-05/0.004943, allocations: 8 kB / 353.6 MB, free: 4.367 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002663/0.005209, allocations: 336.2 kB / 354 MB, free: 4.012 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.607e-05/0.005265, allocations: 39 kB / 354 MB, free: 3.961 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.447e-05/0.00528, allocations: 15.77 kB / 354 MB, free: 3.941 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.694e-05/0.005297, allocations: 7.938 kB / 354 MB, free: 3.934 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.433e-05/0.005311, allocations: 33.39 kB / 354.1 MB, free: 3.891 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.005312, allocations: 4 kB / 354.1 MB, free: 3.887 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003063/0.005618, allocations: 145.5 kB / 354.2 MB, free: 3.738 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.18e-05/0.00564, allocations: 59.41 kB / 354.3 MB, free: 3.668 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000248/0.005888, allocations: 0.5923 MB / 354.8 MB, free: 3.059 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.706e-06/0.005897, allocations: 29.7 kB / 354.9 MB, free: 3.023 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.729e-05/0.005994, allocations: 294.7 kB / 355.2 MB, free: 2.73 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.831e-05/0.006012, allocations: 15.81 kB / 355.2 MB, free: 2.715 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.8e-05/0.00604, allocations: 35.34 kB / 355.2 MB, free: 2.672 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.122e-05/0.006122, allocations: 0.5508 MB / 355.8 MB, free: 2.109 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.509e-05/0.006137, allocations: 11.98 kB / 355.8 MB, free: 2.098 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.366e-05/0.00615, allocations: 16 kB / 355.8 MB, free: 2.082 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.148e-05/0.006182, allocations: 31.67 kB / 355.8 MB, free: 2.047 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.006184, allocations: 3.938 kB / 355.8 MB, free: 2.043 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.408e-05/0.006268, allocations: 93.41 kB / 355.9 MB, free: 1.945 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.006281, allocations: 4 kB / 355.9 MB, free: 1.941 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.006287, allocations: 0 / 355.9 MB, free: 1.941 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.327e-06/0.006296, allocations: 4 kB / 355.9 MB, free: 1.938 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.282e-05/0.006369, allocations: 15.98 kB / 355.9 MB, free: 1.922 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.446e-06/0.006372, allocations: 3.938 kB / 355.9 MB, free: 1.918 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.702e-05/0.006399, allocations: 8 kB / 356 MB, free: 1.91 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.006405, allocations: 3.984 kB / 356 MB, free: 1.906 MB / 282.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.997e-05/0.006465, allocations: 168.5 kB / 356.1 MB, free: 1.73 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.032e-05/0.006496, allocations: 43.72 kB / 356.2 MB, free: 1.688 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001132/0.006609, allocations: 101.5 kB / 356.3 MB, free: 1.582 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.006611, allocations: 0 / 356.3 MB, free: 1.582 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/0.006613, allocations: 0 / 356.3 MB, free: 1.582 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.006616, allocations: 0 / 356.3 MB, free: 1.582 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002346/0.00685, allocations: 397.8 kB / 356.7 MB, free: 1.16 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.006852, allocations: 0 / 356.7 MB, free: 1.16 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.146e-05/0.006894, allocations: 19.98 kB / 356.7 MB, free: 1.141 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.006896, allocations: 0 / 356.7 MB, free: 1.141 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-06/0.006902, allocations: 4 kB / 356.7 MB, free: 1.137 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.006903, allocations: 4 kB / 356.7 MB, free: 1.133 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.006905, allocations: 0 / 356.7 MB, free: 1.133 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.422e-05/0.006999, allocations: 251.5 kB / 356.9 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.606e-05/0.007025, allocations: 35.7 kB / 357 MB, free: 0.832 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/0.00704, allocations: 4 kB / 357 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.022e-05/0.00708, allocations: 0 / 357 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.751e-05/0.007118, allocations: 11.98 kB / 357 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.007121, allocations: 0 / 357 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001478/0.007269, allocations: 394.7 kB / 357.4 MB, free: 444 kB / 282.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.007269, allocations: 0 / 357.4 MB, free: 444 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001668/0.007436, allocations: 20 kB / 357.4 MB, free: 424 kB / 282.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.000875/0.008311, allocations: 390.3 kB / 357.8 MB, free: 128 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001013/0.008412, allocations: 31.61 kB / 357.8 MB, free: 92 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.008414, allocations: 0 / 357.8 MB, free: 92 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.637e-05/0.008441, allocations: 23.67 kB / 357.8 MB, free: 64 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/0.008715, allocations: 39.08 kB / 357.9 MB, free: 24 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006841/0.009399, allocations: 0.5784 MB / 358.4 MB, free: 15.41 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.828e-05/0.009477, allocations: 123.2 kB / 358.6 MB, free: 15.27 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.416e-05/0.009511, allocations: 8 kB / 358.6 MB, free: 15.27 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.351e-05/0.009575, allocations: 86.12 kB / 358.6 MB, free: 15.18 MB / 298.7 MB Notification: Performance of SimCode: time 9.12e-07/0.009576, allocations: 0 / 358.6 MB, free: 15.18 MB / 298.7 MB Notification: Performance of Templates: time 0.003994/0.01357, allocations: 1.612 MB / 360.3 MB, free: 13.58 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test6/Test6.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.245576704852283]