Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.561/1.561, allocations: 222.9 MB / 241.6 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000995/0.000995, allocations: 101.7 kB / 291.9 MB, free: 10.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3473/0.3473, allocations: 44.13 MB / 386.1 MB, free: 37.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001042/0.001042, allocations: 51.92 kB / 457.7 MB, free: 2.312 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3651/0.3661, allocations: 60.8 MB / 0.5064 GB, free: 38.35 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.002983/0.3692, allocations: 1.692 MB / 0.508 GB, free: 37.2 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007396/0.3699, allocations: 454.4 kB / 0.5085 GB, free: 36.9 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.931e-05/0.37, allocations: 1.531 kB / 0.5085 GB, free: 36.9 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005103/0.3705, allocations: 459.4 kB / 0.5089 GB, free: 36.87 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002468/0.3708, allocations: 237 kB / 0.5091 GB, free: 36.86 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003723/0.3712, allocations: 164.7 kB / 0.5093 GB, free: 36.77 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001907/0.3714, allocations: 170.2 kB / 0.5095 GB, free: 36.74 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.3715, allocations: 23.16 kB / 0.5095 GB, free: 36.73 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.7e-05/0.3716, allocations: 100.6 kB / 0.5096 GB, free: 36.72 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001776/0.3718, allocations: 216.9 kB / 0.5098 GB, free: 36.69 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.161e-05/0.3718, allocations: 2.219 kB / 0.5098 GB, free: 36.69 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.693e-05/0.3719, allocations: 40.16 kB / 0.5098 GB, free: 36.68 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.331e-05/0.372, allocations: 81.19 kB / 0.5099 GB, free: 36.66 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.876e-05/0.3721, allocations: 106.8 kB / 0.51 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002328/0.3723, allocations: 264.6 kB / 0.5102 GB, free: 36.45 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.3723, allocations: 0 / 0.5102 GB, free: 36.45 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3723, allocations: 3.938 kB / 0.5103 GB, free: 36.45 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.3724, allocations: 0 / 0.5103 GB, free: 36.45 MB / 378.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.0005952/0.373, allocations: 0.6437 MB / 0.5109 GB, free: 35.88 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.373, allocations: 8.531 kB / 0.5109 GB, free: 35.88 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.852e-05/0.3731, allocations: 46.25 kB / 0.5109 GB, free: 35.86 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002295/0.3733, allocations: 292.2 kB / 0.5112 GB, free: 35.58 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.3733, allocations: 3.344 kB / 0.5112 GB, free: 35.58 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.672e-05/0.3734, allocations: 7.188 kB / 0.5112 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.3735, allocations: 64.23 kB / 0.5113 GB, free: 35.53 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.3735, allocations: 2.938 kB / 0.5113 GB, free: 35.53 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.3735, allocations: 0 / 0.5113 GB, free: 35.53 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.3736, allocations: 0 / 0.5113 GB, free: 35.53 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.712e-05/0.3737, allocations: 42.84 kB / 0.5113 GB, free: 35.51 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004343/0.3741, allocations: 403.6 kB / 0.5117 GB, free: 35.19 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.195e-05/0.3742, allocations: 42.2 kB / 0.5118 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.602e-05/0.3743, allocations: 20.7 kB / 0.5118 GB, free: 35.15 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.3743, allocations: 4 kB / 0.5118 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.734e-05/0.3743, allocations: 33.62 kB / 0.5118 GB, free: 35.11 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.021e-06/0.3743, allocations: 3.938 kB / 0.5118 GB, free: 35.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008834/0.3752, allocations: 322.8 kB / 0.5121 GB, free: 34.95 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.523e-05/0.3752, allocations: 58.31 kB / 0.5122 GB, free: 34.88 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007683/0.376, allocations: 0.8552 MB / 0.513 GB, free: 34.57 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.376, allocations: 25.7 kB / 0.513 GB, free: 34.54 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.3762, allocations: 220.2 kB / 0.5132 GB, free: 34.36 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.666e-05/0.3762, allocations: 29.55 kB / 0.5133 GB, free: 34.34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.965e-05/0.3762, allocations: 26.67 kB / 0.5133 GB, free: 34.32 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.922e-05/0.3763, allocations: 361.1 kB / 0.5136 GB, free: 33.98 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.113e-05/0.3764, allocations: 35.73 kB / 0.5137 GB, free: 33.97 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.985e-05/0.3765, allocations: 35.69 kB / 0.5137 GB, free: 33.96 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/0.3766, allocations: 72.11 kB / 0.5138 GB, free: 33.93 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.3766, allocations: 0 / 0.5138 GB, free: 33.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002263/0.3769, allocations: 143.8 kB / 0.5139 GB, free: 33.86 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.3769, allocations: 9.922 kB / 0.5139 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.3769, allocations: 6.562 kB / 0.5139 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.3769, allocations: 3.938 kB / 0.5139 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.961e-05/0.377, allocations: 21.59 kB / 0.514 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.3771, allocations: 3.938 kB / 0.514 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.145e-05/0.3771, allocations: 2.969 kB / 0.514 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.3771, allocations: 2.906 kB / 0.514 GB, free: 33.84 MB / 378.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 0.000154/0.3773, allocations: 215.3 kB / 0.5142 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.097e-05/0.3773, allocations: 41.97 kB / 0.5142 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003116/0.3777, allocations: 173.1 kB / 0.5144 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.3777, allocations: 0.75 kB / 0.5144 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.3777, allocations: 3.938 kB / 0.5144 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.3777, allocations: 0.7031 kB / 0.5144 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006483/0.3784, allocations: 0.5154 MB / 0.5149 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.3784, allocations: 3.938 kB / 0.5149 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.547e-05/0.3784, allocations: 17.03 kB / 0.5149 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.3785, allocations: 1.438 kB / 0.5149 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.3785, allocations: 2.406 kB / 0.5149 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.3785, allocations: 1.328 kB / 0.5149 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.3785, allocations: 3.984 kB / 0.5149 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000585/0.3791, allocations: 0.9241 MB / 0.5158 GB, free: 32.38 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.286e-05/0.3792, allocations: 113.3 kB / 0.5159 GB, free: 32.26 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.535e-05/0.3792, allocations: 1.219 kB / 0.5159 GB, free: 32.26 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.166e-05/0.3793, allocations: 3.375 kB / 0.5159 GB, free: 32.26 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.039e-05/0.3793, allocations: 15.39 kB / 0.5159 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.3793, allocations: 2.359 kB / 0.5159 GB, free: 32.25 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006125/0.38, allocations: 0.6525 MB / 0.5166 GB, free: 32.01 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.114e-06/0.38, allocations: 0 / 0.5166 GB, free: 32.01 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003668/0.3803, allocations: 38.11 kB / 0.5166 GB, free: 32 MB / 378.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.0009898/0.3813, allocations: 449.5 kB / 0.517 GB, free: 31.79 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002159/0.3816, allocations: 83.38 kB / 0.5171 GB, free: 31.77 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3816, allocations: 0 / 0.5171 GB, free: 31.77 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.311e-05/0.3817, allocations: 40.2 kB / 0.5172 GB, free: 31.76 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004033/0.3821, allocations: 26.03 kB / 0.5172 GB, free: 31.75 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.3831, allocations: 1.049 MB / 0.5182 GB, free: 31.14 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002933/0.3834, allocations: 0.8302 MB / 0.519 GB, free: 30.43 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.56e-05/0.3835, allocations: 30.98 kB / 0.5191 GB, free: 30.41 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.296e-05/0.3836, allocations: 13.19 kB / 0.5191 GB, free: 30.41 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3836, allocations: 0 / 0.5191 GB, free: 30.41 MB / 378.7 MB Notification: Performance of Templates: time 0.00478/0.3884, allocations: 1.688 MB / 0.5207 GB, free: 30.21 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches