Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.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.001759/0.001759, 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.002071/0.002071, 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.497/1.497, allocations: 230.6 MB / 258.3 MB, free: 7.969 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.2302/0.2302, allocations: 44.92 MB / 359.6 MB, free: 6.375 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.CombiTable1Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21") [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.002293/0.002293, allocations: 63.91 kB / 0.4943 GB, free: 10.21 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3242/0.3265, allocations: 65.47 MB / 0.5583 GB, free: 7.688 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.003578/0.3301, allocations: 1.608 MB / 0.5598 GB, free: 6.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002091/0.3322, allocations: 1.267 MB / 0.5611 GB, free: 4.816 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.225e-05/0.3323, allocations: 0 / 0.5611 GB, free: 4.816 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002299/0.3325, allocations: 27.84 kB / 0.5611 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003268/0.3328, allocations: 87.61 kB / 0.5612 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00037/0.3332, allocations: 115.7 kB / 0.5613 GB, free: 4.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001804/0.3334, allocations: 67.78 kB / 0.5614 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.3335, allocations: 11.78 kB / 0.5614 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.621e-05/0.3336, allocations: 31.91 kB / 0.5614 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001696/0.3337, allocations: 31.86 kB / 0.5614 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.851e-05/0.3337, allocations: 4 kB / 0.5614 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002151/0.334, allocations: 103.8 kB / 0.5615 GB, free: 4.348 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.762e-05/0.334, allocations: 19.92 kB / 0.5615 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.231e-05/0.3341, allocations: 19.86 kB / 0.5616 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002886/0.3344, allocations: 142 kB / 0.5617 GB, free: 4.176 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3344, allocations: 0 / 0.5617 GB, free: 4.176 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3344, allocations: 0 / 0.5617 GB, free: 4.176 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.471e-06/0.3344, allocations: 0 / 0.5617 GB, free: 4.176 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005604/0.3349, allocations: 333.7 kB / 0.562 GB, free: 3.82 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.335, allocations: 12.02 kB / 0.562 GB, free: 3.809 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.241e-05/0.335, allocations: 8.891 kB / 0.562 GB, free: 3.801 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002183/0.3352, allocations: 134.4 kB / 0.5622 GB, free: 3.645 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.3352, allocations: 12.38 kB / 0.5622 GB, free: 3.633 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.091e-05/0.3353, allocations: 4.359 kB / 0.5622 GB, free: 3.629 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001698/0.3354, allocations: 71.45 kB / 0.5623 GB, free: 3.547 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.3354, allocations: 0 / 0.5623 GB, free: 3.547 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.3355, allocations: 8 kB / 0.5623 GB, free: 3.539 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.3355, allocations: 0 / 0.5623 GB, free: 3.539 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.94e-05/0.3356, allocations: 23.97 kB / 0.5623 GB, free: 3.516 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000427/0.336, allocations: 248 kB / 0.5625 GB, free: 3.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002335/0.3362, allocations: 50.48 kB / 0.5626 GB, free: 3.172 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.84e-05/0.3363, allocations: 16.86 kB / 0.5626 GB, free: 3.152 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.3363, allocations: 0 / 0.5626 GB, free: 3.152 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.3363, allocations: 34.56 kB / 0.5626 GB, free: 3.109 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.21e-07/0.3363, allocations: 0 / 0.5626 GB, free: 3.109 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006294/0.337, allocations: 149.5 kB / 0.5628 GB, free: 2.957 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.999e-05/0.337, allocations: 85.09 kB / 0.5628 GB, free: 2.855 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001747/0.3372, allocations: 144.5 kB / 0.563 GB, free: 2.707 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.3372, allocations: 29.7 kB / 0.563 GB, free: 2.672 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.135e-05/0.3373, allocations: 88.14 kB / 0.5631 GB, free: 2.582 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.173e-05/0.3373, allocations: 27.78 kB / 0.5631 GB, free: 2.555 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-05/0.3374, allocations: 17.72 kB / 0.5631 GB, free: 2.531 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.3375, allocations: 322.8 kB / 0.5634 GB, free: 2.207 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.381e-05/0.3376, allocations: 15.98 kB / 0.5635 GB, free: 2.191 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.675e-05/0.3377, allocations: 41.7 kB / 0.5635 GB, free: 2.145 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.3378, allocations: 60.75 kB / 0.5636 GB, free: 2.082 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3378, allocations: 0 / 0.5636 GB, free: 2.082 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002102/0.3381, allocations: 81.62 kB / 0.5636 GB, free: 1.996 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.3381, allocations: 4 kB / 0.5636 GB, free: 1.992 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.3381, allocations: 4 kB / 0.5636 GB, free: 1.988 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.3381, allocations: 4.031 kB / 0.5636 GB, free: 1.984 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.154e-05/0.3382, allocations: 11.98 kB / 0.5637 GB, free: 1.973 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.3382, allocations: 4.188 kB / 0.5637 GB, free: 1.969 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.98e-05/0.3382, allocations: 11.92 kB / 0.5637 GB, free: 1.957 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/0.3382, allocations: 11.94 kB / 0.5637 GB, free: 1.945 MB / 398.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 (5): * Single equations (assignments): 5 * 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 9.471e-05/0.3383, allocations: 113.8 kB / 0.5638 GB, free: 1.824 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.884e-05/0.3384, allocations: 11.89 kB / 0.5638 GB, free: 1.812 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002768/0.3386, allocations: 102 kB / 0.5639 GB, free: 1.695 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.3386, allocations: 0 / 0.5639 GB, free: 1.695 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.3386, allocations: 0 / 0.5639 GB, free: 1.695 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.3387, allocations: 4 kB / 0.5639 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005008/0.3392, allocations: 337.5 kB / 0.5642 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3392, allocations: 0 / 0.5642 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.074e-05/0.3392, allocations: 8 kB / 0.5642 GB, free: 1.305 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.3392, allocations: 4 kB / 0.5642 GB, free: 1.301 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.203e-06/0.3392, allocations: 4 kB / 0.5642 GB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/0.3392, allocations: 7.922 kB / 0.5643 GB, free: 1.289 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3392, allocations: 0 / 0.5643 GB, free: 1.289 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002572/0.3395, allocations: 175.5 kB / 0.5644 GB, free: 1.102 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.975e-05/0.3395, allocations: 7.938 kB / 0.5644 GB, free: 1.094 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.254e-05/0.3395, allocations: 8 kB / 0.5644 GB, free: 1.086 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.571e-05/0.3396, allocations: 7.938 kB / 0.5644 GB, free: 1.078 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.618e-05/0.3397, allocations: 12.2 kB / 0.5645 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.339e-06/0.3397, allocations: 0 / 0.5645 GB, free: 1.066 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001039/0.3398, allocations: 111.3 kB / 0.5646 GB, free: 0.957 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3398, allocations: 0 / 0.5646 GB, free: 0.957 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003064/0.3401, allocations: 39.86 kB / 0.5646 GB, free: 0.918 MB / 398.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 (5): * Single equations (assignments): 5 * 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.001836/0.3419, allocations: 0.499 MB / 0.5651 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002376/0.3421, allocations: 51.97 kB / 0.5651 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3421, allocations: 0 / 0.5651 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.956e-05/0.3422, allocations: 31.91 kB / 0.5652 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003444/0.3426, allocations: 18.23 kB / 0.5652 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004896/0.3431, allocations: 203.2 kB / 0.5654 GB, free: 284 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003672/0.3434, allocations: 0.6924 MB / 0.5661 GB, free: 15.56 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.61e-05/0.3435, allocations: 19.42 kB / 0.5661 GB, free: 15.54 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3435, allocations: 0 / 0.5661 GB, free: 15.54 MB / 414.1 MB Notification: Performance of Templates: time 0.004472/0.348, allocations: 1.972 MB / 0.568 GB, free: 13.58 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.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.924216425046325]