Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.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.001708/0.001708, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 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.002082/0.002082, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 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.448/1.448, allocations: 230.6 MB / 258.3 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] 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.2453/0.2453, allocations: 44.91 MB / 359.6 MB, free: 6.281 MB / 286.1 MB " [Timeout remaining time 179] 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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002146/0.002146, allocations: 67.91 kB / 0.4943 GB, free: 10.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3286, allocations: 65.48 MB / 0.5583 GB, free: 7.672 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.00316/0.3317, allocations: 1.688 MB / 0.5599 GB, free: 5.992 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001115/0.3328, allocations: 0.601 MB / 0.5605 GB, free: 5.387 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.132e-05/0.3329, allocations: 0 / 0.5605 GB, free: 5.387 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006124/0.3335, allocations: 451.2 kB / 0.5609 GB, free: 4.945 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004647/0.334, allocations: 299.2 kB / 0.5612 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004251/0.3344, allocations: 183.4 kB / 0.5614 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002554/0.3347, allocations: 179.6 kB / 0.5616 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.3348, allocations: 12.22 kB / 0.5616 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001367/0.3349, allocations: 119.7 kB / 0.5617 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002902/0.3352, allocations: 247.5 kB / 0.5619 GB, free: 3.918 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.688e-05/0.3352, allocations: 8 kB / 0.5619 GB, free: 3.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.3353, allocations: 55.92 kB / 0.562 GB, free: 3.855 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.3354, allocations: 79.69 kB / 0.5621 GB, free: 3.777 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001016/0.3355, allocations: 115 kB / 0.5622 GB, free: 3.664 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003658/0.3359, allocations: 284.9 kB / 0.5625 GB, free: 3.391 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.3359, allocations: 0 / 0.5625 GB, free: 3.391 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3359, allocations: 0 / 0.5625 GB, free: 3.391 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.3359, allocations: 0 / 0.5625 GB, free: 3.391 MB / 398.1 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.0007609/0.3367, allocations: 0.5854 MB / 0.563 GB, free: 2.773 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.3367, allocations: 12.03 kB / 0.563 GB, free: 2.762 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.872e-05/0.3368, allocations: 48.61 kB / 0.5631 GB, free: 2.715 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002917/0.3371, allocations: 246.8 kB / 0.5633 GB, free: 2.449 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.3371, allocations: 384 / 0.5633 GB, free: 2.449 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.21e-05/0.3371, allocations: 8.375 kB / 0.5633 GB, free: 2.441 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/0.3373, allocations: 69.67 kB / 0.5634 GB, free: 2.367 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.3373, allocations: 3.984 kB / 0.5634 GB, free: 2.363 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.3373, allocations: 4 kB / 0.5634 GB, free: 2.359 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.3373, allocations: 0 / 0.5634 GB, free: 2.359 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001186/0.3374, allocations: 39.97 kB / 0.5634 GB, free: 2.32 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005543/0.338, allocations: 379.6 kB / 0.5638 GB, free: 1.906 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.3381, allocations: 46.55 kB / 0.5639 GB, free: 1.852 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.036e-05/0.3381, allocations: 12.86 kB / 0.5639 GB, free: 1.836 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.3382, allocations: 0 / 0.5639 GB, free: 1.836 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/0.3382, allocations: 46.62 kB / 0.5639 GB, free: 1.781 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.81e-07/0.3382, allocations: 0 / 0.5639 GB, free: 1.781 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009819/0.3392, allocations: 324.6 kB / 0.5642 GB, free: 1.457 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.165e-05/0.3392, allocations: 59.34 kB / 0.5643 GB, free: 1.387 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000906/0.3401, allocations: 0.8699 MB / 0.5651 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.3401, allocations: 25.7 kB / 0.5651 GB, free: 484 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001928/0.3403, allocations: 228 kB / 0.5654 GB, free: 252 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.531e-05/0.3404, allocations: 23.84 kB / 0.5654 GB, free: 228 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.623e-05/0.3404, allocations: 21.72 kB / 0.5654 GB, free: 200 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002276/0.3406, allocations: 362.8 kB / 0.5658 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.348e-05/0.3407, allocations: 23.98 kB / 0.5658 GB, free: 15.81 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.456e-05/0.3408, allocations: 44.03 kB / 0.5658 GB, free: 15.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001745/0.341, allocations: 68.83 kB / 0.5659 GB, free: 15.7 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.341, allocations: 0 / 0.5659 GB, free: 15.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002854/0.3413, allocations: 157.2 kB / 0.566 GB, free: 15.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.3413, allocations: 4 kB / 0.566 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.3413, allocations: 0 / 0.566 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.3413, allocations: 0 / 0.566 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.3414, allocations: 23.98 kB / 0.5661 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.198e-06/0.3414, allocations: 3.938 kB / 0.5661 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.27e-05/0.3415, allocations: 11.94 kB / 0.5661 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/0.3415, allocations: 0 / 0.5661 GB, free: 15.49 MB / 414.1 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 0.0002157/0.3417, allocations: 217.8 kB / 0.5663 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.265e-05/0.3418, allocations: 43.72 kB / 0.5663 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003638/0.3422, allocations: 181.5 kB / 0.5665 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.3422, allocations: 0 / 0.5665 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.3422, allocations: 3.938 kB / 0.5665 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.3422, allocations: 3.938 kB / 0.5665 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006988/0.3429, allocations: 0.4905 MB / 0.567 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.3429, allocations: 3.938 kB / 0.567 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.586e-05/0.3429, allocations: 20.02 kB / 0.567 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.622e-06/0.343, allocations: 4 kB / 0.567 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.343, allocations: 0 / 0.567 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.343, allocations: 3.938 kB / 0.567 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.343, allocations: 0 / 0.567 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003251/0.3433, allocations: 252.8 kB / 0.5673 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.58e-05/0.3434, allocations: 51.61 kB / 0.5673 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.648e-05/0.3434, allocations: 0 / 0.5673 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.3435, allocations: 7.984 kB / 0.5673 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.474e-05/0.3435, allocations: 4 kB / 0.5673 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.3436, allocations: 3.984 kB / 0.5673 GB, free: 14.12 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006615/0.3442, allocations: 0.6589 MB / 0.568 GB, free: 13.46 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3442, allocations: 0 / 0.568 GB, free: 13.46 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000285/0.3445, allocations: 31.94 kB / 0.568 GB, free: 13.43 MB / 414.1 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.001747/0.3462, allocations: 463.1 kB / 0.5684 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002441/0.3465, allocations: 71.95 kB / 0.5685 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.3465, allocations: 4 kB / 0.5685 GB, free: 13.08 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001151/0.3466, allocations: 35.92 kB / 0.5685 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004052/0.347, allocations: 30.23 kB / 0.5686 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001279/0.3483, allocations: 0.8717 MB / 0.5694 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004808/0.3488, allocations: 0.8298 MB / 0.5702 GB, free: 11.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.128e-05/0.3488, allocations: 19.44 kB / 0.5703 GB, free: 11.24 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3488, allocations: 0 / 0.5703 GB, free: 11.24 MB / 414.1 MB Notification: Performance of Templates: time 0.007973/0.3568, allocations: 4.061 MB / 0.5742 GB, free: 7.172 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.802929514087737]