Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001652/0.001652, 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.319/1.319, 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.001029/0.001029, allocations: 102.1 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.3694/0.3694, allocations: 44.13 MB / 386.1 MB, free: 38.07 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001024/0.001024, allocations: 55.92 kB / 457.7 MB, free: 2.309 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4123/0.4133, allocations: 60.8 MB / 0.5064 GB, free: 38.29 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.00325/0.4166, allocations: 2.02 MB / 0.5084 GB, free: 36.9 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001415/0.418, allocations: 0.9452 MB / 0.5093 GB, free: 36.28 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.143e-05/0.4181, allocations: 2.844 kB / 0.5093 GB, free: 36.28 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003881/0.4185, allocations: 249.3 kB / 0.5095 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002588/0.4188, allocations: 178.5 kB / 0.5097 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001103/0.4199, allocations: 0.6187 MB / 0.5103 GB, free: 35.87 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002938/0.4202, allocations: 290.9 kB / 0.5106 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001664/0.4204, allocations: 73.8 kB / 0.5107 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/0.4205, allocations: 123.4 kB / 0.5108 GB, free: 35.69 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001908/0.4207, allocations: 197.4 kB / 0.511 GB, free: 35.63 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.121e-05/0.4207, allocations: 5.719 kB / 0.511 GB, free: 35.63 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001223/0.4208, allocations: 66.83 kB / 0.511 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.421, allocations: 91.73 kB / 0.5111 GB, free: 35.58 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.232e-05/0.4211, allocations: 114.3 kB / 0.5112 GB, free: 35.49 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002706/0.4213, allocations: 296.9 kB / 0.5115 GB, free: 35.36 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.4213, allocations: 0 / 0.5115 GB, free: 35.36 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.4213, allocations: 0 / 0.5115 GB, free: 35.36 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.4214, allocations: 0 / 0.5115 GB, free: 35.36 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.0005916/0.422, allocations: 0.624 MB / 0.5121 GB, free: 34.81 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.422, allocations: 8.969 kB / 0.5121 GB, free: 34.81 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.272e-05/0.4221, allocations: 46.28 kB / 0.5122 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003587/0.4224, allocations: 317.6 kB / 0.5125 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.4225, allocations: 9.672 kB / 0.5125 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.41e-05/0.4225, allocations: 9.719 kB / 0.5125 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002606/0.4228, allocations: 128.3 kB / 0.5126 GB, free: 34.43 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.4228, allocations: 0 / 0.5126 GB, free: 34.43 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.4228, allocations: 6.562 kB / 0.5126 GB, free: 34.43 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.4228, allocations: 6.812 kB / 0.5126 GB, free: 34.43 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002207/0.4231, allocations: 95.8 kB / 0.5127 GB, free: 34.4 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000738/0.4238, allocations: 0.4916 MB / 0.5132 GB, free: 34.04 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002116/0.424, allocations: 111.8 kB / 0.5133 GB, free: 33.98 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.186e-05/0.4241, allocations: 36.17 kB / 0.5133 GB, free: 33.97 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.697e-05/0.4242, allocations: 2.562 kB / 0.5133 GB, free: 33.97 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.4242, allocations: 33.12 kB / 0.5134 GB, free: 33.93 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 1.042e-06/0.4242, allocations: 0 / 0.5134 GB, free: 33.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.0009782/0.4252, allocations: 447.6 kB / 0.5138 GB, free: 33.72 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.927e-05/0.4252, allocations: 57.34 kB / 0.5139 GB, free: 33.66 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005019/0.4257, allocations: 0.5192 MB / 0.5144 GB, free: 33.45 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.4258, allocations: 26.8 kB / 0.5144 GB, free: 33.42 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.4259, allocations: 198 kB / 0.5146 GB, free: 33.25 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.587e-05/0.426, allocations: 56.7 kB / 0.5146 GB, free: 33.21 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.933e-05/0.426, allocations: 30.31 kB / 0.5147 GB, free: 33.19 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.78e-05/0.4261, allocations: 354.9 kB / 0.515 GB, free: 32.86 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/0.4263, allocations: 64.78 kB / 0.5151 GB, free: 32.84 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/0.4264, allocations: 74.17 kB / 0.5151 GB, free: 32.81 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002661/0.4267, allocations: 148.5 kB / 0.5153 GB, free: 32.76 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.4267, allocations: 5 kB / 0.5153 GB, free: 32.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003636/0.4271, allocations: 225.2 kB / 0.5155 GB, free: 32.65 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.4271, allocations: 10.91 kB / 0.5155 GB, free: 32.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.4271, allocations: 0 / 0.5155 GB, free: 32.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.4271, allocations: 2.875 kB / 0.5155 GB, free: 32.65 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.4273, allocations: 32.36 kB / 0.5155 GB, free: 32.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.341e-06/0.4273, allocations: 0 / 0.5155 GB, free: 32.65 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.161e-05/0.4273, allocations: 21 kB / 0.5156 GB, free: 32.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.4274, allocations: 2.969 kB / 0.5156 GB, free: 32.64 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.0001544/0.4275, allocations: 183.7 kB / 0.5157 GB, free: 32.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.518e-05/0.4276, allocations: 41.12 kB / 0.5158 GB, free: 32.47 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004479/0.428, allocations: 275.9 kB / 0.516 GB, free: 32.35 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.428, allocations: 6.875 kB / 0.516 GB, free: 32.35 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.4281, allocations: 0 / 0.516 GB, free: 32.35 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.4281, allocations: 0 / 0.516 GB, free: 32.35 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007573/0.4288, allocations: 0.6607 MB / 0.5167 GB, free: 31.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.4288, allocations: 0 / 0.5167 GB, free: 31.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000117/0.429, allocations: 36.53 kB / 0.5167 GB, free: 31.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.429, allocations: 1.469 kB / 0.5167 GB, free: 31.91 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.429, allocations: 5.062 kB / 0.5167 GB, free: 31.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.429, allocations: 1 kB / 0.5167 GB, free: 31.91 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/0.429, allocations: 4.875 kB / 0.5167 GB, free: 31.9 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007606/0.4298, allocations: 1.036 MB / 0.5177 GB, free: 31.05 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.003e-05/0.4298, allocations: 103 kB / 0.5178 GB, free: 30.93 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.655e-05/0.4299, allocations: 6.781 kB / 0.5178 GB, free: 30.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.719e-05/0.43, allocations: 8.797 kB / 0.5179 GB, free: 30.93 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.004e-05/0.43, allocations: 18.02 kB / 0.5179 GB, free: 30.92 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.43, allocations: 6.422 kB / 0.5179 GB, free: 30.92 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003652/0.4304, allocations: 393.2 kB / 0.5183 GB, free: 30.77 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4304, allocations: 0 / 0.5183 GB, free: 30.77 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003728/0.4308, allocations: 51.86 kB / 0.5183 GB, free: 30.75 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.001463/0.4323, allocations: 0.6941 MB / 0.519 GB, free: 30.46 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003216/0.4326, allocations: 166.5 kB / 0.5191 GB, free: 30.41 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.4326, allocations: 0 / 0.5191 GB, free: 30.41 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001422/0.4328, allocations: 93.91 kB / 0.5192 GB, free: 30.38 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005119/0.4333, allocations: 73.7 kB / 0.5193 GB, free: 30.36 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001018/0.4343, allocations: 0.9613 MB / 0.5202 GB, free: 29.74 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002549/0.4346, allocations: 0.8188 MB / 0.521 GB, free: 29.04 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001248/0.4347, allocations: 58.89 kB / 0.5211 GB, free: 29.02 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.961e-05/0.4348, allocations: 32.05 kB / 0.5211 GB, free: 29.01 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4348, allocations: 0 / 0.5211 GB, free: 29.01 MB / 378.7 MB Notification: Performance of Templates: time 0.006172/0.4409, allocations: 3.2 MB / 0.5243 GB, free: 28.66 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches