Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.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.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",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.001245/0.001245, allocations: 118.4 kB / 17.79 MB, free: 5.25 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.001215/0.001215, allocations: 183.8 kB / 18.72 MB, free: 4.332 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.393/1.393, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2176/0.2176, allocations: 44.18 MB / 336.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 63.89 kB / 470.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3197/0.3216, allocations: 60.82 MB / 0.5185 GB, free: 3.543 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.005465/0.3271, allocations: 4.967 MB / 0.5233 GB, free: 15.96 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005465/0.3325, allocations: 4.568 MB / 0.5278 GB, free: 12.67 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001379/0.3327, allocations: 1.094 kB / 0.5278 GB, free: 12.67 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003076/0.333, allocations: 54.34 kB / 0.5278 GB, free: 12.64 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001843/0.3348, allocations: 0.6623 MB / 0.5285 GB, free: 12.26 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003951/0.3352, allocations: 161.9 kB / 0.5286 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005531/0.3358, allocations: 366.7 kB / 0.529 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.492e-05/0.3358, allocations: 11.19 kB / 0.529 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002289/0.3361, allocations: 157.8 kB / 0.5291 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001779/0.3362, allocations: 125.4 kB / 0.5293 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.41e-05/0.3363, allocations: 8.25 kB / 0.5293 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007664/0.337, allocations: 331.9 kB / 0.5296 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.276e-05/0.3371, allocations: 48.14 kB / 0.5296 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001236/0.3372, allocations: 106.1 kB / 0.5297 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000679/0.3379, allocations: 420 kB / 0.5301 GB, free: 11.36 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3379, allocations: 0 / 0.5301 GB, free: 11.36 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.205e-06/0.3379, allocations: 0 / 0.5301 GB, free: 11.36 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.3379, allocations: 5 kB / 0.5301 GB, free: 11.36 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001001/0.3389, allocations: 0.5863 MB / 0.5307 GB, free: 10.83 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.339, allocations: 10.47 kB / 0.5307 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.581e-05/0.339, allocations: 63.05 kB / 0.5308 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001508/0.3392, allocations: 31.75 kB / 0.5308 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003301/0.3395, allocations: 230 kB / 0.531 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001382/0.3397, allocations: 128.1 kB / 0.5311 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.951e-05/0.3397, allocations: 25.78 kB / 0.5312 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005153/0.3402, allocations: 319.8 kB / 0.5315 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.3402, allocations: 0 / 0.5315 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.064e-05/0.3402, allocations: 15.62 kB / 0.5315 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.992e-05/0.3403, allocations: 7.844 kB / 0.5315 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000841/0.3411, allocations: 0.7438 MB / 0.5322 GB, free: 9.777 MB / 398.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001389/0.3425, allocations: 1.243 MB / 0.5334 GB, free: 8.582 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003246/0.3428, allocations: 138 kB / 0.5336 GB, free: 8.508 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001132/0.3429, allocations: 70.48 kB / 0.5336 GB, free: 8.469 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00244/0.3454, allocations: 2.664 MB / 0.5362 GB, free: 5.465 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.528e-05/0.3454, allocations: 40.34 kB / 0.5363 GB, free: 5.418 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.453e-06/0.3454, allocations: 0 / 0.5363 GB, free: 5.418 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006793/0.3461, allocations: 224.6 kB / 0.5365 GB, free: 5.289 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.243e-05/0.3461, allocations: 57.5 kB / 0.5365 GB, free: 5.223 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000216/0.3463, allocations: 217.9 kB / 0.5368 GB, free: 5.055 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.3464, allocations: 27.02 kB / 0.5368 GB, free: 5.023 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000142/0.3465, allocations: 221.8 kB / 0.537 GB, free: 4.816 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.622e-05/0.3466, allocations: 59.45 kB / 0.537 GB, free: 4.766 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.3467, allocations: 82.98 kB / 0.5371 GB, free: 4.711 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.3468, allocations: 326.5 kB / 0.5374 GB, free: 4.387 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.365e-05/0.3469, allocations: 50.19 kB / 0.5375 GB, free: 4.363 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003218/0.3472, allocations: 324.5 kB / 0.5378 GB, free: 3.965 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000483/0.3477, allocations: 428.7 kB / 0.5382 GB, free: 3.496 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.3477, allocations: 2.625 kB / 0.5382 GB, free: 3.496 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005683/0.3483, allocations: 378.8 kB / 0.5386 GB, free: 3.297 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.3483, allocations: 10.25 kB / 0.5386 GB, free: 3.297 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.3483, allocations: 11.22 kB / 0.5386 GB, free: 3.293 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.269e-05/0.3483, allocations: 16.12 kB / 0.5386 GB, free: 3.289 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000328/0.3487, allocations: 110 kB / 0.5387 GB, free: 3.262 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.787e-05/0.3487, allocations: 16.72 kB / 0.5387 GB, free: 3.258 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002219/0.3489, allocations: 18 kB / 0.5387 GB, free: 3.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.847e-05/0.3489, allocations: 30.89 kB / 0.5388 GB, free: 3.242 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (51): * Single equations (assignments): 50 * Array equations: 1 * 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.0001481/0.3491, allocations: 146.9 kB / 0.5389 GB, free: 3.102 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.698e-05/0.3491, allocations: 18.66 kB / 0.5389 GB, free: 3.094 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000323/0.3495, allocations: 162.3 kB / 0.5391 GB, free: 2.973 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-05/0.3495, allocations: 6.375 kB / 0.5391 GB, free: 2.969 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.3495, allocations: 0 / 0.5391 GB, free: 2.969 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.3495, allocations: 5.219 kB / 0.5391 GB, free: 2.965 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006034/0.3501, allocations: 431.5 kB / 0.5395 GB, free: 2.566 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.3501, allocations: 5.188 kB / 0.5395 GB, free: 2.562 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002271/0.3503, allocations: 28.17 kB / 0.5395 GB, free: 2.559 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.3503, allocations: 1.219 kB / 0.5395 GB, free: 2.559 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.3503, allocations: 1.062 kB / 0.5395 GB, free: 2.559 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.514e-06/0.3503, allocations: 5.141 kB / 0.5395 GB, free: 2.555 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.3503, allocations: 1.156 kB / 0.5395 GB, free: 2.555 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002762/0.3506, allocations: 236 kB / 0.5398 GB, free: 2.359 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.677e-05/0.3507, allocations: 104.6 kB / 0.5399 GB, free: 2.246 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.609e-05/0.3507, allocations: 6.375 kB / 0.5399 GB, free: 2.242 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001881/0.3509, allocations: 7.859 kB / 0.5399 GB, free: 2.238 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.525e-05/0.351, allocations: 13.23 kB / 0.5399 GB, free: 2.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.594e-05/0.351, allocations: 5.031 kB / 0.5399 GB, free: 2.23 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001362/0.3511, allocations: 152.8 kB / 0.5401 GB, free: 2.117 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3511, allocations: 1.062 kB / 0.5401 GB, free: 2.117 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004971/0.3516, allocations: 100.4 kB / 0.5401 GB, free: 2.094 MB / 398.1 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 (14): * Single equations (assignments): 13 * Array equations: 1 * 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.0007437/0.3524, allocations: 0.8229 MB / 0.541 GB, free: 1.344 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003159/0.3527, allocations: 169.4 kB / 0.5411 GB, free: 1.273 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3527, allocations: 0.875 kB / 0.5411 GB, free: 1.273 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.024e-05/0.3527, allocations: 37.61 kB / 0.5411 GB, free: 1.258 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004424/0.3532, allocations: 50.12 kB / 0.5412 GB, free: 1.23 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003131/0.3563, allocations: 2.706 MB / 0.5438 GB, free: 14.74 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003489/0.3567, allocations: 0.7287 MB / 0.5446 GB, free: 14.02 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002193/0.3569, allocations: 65.53 kB / 0.5446 GB, free: 13.97 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.835e-05/0.357, allocations: 61.23 kB / 0.5447 GB, free: 13.93 MB / 414.1 MB Notification: Performance of SimCode: time 7.01e-07/0.357, allocations: 0 / 0.5447 GB, free: 13.93 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02881/0.3858, allocations: 5.599 MB / 0.5501 GB, free: 10.32 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.995/8.38, allocations: 8.562 kB / 0.5501 GB, free: 10.32 MB / 414.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-05 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches