Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.001842/0.001842, allocations: 112.2 kB / 21.19 MB, free: 0.7695 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.00216/0.00216, allocations: 210 kB / 24.5 MB, free: 4.156 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.48/1.48, allocations: 230.6 MB / 258.3 MB, free: 7.957 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.2235/0.2235, allocations: 44.91 MB / 359.6 MB, free: 6.27 MB / 286.1 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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6") [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.002032/0.002032, allocations: 63.89 kB / 0.4943 GB, free: 10.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3494/0.3515, allocations: 65.46 MB / 0.5583 GB, free: 7.695 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.003506/0.355, allocations: 1.672 MB / 0.5599 GB, free: 6.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001229/0.3562, allocations: 0.5659 MB / 0.5604 GB, free: 5.449 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.241e-05/0.3563, allocations: 4 kB / 0.5605 GB, free: 5.445 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00064/0.3569, allocations: 455.1 kB / 0.5609 GB, free: 5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005235/0.3574, allocations: 299.3 kB / 0.5612 GB, free: 4.707 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003536/0.3578, allocations: 135.6 kB / 0.5613 GB, free: 4.574 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002635/0.358, allocations: 171.6 kB / 0.5615 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.3582, allocations: 15.98 kB / 0.5615 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001373/0.3583, allocations: 111.7 kB / 0.5616 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003202/0.3586, allocations: 255.5 kB / 0.5618 GB, free: 4.031 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.3586, allocations: 4 kB / 0.5618 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.761e-05/0.3587, allocations: 35.97 kB / 0.5619 GB, free: 3.992 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001188/0.3589, allocations: 87.64 kB / 0.562 GB, free: 3.906 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.359, allocations: 107 kB / 0.5621 GB, free: 3.801 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000386/0.3594, allocations: 265 kB / 0.5623 GB, free: 3.547 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.3594, allocations: 4 kB / 0.5623 GB, free: 3.543 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3594, allocations: 0 / 0.5623 GB, free: 3.543 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.111e-05/0.3594, allocations: 3.938 kB / 0.5623 GB, free: 3.539 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0009146/0.3603, allocations: 0.5815 MB / 0.5629 GB, free: 2.926 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.3603, allocations: 8.031 kB / 0.5629 GB, free: 2.918 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.398e-05/0.3604, allocations: 48.61 kB / 0.5629 GB, free: 2.871 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003191/0.3607, allocations: 242.8 kB / 0.5632 GB, free: 2.609 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.3607, allocations: 8.375 kB / 0.5632 GB, free: 2.602 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.802e-05/0.3608, allocations: 384 / 0.5632 GB, free: 2.602 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001868/0.361, allocations: 69.72 kB / 0.5632 GB, free: 2.527 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/0.361, allocations: 3.984 kB / 0.5632 GB, free: 2.523 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.361, allocations: 0 / 0.5632 GB, free: 2.523 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.361, allocations: 4 kB / 0.5632 GB, free: 2.52 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001352/0.3611, allocations: 31.97 kB / 0.5633 GB, free: 2.488 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005259/0.3616, allocations: 363.8 kB / 0.5636 GB, free: 2.09 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001349/0.3618, allocations: 46.48 kB / 0.5637 GB, free: 2.035 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.519e-05/0.3619, allocations: 24.94 kB / 0.5637 GB, free: 2.008 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.321e-05/0.3619, allocations: 0 / 0.5637 GB, free: 2.008 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.3619, allocations: 34.56 kB / 0.5637 GB, free: 1.965 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.3619, allocations: 0 / 0.5637 GB, free: 1.965 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008554/0.3628, allocations: 296.5 kB / 0.564 GB, free: 1.668 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.397e-05/0.3628, allocations: 59.41 kB / 0.5641 GB, free: 1.598 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009383/0.3638, allocations: 0.8574 MB / 0.5649 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.3638, allocations: 29.7 kB / 0.5649 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001864/0.364, allocations: 208.1 kB / 0.5651 GB, free: 496 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.867e-05/0.364, allocations: 31.73 kB / 0.5652 GB, free: 464 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.284e-05/0.3641, allocations: 17.72 kB / 0.5652 GB, free: 440 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001981/0.3643, allocations: 366.7 kB / 0.5655 GB, free: 64 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001169/0.3644, allocations: 35.97 kB / 0.5656 GB, free: 28 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.3645, allocations: 32.02 kB / 0.5656 GB, free: 15.99 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002138/0.3647, allocations: 76.83 kB / 0.5657 GB, free: 15.92 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3647, allocations: 0 / 0.5657 GB, free: 15.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003121/0.365, allocations: 153.2 kB / 0.5658 GB, free: 15.76 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.365, allocations: 4 kB / 0.5658 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.365, allocations: 0 / 0.5658 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.365, allocations: 4 kB / 0.5658 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.3652, allocations: 27.97 kB / 0.5658 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.3652, allocations: 0 / 0.5658 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.681e-05/0.3652, allocations: 11.94 kB / 0.5659 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.3653, allocations: 7.922 kB / 0.5659 GB, free: 15.71 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 (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 0.0002203/0.3655, allocations: 213.8 kB / 0.5661 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.838e-05/0.3655, allocations: 43.72 kB / 0.5661 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003924/0.3659, allocations: 173.3 kB / 0.5663 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.3659, allocations: 0 / 0.5663 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.3659, allocations: 0 / 0.5663 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.3659, allocations: 3.938 kB / 0.5663 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006856/0.3666, allocations: 473.8 kB / 0.5667 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.3666, allocations: 0 / 0.5667 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.572e-05/0.3667, allocations: 19.98 kB / 0.5668 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3667, allocations: 0 / 0.5668 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.3667, allocations: 7.938 kB / 0.5668 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3667, allocations: 80 / 0.5668 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.3667, allocations: 3.984 kB / 0.5668 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003463/0.3671, allocations: 243.2 kB / 0.567 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.668e-05/0.3671, allocations: 39.7 kB / 0.567 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.879e-05/0.3672, allocations: 7.938 kB / 0.567 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.3673, allocations: 7.984 kB / 0.567 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.875e-05/0.3673, allocations: 7.938 kB / 0.5671 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.149e-06/0.3673, allocations: 4 kB / 0.5671 GB, free: 14.39 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006797/0.368, allocations: 0.6589 MB / 0.5677 GB, free: 13.74 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.368, allocations: 0 / 0.5677 GB, free: 13.74 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002623/0.3683, allocations: 20 kB / 0.5677 GB, free: 13.72 MB / 414.1 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.001527/0.3698, allocations: 417.2 kB / 0.5681 GB, free: 13.46 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003016/0.3701, allocations: 71.94 kB / 0.5682 GB, free: 13.39 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3701, allocations: 0 / 0.5682 GB, free: 13.39 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001251/0.3702, allocations: 43.91 kB / 0.5682 GB, free: 13.35 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004028/0.3706, allocations: 25.95 kB / 0.5683 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001313/0.372, allocations: 0.8551 MB / 0.5691 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005072/0.3725, allocations: 0.8298 MB / 0.5699 GB, free: 11.58 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.542e-05/0.3725, allocations: 15.44 kB / 0.5699 GB, free: 11.57 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3725, allocations: 0 / 0.5699 GB, free: 11.57 MB / 414.1 MB Notification: Performance of Templates: time 0.007826/0.3803, allocations: 3.83 MB / 0.5737 GB, free: 7.734 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.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.754128684988245]