Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.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.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test7",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.001397/0.001397, allocations: 113.8 kB / 17.78 MB, free: 5.281 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.001635/0.001636, allocations: 179.1 kB / 18.71 MB, free: 4.363 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.456/1.456, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.214/0.214, allocations: 44.18 MB / 336.8 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 71.83 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.427/0.4284, allocations: 60.82 MB / 0.5184 GB, free: 3.137 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.003088/0.4316, allocations: 1.58 MB / 0.52 GB, free: 2.039 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008181/0.4324, allocations: 426.1 kB / 0.5204 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.919e-05/0.4325, allocations: 0 / 0.5204 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008301/0.4333, allocations: 450.9 kB / 0.5208 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000471/0.4338, allocations: 261.3 kB / 0.5211 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005118/0.4344, allocations: 164.7 kB / 0.5212 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002774/0.4346, allocations: 159.5 kB / 0.5214 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.4348, allocations: 13.14 kB / 0.5214 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001606/0.4349, allocations: 110.1 kB / 0.5215 GB, free: 1.582 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002903/0.4352, allocations: 205.6 kB / 0.5217 GB, free: 1.562 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.133e-05/0.4352, allocations: 7.188 kB / 0.5217 GB, free: 1.559 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.13e-05/0.4353, allocations: 27.25 kB / 0.5217 GB, free: 1.547 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001181/0.4355, allocations: 77.95 kB / 0.5218 GB, free: 1.523 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.997e-05/0.4355, allocations: 99.81 kB / 0.5219 GB, free: 1.441 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003375/0.4359, allocations: 250 kB / 0.5221 GB, free: 1.336 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.4359, allocations: 0 / 0.5221 GB, free: 1.336 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.4359, allocations: 2.438 kB / 0.5221 GB, free: 1.336 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.284e-06/0.4359, allocations: 0 / 0.5221 GB, free: 1.336 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007341/0.4367, allocations: 0.6487 MB / 0.5228 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.4367, allocations: 10.11 kB / 0.5228 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.958e-05/0.4367, allocations: 33.67 kB / 0.5228 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.383e-05/0.4368, allocations: 42 kB / 0.5228 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00025/0.4371, allocations: 303.3 kB / 0.5231 GB, free: 416 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.4371, allocations: 10.05 kB / 0.5231 GB, free: 408 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.849e-05/0.4371, allocations: 5.656 kB / 0.5232 GB, free: 404 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.4373, allocations: 51.09 kB / 0.5232 GB, free: 364 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.4373, allocations: 0 / 0.5232 GB, free: 364 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.704e-06/0.4373, allocations: 0 / 0.5232 GB, free: 364 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.4373, allocations: 5.312 kB / 0.5232 GB, free: 360 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.391e-05/0.4374, allocations: 27.52 kB / 0.5232 GB, free: 352 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005144/0.4379, allocations: 386.7 kB / 0.5236 GB, free: 28 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001021/0.438, allocations: 31.3 kB / 0.5236 GB, free: 0 / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.161e-05/0.4381, allocations: 19.23 kB / 0.5236 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.4382, allocations: 4 kB / 0.5237 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.4382, allocations: 31.69 kB / 0.5237 GB, free: 15.94 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.4382, allocations: 1.281 kB / 0.5237 GB, free: 15.94 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002827/0.4385, allocations: 107.9 kB / 0.5238 GB, free: 15.88 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/0.4385, allocations: 51.41 kB / 0.5238 GB, free: 15.81 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009443/0.4395, allocations: 0.8652 MB / 0.5247 GB, free: 15.49 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.4395, allocations: 27.2 kB / 0.5247 GB, free: 15.46 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001975/0.4397, allocations: 230.3 kB / 0.5249 GB, free: 15.27 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.751e-05/0.4397, allocations: 2.031 kB / 0.5249 GB, free: 15.27 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-05/0.4398, allocations: 16.98 kB / 0.5249 GB, free: 15.25 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.44, allocations: 361.2 kB / 0.5253 GB, free: 14.92 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.435e-05/0.44, allocations: 11.61 kB / 0.5253 GB, free: 14.92 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.553e-05/0.44, allocations: 8.797 kB / 0.5253 GB, free: 14.92 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.152e-05/0.4401, allocations: 31.5 kB / 0.5253 GB, free: 14.9 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.4402, allocations: 4 kB / 0.5253 GB, free: 14.9 MB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001605/0.4403, allocations: 103.8 kB / 0.5254 GB, free: 14.83 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.4403, allocations: 6.156 kB / 0.5254 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.4404, allocations: 0 / 0.5254 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.4404, allocations: 1.375 kB / 0.5254 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.448e-05/0.4404, allocations: 5.531 kB / 0.5255 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.329e-06/0.4405, allocations: 0.75 kB / 0.5255 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.016e-05/0.4405, allocations: 7.391 kB / 0.5255 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.4405, allocations: 1.375 kB / 0.5255 GB, free: 14.82 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 (2): * Single equations (assignments): 2 * 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.0002119/0.4407, allocations: 215.6 kB / 0.5257 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.24e-05/0.4408, allocations: 42.2 kB / 0.5257 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002306/0.441, allocations: 113.7 kB / 0.5258 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.4411, allocations: 1.641 kB / 0.5258 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.4411, allocations: 1.25 kB / 0.5258 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.4411, allocations: 0 / 0.5258 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003609/0.4414, allocations: 288.8 kB / 0.5261 GB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.4415, allocations: 0 / 0.5261 GB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.408e-05/0.4415, allocations: 5.266 kB / 0.5261 GB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.4415, allocations: 5.156 kB / 0.5261 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.4415, allocations: 0.7031 kB / 0.5261 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.4415, allocations: 1.25 kB / 0.5261 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4415, allocations: 0 / 0.5261 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002041/0.4417, allocations: 196.3 kB / 0.5263 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.136e-05/0.4418, allocations: 111.9 kB / 0.5264 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.687e-05/0.4419, allocations: 1.969 kB / 0.5264 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.141e-05/0.442, allocations: 3.234 kB / 0.5264 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.803e-05/0.442, allocations: 5.547 kB / 0.5264 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.442, allocations: 1.344 kB / 0.5264 GB, free: 14.07 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008016/0.4428, allocations: 0.6585 MB / 0.5271 GB, free: 13.82 MB / 398.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4428, allocations: 0 / 0.5271 GB, free: 13.82 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002605/0.4431, allocations: 23 kB / 0.5271 GB, free: 13.81 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 (2): * Single equations (assignments): 2 * 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.001339/0.4444, allocations: 0.9706 MB / 0.528 GB, free: 13.03 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001588/0.4446, allocations: 27.75 kB / 0.5281 GB, free: 13.02 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4446, allocations: 0 / 0.5281 GB, free: 13.02 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.82e-05/0.4447, allocations: 16.12 kB / 0.5281 GB, free: 13.01 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004348/0.4451, allocations: 25.17 kB / 0.5281 GB, free: 12.99 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003865/0.449, allocations: 3.135 MB / 0.5312 GB, free: 10.96 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004531/0.4495, allocations: 0.8255 MB / 0.532 GB, free: 10.19 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.425e-05/0.4496, allocations: 19.33 kB / 0.532 GB, free: 10.18 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001478/0.4497, allocations: 115.5 kB / 0.5321 GB, free: 10.07 MB / 398.1 MB Notification: Performance of SimCode: time 6.22e-07/0.4497, allocations: 0 / 0.5321 GB, free: 10.07 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02469/0.4744, allocations: 5.752 MB / 0.5377 GB, free: 7.145 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.224/8.698, allocations: 2.312 kB / 0.5377 GB, free: 7.145 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_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_CombiTable2Dv_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches