Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001242/0.001243, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001281/0.001281, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2242/0.2242, allocations: 46.1 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002638/0.002638, allocations: 79.06 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1355, allocations: 62.44 MB / 480.1 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.4507/0.5863, allocations: 178.2 MB / 0.6429 GB, free: 1.023 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.007595/0.5939, allocations: 5.344 MB / 0.6481 GB, free: 11.67 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001038/0.5951, allocations: 19.88 kB / 0.6481 GB, free: 11.65 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001313/0.5964, allocations: 314 kB / 0.6484 GB, free: 11.34 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004639/0.6011, allocations: 1.344 MB / 0.6497 GB, free: 9.996 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003061/0.6041, allocations: 1.062 MB / 0.6508 GB, free: 8.938 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002512/0.6067, allocations: 1.86 MB / 0.6526 GB, free: 7.074 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008283/0.6075, allocations: 459.8 kB / 0.653 GB, free: 6.617 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002513/0.61, allocations: 1.074 MB / 0.6541 GB, free: 5.539 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001444/0.6115, allocations: 0.751 MB / 0.6548 GB, free: 4.785 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002209/0.6117, allocations: 64 kB / 0.6549 GB, free: 4.723 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001481/0.6132, allocations: 0.5853 MB / 0.6554 GB, free: 4.137 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003696/0.6136, allocations: 263.2 kB / 0.6557 GB, free: 3.879 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005658/0.6142, allocations: 402.2 kB / 0.6561 GB, free: 3.484 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001855/0.616, allocations: 1.282 MB / 0.6573 GB, free: 2.199 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.6161, allocations: 4 kB / 0.6573 GB, free: 2.195 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.6161, allocations: 0 / 0.6573 GB, free: 2.195 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.814e-05/0.6161, allocations: 0 / 0.6573 GB, free: 2.195 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002412/0.6185, allocations: 1.103 MB / 0.6584 GB, free: 1.039 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.6186, allocations: 12.03 kB / 0.6584 GB, free: 1.027 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001647/0.6187, allocations: 98.5 kB / 0.6585 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000896/0.6196, allocations: 139.1 kB / 0.6586 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008625/0.6205, allocations: 0.504 MB / 0.6591 GB, free: 248 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000119/0.6206, allocations: 108.3 kB / 0.6592 GB, free: 124 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/0.6208, allocations: 48.75 kB / 0.6593 GB, free: 76 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001281/0.622, allocations: 0.8286 MB / 0.6601 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.218e-05/0.6221, allocations: 3.938 kB / 0.6601 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.163e-05/0.6222, allocations: 27.94 kB / 0.6601 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-05/0.6222, allocations: 36.98 kB / 0.6601 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001034/0.6233, allocations: 0.6166 MB / 0.6607 GB, free: 14.49 MB / 0.4981 GB 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.004585/0.6279, allocations: 3.967 MB / 0.6646 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000562/0.6284, allocations: 350 kB / 0.665 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002725/0.6287, allocations: 173.3 kB / 0.6651 GB, free: 9.758 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000117/0.6288, allocations: 97.38 kB / 0.6652 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.6289, allocations: 34.84 kB / 0.6652 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 1.803e-06/0.6289, allocations: 0 / 0.6652 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of matching and sorting (n=39): time 0.005683/0.6346, allocations: 1.674 MB / 0.6669 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.732e-05/0.6347, allocations: 132.5 kB / 0.667 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006945/0.6354, allocations: 0.6133 MB / 0.6676 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.48e-05/0.6354, allocations: 33.7 kB / 0.6676 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002661/0.6357, allocations: 362.9 kB / 0.668 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001471/0.6359, allocations: 146 kB / 0.6681 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002245/0.6361, allocations: 162.5 kB / 0.6683 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.6362, allocations: 374.8 kB / 0.6686 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003581/0.6366, allocations: 197.9 kB / 0.6688 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005658/0.6372, allocations: 0.5125 MB / 0.6693 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009201/0.6381, allocations: 0.7552 MB / 0.6701 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/0.6381, allocations: 8 kB / 0.6701 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001422/0.6396, allocations: 0.8836 MB / 0.6709 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.6396, allocations: 11.98 kB / 0.6709 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.919e-05/0.6396, allocations: 15.94 kB / 0.671 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0014/0.641, allocations: 309 kB / 0.6713 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003897/0.6414, allocations: 127.8 kB / 0.6714 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001056/0.6425, allocations: 0.9219 MB / 0.6723 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004649/0.643, allocations: 31.98 kB / 0.6723 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.262e-05/0.6431, allocations: 71.98 kB / 0.6724 GB, free: 1.832 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.00031/0.6434, allocations: 249.9 kB / 0.6726 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/0.6435, allocations: 71.16 kB / 0.6727 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001718/0.6453, allocations: 0.8699 MB / 0.6735 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.6453, allocations: 7.938 kB / 0.6735 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.6453, allocations: 0 / 0.6735 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.6453, allocations: 7.922 kB / 0.6735 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001948/0.6473, allocations: 1.461 MB / 0.675 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.6473, allocations: 0 / 0.675 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001081/0.6484, allocations: 211.9 kB / 0.6752 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.222e-05/0.6485, allocations: 28.78 kB / 0.6752 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.622e-05/0.6485, allocations: 23.98 kB / 0.6752 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001932/0.6505, allocations: 2.866 MB / 0.678 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.6505, allocations: 3.938 kB / 0.678 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001188/0.6517, allocations: 0.8168 MB / 0.6788 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002833/0.652, allocations: 192.3 kB / 0.679 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/0.6521, allocations: 23.92 kB / 0.679 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004159/0.6525, allocations: 16 kB / 0.679 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.41e-05/0.6526, allocations: 39.89 kB / 0.6791 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.874e-05/0.6527, allocations: 43.98 kB / 0.6791 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0005147/0.6532, allocations: 439 kB / 0.6795 GB, free: 9.996 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6532, allocations: 0 / 0.6795 GB, free: 9.996 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009214/0.6542, allocations: 256 kB / 0.6798 GB, free: 9.746 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002139/0.6563, allocations: 1.563 MB / 0.6813 GB, free: 8.141 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001221/0.6575, allocations: 0.5938 MB / 0.6819 GB, free: 7.547 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.6576, allocations: 4 kB / 0.6819 GB, free: 7.543 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009864/0.6585, allocations: 415.2 kB / 0.6823 GB, free: 7.125 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00169/0.6602, allocations: 368 kB / 0.6826 GB, free: 6.777 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00848/0.6687, allocations: 6.544 MB / 0.689 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004888/0.6692, allocations: 0.9378 MB / 0.69 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001262/0.6705, allocations: 462.9 kB / 0.6904 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005334/0.6711, allocations: 291.3 kB / 0.6907 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of SimCode: time 6.72e-07/0.6711, allocations: 0 / 0.6907 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2823/0.9534, allocations: 24.15 MB / 0.7143 GB, free: 199.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.01/12.96, allocations: 4.328 kB / 0.7143 GB, free: 199.1 MB / 0.5294 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/IdealSteam/IdealSteam.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,volume.medium.T,volume.medium.p Variables in the result:time,volume.medium.T,volume.medium.p