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.001645/0.001645, allocations: 113.2 kB / 17.78 MB, free: 5.277 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.002002/0.002002, allocations: 184.2 kB / 18.72 MB, free: 4.352 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.431/1.431, 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.2192/0.2192, allocations: 44.18 MB / 336.8 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002706/0.002706, allocations: 67.89 kB / 470.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3286/0.3313, allocations: 60.82 MB / 0.5185 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.006379/0.3377, allocations: 4.952 MB / 0.5233 GB, free: 15.71 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005792/0.3436, allocations: 4.561 MB / 0.5278 GB, free: 12.42 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00018/0.3438, allocations: 0 / 0.5278 GB, free: 12.42 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003318/0.3442, allocations: 54.2 kB / 0.5278 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002001/0.3462, allocations: 0.6569 MB / 0.5284 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004197/0.3466, allocations: 161.7 kB / 0.5286 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005886/0.3472, allocations: 361.8 kB / 0.5289 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.668e-05/0.3473, allocations: 17.92 kB / 0.529 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002782/0.3476, allocations: 153 kB / 0.5291 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002368/0.3478, allocations: 133.5 kB / 0.5292 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.354e-05/0.3479, allocations: 8.344 kB / 0.5292 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009335/0.3488, allocations: 324.5 kB / 0.5296 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.735e-05/0.3489, allocations: 51.83 kB / 0.5296 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001458/0.3491, allocations: 109.5 kB / 0.5297 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000754/0.3498, allocations: 415.8 kB / 0.5301 GB, free: 11.15 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.3498, allocations: 0 / 0.5301 GB, free: 11.15 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3498, allocations: 0 / 0.5301 GB, free: 11.15 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.3499, allocations: 5.375 kB / 0.5301 GB, free: 11.15 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.001019/0.3509, allocations: 0.5904 MB / 0.5307 GB, free: 10.62 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.3509, allocations: 12.8 kB / 0.5307 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.804e-05/0.351, allocations: 60.27 kB / 0.5308 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001463/0.3512, allocations: 27.52 kB / 0.5308 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003885/0.3516, allocations: 230.4 kB / 0.531 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001442/0.3517, allocations: 130.6 kB / 0.5311 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.962e-05/0.3517, allocations: 26.47 kB / 0.5312 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005144/0.3523, allocations: 320 kB / 0.5315 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.3523, allocations: 5.25 kB / 0.5315 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.804e-05/0.3523, allocations: 11.16 kB / 0.5315 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.576e-05/0.3524, allocations: 14.27 kB / 0.5315 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008298/0.3532, allocations: 0.7329 MB / 0.5322 GB, free: 9.566 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.001377/0.3546, allocations: 1.251 MB / 0.5334 GB, free: 8.363 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003287/0.3549, allocations: 152.3 kB / 0.5336 GB, free: 8.285 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.355, allocations: 75.89 kB / 0.5336 GB, free: 8.246 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002493/0.3575, allocations: 2.66 MB / 0.5362 GB, free: 5.246 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.3576, allocations: 37.25 kB / 0.5363 GB, free: 5.203 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.493e-06/0.3576, allocations: 0 / 0.5363 GB, free: 5.203 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006405/0.3583, allocations: 225.2 kB / 0.5365 GB, free: 5.07 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/0.3583, allocations: 52.56 kB / 0.5365 GB, free: 5.008 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001872/0.3585, allocations: 218.5 kB / 0.5367 GB, free: 4.84 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/0.3585, allocations: 31.08 kB / 0.5368 GB, free: 4.805 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001474/0.3587, allocations: 218 kB / 0.537 GB, free: 4.602 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.614e-05/0.3587, allocations: 58.44 kB / 0.537 GB, free: 4.551 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/0.3589, allocations: 83.23 kB / 0.5371 GB, free: 4.496 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.359, allocations: 335 kB / 0.5374 GB, free: 4.164 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.406e-05/0.3591, allocations: 45.22 kB / 0.5375 GB, free: 4.145 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003218/0.3594, allocations: 325.4 kB / 0.5378 GB, free: 3.746 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004617/0.3599, allocations: 432 kB / 0.5382 GB, free: 3.273 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.3599, allocations: 3 kB / 0.5382 GB, free: 3.273 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.00053/0.3604, allocations: 373.3 kB / 0.5386 GB, free: 3.078 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.3605, allocations: 8.625 kB / 0.5386 GB, free: 3.078 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.3605, allocations: 14.12 kB / 0.5386 GB, free: 3.074 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.471e-05/0.3605, allocations: 16.88 kB / 0.5386 GB, free: 3.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003209/0.3608, allocations: 108.9 kB / 0.5387 GB, free: 3.043 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.979e-05/0.3609, allocations: 20.83 kB / 0.5387 GB, free: 3.035 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002062/0.3611, allocations: 14.22 kB / 0.5387 GB, free: 3.031 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.393e-05/0.3611, allocations: 27.03 kB / 0.5388 GB, free: 3.027 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.0001339/0.3613, allocations: 144 kB / 0.5389 GB, free: 2.891 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.711e-05/0.3613, allocations: 26.2 kB / 0.5389 GB, free: 2.875 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003052/0.3616, allocations: 158.7 kB / 0.5391 GB, free: 2.758 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-05/0.3617, allocations: 10.11 kB / 0.5391 GB, free: 2.75 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.3617, allocations: 7.938 kB / 0.5391 GB, free: 2.742 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3617, allocations: 0 / 0.5391 GB, free: 2.742 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005755/0.3623, allocations: 433 kB / 0.5395 GB, free: 2.344 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.3623, allocations: 3.938 kB / 0.5395 GB, free: 2.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001557/0.3625, allocations: 32.61 kB / 0.5395 GB, free: 2.332 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.3625, allocations: 1.031 kB / 0.5395 GB, free: 2.332 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.3625, allocations: 5.125 kB / 0.5396 GB, free: 2.328 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.3625, allocations: 2.125 kB / 0.5396 GB, free: 2.328 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3625, allocations: 0 / 0.5396 GB, free: 2.328 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002489/0.3628, allocations: 227.8 kB / 0.5398 GB, free: 2.141 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.472e-05/0.3629, allocations: 110 kB / 0.5399 GB, free: 2.023 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.203e-05/0.3629, allocations: 1 kB / 0.5399 GB, free: 2.023 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001872/0.3631, allocations: 12.55 kB / 0.5399 GB, free: 2.016 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.968e-05/0.3631, allocations: 4.844 kB / 0.5399 GB, free: 2.016 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.029e-05/0.3631, allocations: 12.89 kB / 0.5399 GB, free: 2.008 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001304/0.3633, allocations: 149.2 kB / 0.54 GB, free: 1.898 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3633, allocations: 1.094 kB / 0.54 GB, free: 1.898 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004862/0.3638, allocations: 104.3 kB / 0.5401 GB, free: 1.871 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.0007431/0.3645, allocations: 0.8187 MB / 0.5409 GB, free: 1.125 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003169/0.3649, allocations: 176.8 kB / 0.5411 GB, free: 1.055 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3649, allocations: 5 kB / 0.5411 GB, free: 1.051 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.446e-05/0.3649, allocations: 35.61 kB / 0.5412 GB, free: 1.039 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004425/0.3654, allocations: 45.2 kB / 0.5412 GB, free: 1.016 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003042/0.3684, allocations: 2.71 MB / 0.5438 GB, free: 14.52 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003474/0.3688, allocations: 0.7284 MB / 0.5446 GB, free: 13.79 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002146/0.369, allocations: 65.59 kB / 0.5446 GB, free: 13.75 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001028/0.3691, allocations: 64.72 kB / 0.5447 GB, free: 13.7 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3691, allocations: 1.188 kB / 0.5447 GB, free: 13.7 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02774/0.3969, allocations: 5.58 MB / 0.5501 GB, free: 10.18 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.21/8.607, allocations: 7.938 kB / 0.5501 GB, free: 10.18 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