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.001189/0.001189, allocations: 113.2 kB / 17.78 MB, free: 5.129 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.001171/0.001171, allocations: 180.2 kB / 18.71 MB, free: 4.207 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.397/1.397, allocations: 222.9 MB / 242.4 MB, free: 15.04 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.2019/0.2019, allocations: 44.18 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 63.89 kB / 470.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.334/0.3354, allocations: 60.82 MB / 0.5185 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.005342/0.3408, allocations: 4.959 MB / 0.5233 GB, free: 15.7 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005249/0.3461, allocations: 4.557 MB / 0.5278 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001608/0.3463, allocations: 1.375 kB / 0.5278 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003381/0.3467, allocations: 53.88 kB / 0.5278 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002256/0.3489, allocations: 0.6617 MB / 0.5284 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004795/0.3494, allocations: 165.4 kB / 0.5286 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006259/0.3501, allocations: 368.7 kB / 0.529 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.925e-05/0.3501, allocations: 10.09 kB / 0.529 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002496/0.3504, allocations: 150.3 kB / 0.5291 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001905/0.3506, allocations: 129.5 kB / 0.5292 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.702e-05/0.3506, allocations: 11.09 kB / 0.5292 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008738/0.3515, allocations: 333.4 kB / 0.5296 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.521e-05/0.3516, allocations: 46.97 kB / 0.5296 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001213/0.3517, allocations: 110.1 kB / 0.5297 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006995/0.3524, allocations: 416.2 kB / 0.5301 GB, free: 11.15 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3525, allocations: 0 / 0.5301 GB, free: 11.15 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3525, allocations: 0 / 0.5301 GB, free: 11.15 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.153e-05/0.3525, allocations: 1.656 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.001118/0.3536, allocations: 0.597 MB / 0.5307 GB, free: 10.61 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.3537, allocations: 9.688 kB / 0.5307 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001155/0.3538, allocations: 64.09 kB / 0.5308 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000165/0.354, allocations: 29.02 kB / 0.5308 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003209/0.3543, allocations: 228.5 kB / 0.531 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000118/0.3544, allocations: 123.9 kB / 0.5311 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.061e-05/0.3545, allocations: 22.03 kB / 0.5312 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004784/0.3549, allocations: 328.1 kB / 0.5315 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.355, allocations: 0 / 0.5315 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.95e-05/0.355, allocations: 12 kB / 0.5315 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.392e-05/0.355, allocations: 10.2 kB / 0.5315 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008514/0.3559, allocations: 0.7366 MB / 0.5322 GB, free: 9.57 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.001276/0.3572, allocations: 1.251 MB / 0.5334 GB, free: 8.367 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003274/0.3575, allocations: 144.4 kB / 0.5336 GB, free: 8.293 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001248/0.3576, allocations: 76.31 kB / 0.5336 GB, free: 8.254 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002206/0.3599, allocations: 2.665 MB / 0.5362 GB, free: 5.25 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.3599, allocations: 31.59 kB / 0.5363 GB, free: 5.211 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.613e-06/0.3599, allocations: 1.312 kB / 0.5363 GB, free: 5.211 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006346/0.3606, allocations: 229 kB / 0.5365 GB, free: 5.074 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.68e-05/0.3606, allocations: 52.72 kB / 0.5365 GB, free: 5.012 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001797/0.3608, allocations: 218.2 kB / 0.5367 GB, free: 4.844 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.3608, allocations: 31.27 kB / 0.5368 GB, free: 4.809 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.3609, allocations: 217 kB / 0.537 GB, free: 4.605 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.893e-05/0.361, allocations: 56.41 kB / 0.537 GB, free: 4.559 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.4e-05/0.3611, allocations: 82.45 kB / 0.5371 GB, free: 4.504 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.3612, allocations: 338.1 kB / 0.5374 GB, free: 4.168 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.719e-05/0.3613, allocations: 46.03 kB / 0.5375 GB, free: 4.148 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002358/0.3615, allocations: 324 kB / 0.5378 GB, free: 3.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003842/0.3619, allocations: 433.8 kB / 0.5382 GB, free: 3.277 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.3619, allocations: 2.75 kB / 0.5382 GB, free: 3.277 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005278/0.3625, allocations: 375.3 kB / 0.5386 GB, free: 3.078 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.3625, allocations: 9.531 kB / 0.5386 GB, free: 3.078 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.3625, allocations: 9.906 kB / 0.5386 GB, free: 3.078 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.406e-05/0.3625, allocations: 17.22 kB / 0.5386 GB, free: 3.074 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003383/0.3629, allocations: 106 kB / 0.5387 GB, free: 3.051 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.166e-05/0.3629, allocations: 23.83 kB / 0.5387 GB, free: 3.039 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002325/0.3632, allocations: 18.28 kB / 0.5387 GB, free: 3.031 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.69e-05/0.3632, allocations: 28.19 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.0001212/0.3633, allocations: 146.7 kB / 0.5389 GB, free: 2.887 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.87e-05/0.3634, allocations: 22.05 kB / 0.5389 GB, free: 2.875 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003045/0.3637, allocations: 163 kB / 0.5391 GB, free: 2.754 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/0.3637, allocations: 7.438 kB / 0.5391 GB, free: 2.75 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.3637, allocations: 3.938 kB / 0.5391 GB, free: 2.746 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.3638, allocations: 48 / 0.5391 GB, free: 2.746 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005313/0.3643, allocations: 443.2 kB / 0.5395 GB, free: 2.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.698e-06/0.3643, allocations: 5.031 kB / 0.5395 GB, free: 2.336 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001626/0.3645, allocations: 27.89 kB / 0.5395 GB, free: 2.332 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.3645, allocations: 1.531 kB / 0.5396 GB, free: 2.332 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.3645, allocations: 5.156 kB / 0.5396 GB, free: 2.328 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.3645, allocations: 1.156 kB / 0.5396 GB, free: 2.328 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3645, allocations: 1.281 kB / 0.5396 GB, free: 2.328 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002312/0.3648, allocations: 219.9 kB / 0.5398 GB, free: 2.145 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.3649, allocations: 112.5 kB / 0.5399 GB, free: 2.023 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.542e-05/0.3649, allocations: 2.25 kB / 0.5399 GB, free: 2.023 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001987/0.3651, allocations: 12.33 kB / 0.5399 GB, free: 2.016 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.088e-05/0.3651, allocations: 4.25 kB / 0.5399 GB, free: 2.016 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.051e-05/0.3652, allocations: 13.33 kB / 0.5399 GB, free: 2.008 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001236/0.3653, allocations: 149.4 kB / 0.54 GB, free: 1.898 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3653, allocations: 0 / 0.54 GB, free: 1.898 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005085/0.3658, allocations: 96.92 kB / 0.5401 GB, free: 1.879 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.0006843/0.3665, allocations: 0.8225 MB / 0.5409 GB, free: 1.129 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002934/0.3668, allocations: 180.3 kB / 0.5411 GB, free: 1.055 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.3668, allocations: 1.875 kB / 0.5411 GB, free: 1.055 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.93e-05/0.3669, allocations: 39.89 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.000454/0.3674, allocations: 49.67 kB / 0.5412 GB, free: 1.012 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002819/0.3702, allocations: 2.697 MB / 0.5438 GB, free: 14.53 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002885/0.3705, allocations: 0.7328 MB / 0.5446 GB, free: 13.8 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002056/0.3707, allocations: 66.14 kB / 0.5446 GB, free: 13.76 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.955e-05/0.3708, allocations: 69 kB / 0.5447 GB, free: 13.71 MB / 414.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3708, allocations: 0 / 0.5447 GB, free: 13.71 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02427/0.3951, allocations: 5.588 MB / 0.5501 GB, free: 10.16 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.746/8.141, allocations: 4.375 kB / 0.5501 GB, free: 10.16 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