Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.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.CombiTable2Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001676/0.001676, 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.334/1.334, allocations: 222.9 MB / 241.6 MB, free: 10.98 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.001037/0.001037, allocations: 99.67 kB / 291.9 MB, free: 10.95 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.3517/0.3517, allocations: 44.14 MB / 386.1 MB, free: 37.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001032/0.001032, allocations: 51.92 kB / 457.7 MB, free: 2.309 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.364/0.365, allocations: 60.8 MB / 0.5064 GB, free: 38.46 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.00304/0.3681, allocations: 2.018 MB / 0.5084 GB, free: 37.07 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001235/0.3694, allocations: 0.8423 MB / 0.5092 GB, free: 36.5 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.213e-05/0.3695, allocations: 5.406 kB / 0.5092 GB, free: 36.5 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004356/0.3699, allocations: 242.1 kB / 0.5094 GB, free: 36.46 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002698/0.3702, allocations: 174.6 kB / 0.5096 GB, free: 36.41 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009323/0.3712, allocations: 455.1 kB / 0.51 GB, free: 36.19 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002657/0.3714, allocations: 270.1 kB / 0.5103 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001785/0.3716, allocations: 66.27 kB / 0.5103 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001011/0.3717, allocations: 120 kB / 0.5105 GB, free: 36.01 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001856/0.3719, allocations: 190.1 kB / 0.5106 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.747e-05/0.372, allocations: 6.625 kB / 0.5106 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001582/0.3721, allocations: 94.84 kB / 0.5107 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001236/0.3722, allocations: 87.66 kB / 0.5108 GB, free: 35.9 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.283e-05/0.3723, allocations: 103 kB / 0.5109 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002731/0.3726, allocations: 298.6 kB / 0.5112 GB, free: 35.68 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.3726, allocations: 0 / 0.5112 GB, free: 35.68 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3726, allocations: 0 / 0.5112 GB, free: 35.68 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.96e-06/0.3726, allocations: 3.938 kB / 0.5112 GB, free: 35.68 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005958/0.3732, allocations: 0.6308 MB / 0.5118 GB, free: 35.12 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.3733, allocations: 8.5 kB / 0.5118 GB, free: 35.12 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.201e-05/0.3733, allocations: 37.31 kB / 0.5119 GB, free: 35.11 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002584/0.3736, allocations: 291.8 kB / 0.5121 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.3736, allocations: 8.344 kB / 0.5121 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.05e-05/0.3737, allocations: 17.16 kB / 0.5122 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002017/0.3739, allocations: 108.6 kB / 0.5123 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.3739, allocations: 4 kB / 0.5123 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.3739, allocations: 2.562 kB / 0.5123 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.3739, allocations: 2.906 kB / 0.5123 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001437/0.3741, allocations: 74.28 kB / 0.5123 GB, free: 34.74 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005087/0.3746, allocations: 482.6 kB / 0.5128 GB, free: 34.38 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001481/0.3748, allocations: 88.94 kB / 0.5129 GB, free: 34.33 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.363e-05/0.3748, allocations: 36.97 kB / 0.5129 GB, free: 34.32 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.868e-05/0.3749, allocations: 3 kB / 0.5129 GB, free: 34.32 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.3749, allocations: 38.56 kB / 0.513 GB, free: 34.27 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 1.382e-06/0.3749, allocations: 0 / 0.513 GB, free: 34.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008042/0.3757, allocations: 378.9 kB / 0.5133 GB, free: 34.09 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.996e-05/0.3757, allocations: 54.25 kB / 0.5134 GB, free: 34.03 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004232/0.3762, allocations: 0.5151 MB / 0.5139 GB, free: 33.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.3762, allocations: 27.02 kB / 0.5139 GB, free: 33.79 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.649e-05/0.3763, allocations: 201 kB / 0.5141 GB, free: 33.62 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.793e-05/0.3763, allocations: 60.59 kB / 0.5142 GB, free: 33.57 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-05/0.3764, allocations: 32.8 kB / 0.5142 GB, free: 33.54 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.176e-05/0.3765, allocations: 350.8 kB / 0.5145 GB, free: 33.21 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.3766, allocations: 49.61 kB / 0.5146 GB, free: 33.2 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.616e-05/0.3767, allocations: 55.45 kB / 0.5146 GB, free: 33.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000204/0.3769, allocations: 124 kB / 0.5147 GB, free: 33.12 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3769, allocations: 3.938 kB / 0.5147 GB, free: 33.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002803/0.3772, allocations: 193.1 kB / 0.5149 GB, free: 33.03 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.3772, allocations: 5.938 kB / 0.5149 GB, free: 33.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.3772, allocations: 0 / 0.5149 GB, free: 33.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.3772, allocations: 0 / 0.5149 GB, free: 33.03 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.3774, allocations: 38.91 kB / 0.515 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.3774, allocations: 0 / 0.515 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.217e-05/0.3775, allocations: 12.89 kB / 0.515 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.3775, allocations: 10.81 kB / 0.515 GB, free: 33.01 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 (17): * Single equations (assignments): 17 * 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.0001194/0.3776, allocations: 173.1 kB / 0.5152 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.331e-05/0.3777, allocations: 36.78 kB / 0.5152 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003727/0.3781, allocations: 234.5 kB / 0.5154 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.3781, allocations: 0 / 0.5154 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.3781, allocations: 0 / 0.5154 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.3781, allocations: 6.625 kB / 0.5154 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006266/0.3787, allocations: 0.6052 MB / 0.516 GB, free: 32.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.3787, allocations: 1.094 kB / 0.516 GB, free: 32.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/0.3788, allocations: 32.22 kB / 0.516 GB, free: 32.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.3788, allocations: 1.312 kB / 0.516 GB, free: 32.32 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.3789, allocations: 14.19 kB / 0.5161 GB, free: 32.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.3789, allocations: 1.094 kB / 0.5161 GB, free: 32.31 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3789, allocations: 3.938 kB / 0.5161 GB, free: 32.3 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000644/0.3795, allocations: 0.9655 MB / 0.517 GB, free: 31.47 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.438e-05/0.3796, allocations: 109.4 kB / 0.5171 GB, free: 31.36 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.513e-05/0.3796, allocations: 3.938 kB / 0.5171 GB, free: 31.35 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.493e-05/0.3797, allocations: 10.17 kB / 0.5171 GB, free: 31.35 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.498e-05/0.3798, allocations: 8.781 kB / 0.5171 GB, free: 31.35 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.3798, allocations: 5.781 kB / 0.5171 GB, free: 31.35 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002857/0.3801, allocations: 389 kB / 0.5175 GB, free: 31.2 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3801, allocations: 0 / 0.5175 GB, free: 31.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003861/0.3805, allocations: 49.09 kB / 0.5176 GB, free: 31.18 MB / 378.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 (17): * Single equations (assignments): 17 * 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.001622/0.3821, allocations: 0.6961 MB / 0.5182 GB, free: 30.89 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002924/0.3824, allocations: 129.4 kB / 0.5184 GB, free: 30.85 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.3824, allocations: 0 / 0.5184 GB, free: 30.85 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000135/0.3826, allocations: 83.58 kB / 0.5184 GB, free: 30.82 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005738/0.3831, allocations: 68.31 kB / 0.5185 GB, free: 30.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.3843, allocations: 0.9156 MB / 0.5194 GB, free: 30.21 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002558/0.3845, allocations: 0.8098 MB / 0.5202 GB, free: 29.5 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001209/0.3847, allocations: 40.44 kB / 0.5202 GB, free: 29.49 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.803e-05/0.3847, allocations: 28 kB / 0.5203 GB, free: 29.48 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3847, allocations: 0 / 0.5203 GB, free: 29.48 MB / 378.7 MB Notification: Performance of Templates: time 0.005997/0.3907, allocations: 3.097 MB / 0.5233 GB, free: 29.13 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test21/Test21.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches