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.001029/0.001029, allocations: 94.72 kB / 17.35 MB, free: 6.344 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.001118/0.001118, allocations: 170.5 kB / 18.25 MB, free: 5.508 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.323/1.323, allocations: 223.3 MB / 242.3 MB, free: 14.48 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.1826/0.1826, allocations: 44.25 MB / 337.7 MB, free: 2.426 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000275/0.000275, allocations: 8.594 kB / 410.4 MB, free: 27.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09856/0.09885, allocations: 61.93 MB / 472.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.3686/0.4675, allocations: 171.1 MB / 0.6284 GB, free: 7.316 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01032/0.4779, allocations: 5.416 MB / 0.6337 GB, free: 1.891 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001752/0.4797, allocations: 19.81 kB / 0.6337 GB, free: 1.871 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001136/0.4809, allocations: 274.5 kB / 0.634 GB, free: 1.602 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00386/0.4847, allocations: 1.209 MB / 0.6352 GB, free: 400 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002809/0.4876, allocations: 0.9496 MB / 0.6361 GB, free: 15.45 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002867/0.4904, allocations: 2.71 MB / 0.6388 GB, free: 12.73 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007776/0.4912, allocations: 401.4 kB / 0.6391 GB, free: 12.34 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002034/0.4933, allocations: 0.9651 MB / 0.6401 GB, free: 11.37 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001348/0.4946, allocations: 0.7627 MB / 0.6408 GB, free: 10.61 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001501/0.4948, allocations: 36 kB / 0.6409 GB, free: 10.57 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001249/0.4961, allocations: 0.5304 MB / 0.6414 GB, free: 10.04 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002884/0.4964, allocations: 235.3 kB / 0.6416 GB, free: 9.809 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004706/0.4968, allocations: 403.9 kB / 0.642 GB, free: 9.406 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001504/0.4984, allocations: 1.254 MB / 0.6432 GB, free: 8.148 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.4984, allocations: 0 / 0.6432 GB, free: 8.148 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4984, allocations: 0 / 0.6432 GB, free: 8.148 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.747e-05/0.4984, allocations: 0 / 0.6432 GB, free: 8.148 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.001982/0.5004, allocations: 0.9528 MB / 0.6441 GB, free: 7.145 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.5004, allocations: 11.97 kB / 0.6442 GB, free: 7.133 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001518/0.5006, allocations: 102.5 kB / 0.6443 GB, free: 7.023 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007934/0.5014, allocations: 135 kB / 0.6444 GB, free: 6.891 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007388/0.5021, allocations: 0.5002 MB / 0.6449 GB, free: 6.352 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001063/0.5023, allocations: 108.3 kB / 0.645 GB, free: 6.23 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.633e-05/0.5024, allocations: 55.89 kB / 0.645 GB, free: 6.176 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001207/0.5036, allocations: 0.8136 MB / 0.6458 GB, free: 5.289 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/0.5036, allocations: 4 kB / 0.6458 GB, free: 5.285 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.749e-05/0.5037, allocations: 27.94 kB / 0.6458 GB, free: 5.258 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.529e-05/0.5037, allocations: 44.91 kB / 0.6459 GB, free: 5.215 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009991/0.5048, allocations: 0.6244 MB / 0.6465 GB, free: 4.59 MB / 478.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.004174/0.5089, allocations: 3.965 MB / 0.6504 GB, free: 376 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005574/0.5095, allocations: 347.6 kB / 0.6507 GB, free: 20 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002739/0.5098, allocations: 173.3 kB / 0.6509 GB, free: 15.85 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000111/0.5099, allocations: 97.36 kB / 0.651 GB, free: 15.73 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.5099, allocations: 38.84 kB / 0.651 GB, free: 15.69 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 1.482e-06/0.51, allocations: 0 / 0.651 GB, free: 15.69 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.005369/0.5153, allocations: 1.673 MB / 0.6526 GB, free: 13.94 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.145e-05/0.5154, allocations: 132.5 kB / 0.6528 GB, free: 13.78 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007139/0.5161, allocations: 0.6055 MB / 0.6534 GB, free: 13.17 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.545e-05/0.5162, allocations: 37.7 kB / 0.6534 GB, free: 13.12 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002414/0.5164, allocations: 370.8 kB / 0.6537 GB, free: 12.76 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/0.5166, allocations: 138.1 kB / 0.6539 GB, free: 12.62 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.945e-05/0.5167, allocations: 61.69 kB / 0.6539 GB, free: 12.55 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.5168, allocations: 378.8 kB / 0.6543 GB, free: 12.18 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003445/0.5171, allocations: 201.9 kB / 0.6545 GB, free: 11.98 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005223/0.5177, allocations: 0.5125 MB / 0.655 GB, free: 11.32 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009766/0.5187, allocations: 0.7602 MB / 0.6557 GB, free: 10.42 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/0.5187, allocations: 0 / 0.6557 GB, free: 10.42 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001416/0.5201, allocations: 0.884 MB / 0.6566 GB, free: 9.523 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.5201, allocations: 14.56 kB / 0.6566 GB, free: 9.512 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.607e-05/0.5202, allocations: 11.94 kB / 0.6566 GB, free: 9.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001348/0.5215, allocations: 316.6 kB / 0.6569 GB, free: 9.188 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003701/0.5219, allocations: 127.7 kB / 0.657 GB, free: 9.062 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001044/0.5229, allocations: 0.935 MB / 0.658 GB, free: 8.105 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005043/0.5235, allocations: 47.91 kB / 0.658 GB, free: 8.059 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.237e-05/0.5236, allocations: 63.98 kB / 0.6581 GB, free: 7.996 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.0003316/0.5239, allocations: 250.1 kB / 0.6583 GB, free: 7.742 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/0.524, allocations: 67.25 kB / 0.6584 GB, free: 7.676 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001721/0.5257, allocations: 0.8747 MB / 0.6592 GB, free: 6.785 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.5258, allocations: 7.938 kB / 0.6592 GB, free: 6.777 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.5258, allocations: 0 / 0.6592 GB, free: 6.777 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.5258, allocations: 7.922 kB / 0.6592 GB, free: 6.77 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00192/0.5277, allocations: 1.457 MB / 0.6607 GB, free: 5.176 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.5277, allocations: 0 / 0.6607 GB, free: 5.176 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009813/0.5287, allocations: 215.9 kB / 0.6609 GB, free: 4.965 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.851e-05/0.5288, allocations: 24.84 kB / 0.6609 GB, free: 4.938 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.179e-05/0.5289, allocations: 19.98 kB / 0.6609 GB, free: 4.918 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001997/0.5309, allocations: 2.68 MB / 0.6635 GB, free: 1.977 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.461e-06/0.5309, allocations: 4.031 kB / 0.6635 GB, free: 1.973 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001415/0.5323, allocations: 0.8128 MB / 0.6643 GB, free: 1.121 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000395/0.5327, allocations: 196.2 kB / 0.6645 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001488/0.5329, allocations: 8 kB / 0.6645 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004993/0.5334, allocations: 27.97 kB / 0.6645 GB, free: 0.875 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/0.5335, allocations: 47.95 kB / 0.6646 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.207e-05/0.5336, allocations: 43.98 kB / 0.6646 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006661/0.5343, allocations: 435 kB / 0.665 GB, free: 372 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5343, allocations: 0 / 0.665 GB, free: 372 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.001125/0.5354, allocations: 255.9 kB / 0.6653 GB, free: 116 kB / 494.1 MB 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.002407/0.5378, allocations: 1.556 MB / 0.6668 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001522/0.5394, allocations: 0.5437 MB / 0.6673 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/0.5394, allocations: 4 kB / 0.6673 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001037/0.5404, allocations: 410.3 kB / 0.6677 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002145/0.5426, allocations: 363.1 kB / 0.6681 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009785/0.5524, allocations: 6.847 MB / 0.6748 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005051/0.5529, allocations: 0.9222 MB / 0.6757 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001279/0.5542, allocations: 463.8 kB / 0.6761 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005443/0.5548, allocations: 287.3 kB / 0.6764 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of SimCode: time 7.31e-07/0.5548, allocations: 0 / 0.6764 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04199/0.5968, allocations: 23.21 MB / 0.699 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002739/0.5971, allocations: 309.6 kB / 0.6993 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.438/3.036, allocations: 0 / 0.6993 GB, free: 13.04 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