Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 109.8 kB / 17.78 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001628/0.001628, allocations: 183.1 kB / 18.71 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2009/0.2009, allocations: 44.18 MB / 336.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002652/0.002652, allocations: 67.89 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3405, allocations: 60.82 MB / 0.5185 GB, free: 3.312 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.004528/0.3451, allocations: 1.638 MB / 0.5201 GB, free: 2.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008221/0.3459, allocations: 432.3 kB / 0.5205 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.663e-05/0.3461, allocations: 1.375 kB / 0.5205 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006695/0.3467, allocations: 453.8 kB / 0.5209 GB, free: 1.871 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004142/0.3472, allocations: 257.3 kB / 0.5211 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004763/0.3477, allocations: 128.4 kB / 0.5213 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005661/0.3483, allocations: 172.2 kB / 0.5214 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001583/0.3484, allocations: 18.58 kB / 0.5215 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003546/0.3488, allocations: 113.7 kB / 0.5216 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003826/0.3492, allocations: 217 kB / 0.5218 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.527e-05/0.3492, allocations: 7.25 kB / 0.5218 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000163/0.3494, allocations: 51.44 kB / 0.5218 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.3495, allocations: 82.42 kB / 0.5219 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.531e-05/0.3496, allocations: 106.8 kB / 0.522 GB, free: 1.559 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003148/0.3499, allocations: 274 kB / 0.5223 GB, free: 1.441 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.3499, allocations: 0 / 0.5223 GB, free: 1.441 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.3499, allocations: 0 / 0.5223 GB, free: 1.441 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.254e-05/0.3499, allocations: 6.047 kB / 0.5223 GB, free: 1.438 MB / 382.1 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.0006116/0.3505, allocations: 0.6628 MB / 0.5229 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.3506, allocations: 14.84 kB / 0.5229 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.425e-05/0.3506, allocations: 41.23 kB / 0.523 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.956e-05/0.3507, allocations: 43.91 kB / 0.523 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002128/0.3509, allocations: 303.1 kB / 0.5233 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.517e-06/0.3509, allocations: 1.406 kB / 0.5233 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.403e-05/0.351, allocations: 8.672 kB / 0.5233 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.3511, allocations: 67.59 kB / 0.5234 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.3511, allocations: 0 / 0.5234 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.3512, allocations: 1.125 kB / 0.5234 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.816e-06/0.3512, allocations: 5.219 kB / 0.5234 GB, free: 448 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001339/0.3513, allocations: 35.64 kB / 0.5234 GB, free: 444 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004116/0.3517, allocations: 407.8 kB / 0.5238 GB, free: 104 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002285/0.352, allocations: 53.23 kB / 0.5239 GB, free: 72 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.216e-05/0.3521, allocations: 29.03 kB / 0.5239 GB, free: 56 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.3521, allocations: 1.188 kB / 0.5239 GB, free: 56 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.235e-05/0.3521, allocations: 32.31 kB / 0.5239 GB, free: 16 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.3521, allocations: 0 / 0.5239 GB, free: 16 kB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.00147/0.3536, allocations: 482.5 kB / 0.5244 GB, free: 15.83 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.3536, allocations: 53.67 kB / 0.5244 GB, free: 15.77 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008304/0.3545, allocations: 0.8562 MB / 0.5253 GB, free: 15.45 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.3545, allocations: 31.02 kB / 0.5253 GB, free: 15.41 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001916/0.3547, allocations: 212.6 kB / 0.5255 GB, free: 15.24 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.194e-05/0.3547, allocations: 35.38 kB / 0.5255 GB, free: 15.21 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.836e-05/0.3548, allocations: 26.66 kB / 0.5256 GB, free: 15.19 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.355, allocations: 362.7 kB / 0.5259 GB, free: 14.86 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.3551, allocations: 44.19 kB / 0.5259 GB, free: 14.85 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.3552, allocations: 43.47 kB / 0.526 GB, free: 14.84 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002348/0.3555, allocations: 97.36 kB / 0.5261 GB, free: 14.8 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.3555, allocations: 0 / 0.5261 GB, free: 14.8 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003278/0.3558, allocations: 187.2 kB / 0.5263 GB, free: 14.7 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.3558, allocations: 5.469 kB / 0.5263 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.3558, allocations: 0 / 0.5263 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.3558, allocations: 3.938 kB / 0.5263 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.356, allocations: 28.73 kB / 0.5263 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.356, allocations: 1.656 kB / 0.5263 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.841e-05/0.3561, allocations: 9.328 kB / 0.5263 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.3561, allocations: 7.375 kB / 0.5263 GB, free: 14.68 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 (11): * Single equations (assignments): 11 * 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.0001818/0.3563, allocations: 221.5 kB / 0.5265 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.734e-05/0.3563, allocations: 42.88 kB / 0.5266 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003927/0.3567, allocations: 201.5 kB / 0.5268 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.3567, allocations: 5.875 kB / 0.5268 GB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.3567, allocations: 0 / 0.5268 GB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3568, allocations: 4 kB / 0.5268 GB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007587/0.3575, allocations: 0.5654 MB / 0.5273 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.3575, allocations: 4 kB / 0.5273 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/0.3576, allocations: 25.45 kB / 0.5273 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.3577, allocations: 1.281 kB / 0.5273 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.3577, allocations: 9.469 kB / 0.5274 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.838e-06/0.3577, allocations: 1.438 kB / 0.5274 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3577, allocations: 5.469 kB / 0.5274 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003609/0.3581, allocations: 283.9 kB / 0.5276 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.466e-05/0.3581, allocations: 123.6 kB / 0.5277 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.839e-05/0.3582, allocations: 1.312 kB / 0.5277 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.3583, allocations: 18.28 kB / 0.5278 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.12e-05/0.3584, allocations: 4.938 kB / 0.5278 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-06/0.3584, allocations: 7.359 kB / 0.5278 GB, free: 13.5 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006151/0.359, allocations: 0.6471 MB / 0.5284 GB, free: 13.19 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.359, allocations: 3.938 kB / 0.5284 GB, free: 13.18 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002774/0.3593, allocations: 37.22 kB / 0.5284 GB, free: 13.17 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001493/0.3608, allocations: 1.173 MB / 0.5296 GB, free: 12.29 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003186/0.3611, allocations: 109.6 kB / 0.5297 GB, free: 12.24 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3611, allocations: 0 / 0.5297 GB, free: 12.24 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001363/0.3613, allocations: 58.25 kB / 0.5298 GB, free: 12.22 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004005/0.3617, allocations: 28.33 kB / 0.5298 GB, free: 12.2 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003659/0.3653, allocations: 3.421 MB / 0.5331 GB, free: 9.992 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004166/0.3658, allocations: 0.8309 MB / 0.5339 GB, free: 9.223 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.139e-05/0.3659, allocations: 21.59 kB / 0.534 GB, free: 9.211 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001375/0.366, allocations: 110.3 kB / 0.5341 GB, free: 9.113 MB / 398.1 MB Notification: Performance of SimCode: time 3.81e-07/0.366, allocations: 0 / 0.5341 GB, free: 9.113 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02453/0.3905, allocations: 6.48 MB / 0.5404 GB, free: 5.469 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.235/8.626, allocations: 8.188 kB / 0.5404 GB, free: 5.465 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches