Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.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.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 104 kB / 17.63 MB, free: 5.543 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.001038/0.001038, allocations: 192.1 kB / 18.56 MB, free: 4.621 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.373/1.373, allocations: 222.9 MB / 242.3 MB, free: 15.22 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.2283/0.2283, allocations: 44.18 MB / 336.6 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 65.17 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1087, allocations: 60.82 MB / 469.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.4349/0.5437, allocations: 175.2 MB / 0.6295 GB, free: 1.199 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.008315/0.5521, allocations: 5.341 MB / 0.6347 GB, free: 11.84 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001044/0.5531, allocations: 19.88 kB / 0.6347 GB, free: 11.82 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001499/0.5547, allocations: 317.9 kB / 0.635 GB, free: 11.51 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004947/0.5597, allocations: 1.328 MB / 0.6363 GB, free: 10.18 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003667/0.5634, allocations: 1.06 MB / 0.6374 GB, free: 9.129 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003179/0.5666, allocations: 1.848 MB / 0.6392 GB, free: 7.277 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001324/0.5679, allocations: 459 kB / 0.6396 GB, free: 6.828 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003414/0.5714, allocations: 1.07 MB / 0.6407 GB, free: 5.754 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001938/0.5734, allocations: 0.7432 MB / 0.6414 GB, free: 5.008 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003778/0.5738, allocations: 64 kB / 0.6414 GB, free: 4.945 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001979/0.5758, allocations: 0.5774 MB / 0.642 GB, free: 4.367 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005008/0.5763, allocations: 263.3 kB / 0.6423 GB, free: 4.109 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001095/0.5774, allocations: 394.2 kB / 0.6426 GB, free: 3.723 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003657/0.5811, allocations: 1.301 MB / 0.6439 GB, free: 2.418 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.5811, allocations: 0 / 0.6439 GB, free: 2.418 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.5811, allocations: 0 / 0.6439 GB, free: 2.418 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.092e-05/0.5812, allocations: 0 / 0.6439 GB, free: 2.418 MB / 478.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.003636/0.5848, allocations: 1.095 MB / 0.645 GB, free: 1.27 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.5849, allocations: 12.03 kB / 0.645 GB, free: 1.258 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002381/0.5851, allocations: 94.52 kB / 0.6451 GB, free: 1.156 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001093/0.5862, allocations: 135.1 kB / 0.6452 GB, free: 1.023 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001282/0.5875, allocations: 0.5118 MB / 0.6457 GB, free: 484 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001307/0.5877, allocations: 96.41 kB / 0.6458 GB, free: 372 kB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001191/0.5878, allocations: 47.98 kB / 0.6458 GB, free: 324 kB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001348/0.5891, allocations: 0.8214 MB / 0.6466 GB, free: 15.43 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.248e-05/0.5892, allocations: 3.938 kB / 0.6467 GB, free: 15.42 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.538e-05/0.5893, allocations: 23.94 kB / 0.6467 GB, free: 15.4 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.964e-05/0.5893, allocations: 40.97 kB / 0.6467 GB, free: 15.36 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001197/0.5905, allocations: 0.6166 MB / 0.6473 GB, free: 14.74 MB / 494.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.005189/0.5957, allocations: 3.984 MB / 0.6512 GB, free: 10.5 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006002/0.5964, allocations: 359.5 kB / 0.6515 GB, free: 10.14 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003099/0.5967, allocations: 165.3 kB / 0.6517 GB, free: 9.973 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001546/0.5969, allocations: 105.4 kB / 0.6518 GB, free: 9.852 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/0.5969, allocations: 34.84 kB / 0.6518 GB, free: 9.809 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 2.685e-06/0.5969, allocations: 0 / 0.6518 GB, free: 9.809 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.005893/0.6028, allocations: 1.668 MB / 0.6535 GB, free: 8.07 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.367e-05/0.6029, allocations: 132.5 kB / 0.6536 GB, free: 7.91 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008255/0.6038, allocations: 0.621 MB / 0.6542 GB, free: 7.281 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.168e-05/0.6038, allocations: 33.7 kB / 0.6542 GB, free: 7.242 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002914/0.6041, allocations: 370.9 kB / 0.6546 GB, free: 6.875 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001402/0.6043, allocations: 134 kB / 0.6547 GB, free: 6.742 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002323/0.6045, allocations: 162.5 kB / 0.6549 GB, free: 6.578 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001921/0.6047, allocations: 374.8 kB / 0.6552 GB, free: 6.203 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003926/0.6051, allocations: 209.8 kB / 0.6554 GB, free: 5.996 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006201/0.6057, allocations: 0.5086 MB / 0.6559 GB, free: 5.344 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001149/0.6069, allocations: 0.7553 MB / 0.6567 GB, free: 4.449 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.118e-05/0.6069, allocations: 7.984 kB / 0.6567 GB, free: 4.441 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001754/0.6087, allocations: 0.8876 MB / 0.6575 GB, free: 3.543 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.77e-05/0.6087, allocations: 12 kB / 0.6575 GB, free: 3.531 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.849e-05/0.6088, allocations: 11.94 kB / 0.6576 GB, free: 3.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00151/0.6103, allocations: 317 kB / 0.6579 GB, free: 3.207 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004045/0.6107, allocations: 115.8 kB / 0.658 GB, free: 3.094 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001157/0.6119, allocations: 0.9334 MB / 0.6589 GB, free: 2.137 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000585/0.6125, allocations: 28 kB / 0.6589 GB, free: 2.109 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.627e-05/0.6126, allocations: 63.98 kB / 0.659 GB, free: 2.047 MB / 494.1 MB 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.0004459/0.613, allocations: 253.5 kB / 0.6592 GB, free: 1.789 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002002/0.6132, allocations: 67.16 kB / 0.6593 GB, free: 1.723 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00188/0.6151, allocations: 0.8698 MB / 0.6601 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.652e-05/0.6151, allocations: 7.984 kB / 0.6601 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.6152, allocations: 0 / 0.6601 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.6152, allocations: 3.938 kB / 0.6601 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002207/0.6174, allocations: 1.461 MB / 0.6616 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-06/0.6174, allocations: 0 / 0.6616 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001028/0.6184, allocations: 212 kB / 0.6618 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.544e-05/0.6185, allocations: 24.84 kB / 0.6618 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.21e-05/0.6186, allocations: 19.98 kB / 0.6618 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002268/0.6209, allocations: 2.873 MB / 0.6646 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/0.6209, allocations: 8.188 kB / 0.6646 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001427/0.6223, allocations: 0.8207 MB / 0.6654 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004032/0.6227, allocations: 188.3 kB / 0.6656 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002044/0.623, allocations: 23.92 kB / 0.6656 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004843/0.6235, allocations: 15.98 kB / 0.6656 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.964e-05/0.6236, allocations: 35.91 kB / 0.6657 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.637e-05/0.6236, allocations: 47.97 kB / 0.6657 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006365/0.6243, allocations: 443 kB / 0.6661 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6243, allocations: 4.062 kB / 0.6661 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001088/0.6254, allocations: 252 kB / 0.6664 GB, free: 9.953 MB / 0.4981 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.002328/0.6277, allocations: 1.554 MB / 0.6679 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001351/0.6291, allocations: 0.5929 MB / 0.6685 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.6291, allocations: 0 / 0.6685 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001003/0.6301, allocations: 423.7 kB / 0.6689 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001817/0.632, allocations: 377.5 kB / 0.6692 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0092/0.6412, allocations: 6.544 MB / 0.6756 GB, free: 48 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005246/0.6417, allocations: 0.93 MB / 0.6765 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001298/0.643, allocations: 463.7 kB / 0.677 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005474/0.6436, allocations: 287.3 kB / 0.6773 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of SimCode: time 8.42e-07/0.6436, allocations: 4 kB / 0.6773 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1022/0.7458, allocations: 24.13 MB / 0.7008 GB, free: 6.535 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.68/13.42, allocations: 11.8 kB / 0.7008 GB, free: 6.523 MB / 0.5294 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat","/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_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches