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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008813/0.0008813, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008388/0.0008388, allocations: 174 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9625/0.9625, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.248/0.248, allocations: 32.79 MB / 293.5 MB, free: 1.207 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.574e-06/2.574e-06, allocations: 0 / 439.6 MB, free: 4.23 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.076e-05/3.333e-05, allocations: 3.125 kB / 439.6 MB, free: 4.227 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.3529/0.3529, allocations: 154.6 MB / 0.5803 GB, free: 10.01 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.004938/0.3578, allocations: 4.914 MB / 0.5851 GB, free: 5.082 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004127/0.3583, allocations: 27.75 kB / 0.5851 GB, free: 5.055 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006246/0.3589, allocations: 313.8 kB / 0.5854 GB, free: 4.746 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002571/0.3615, allocations: 1.401 MB / 0.5868 GB, free: 3.344 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001818/0.3633, allocations: 1.088 MB / 0.5878 GB, free: 2.262 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001712/0.365, allocations: 1.886 MB / 0.5897 GB, free: 384 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005981/0.3656, allocations: 394 kB / 0.59 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001769/0.3674, allocations: 1.343 MB / 0.5914 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009211/0.3683, allocations: 0.7404 MB / 0.5921 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 9.094e-05/0.3684, allocations: 60 kB / 0.5921 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008414/0.3692, allocations: 0.5499 MB / 0.5927 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001865/0.3694, allocations: 283.1 kB / 0.5929 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002158/0.3696, allocations: 291.3 kB / 0.5932 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001247/0.3709, allocations: 1.383 MB / 0.5946 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.3709, allocations: 4 kB / 0.5946 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3709, allocations: 0 / 0.5946 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.349e-05/0.3709, allocations: 0 / 0.5946 GB, free: 11.33 MB / 0.4948 GB 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.001581/0.3725, allocations: 1.041 MB / 0.5956 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.3725, allocations: 12.03 kB / 0.5956 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.537e-05/0.3726, allocations: 100 kB / 0.5957 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004603/0.373, allocations: 135.4 kB / 0.5958 GB, free: 10 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005883/0.3736, allocations: 477.4 kB / 0.5963 GB, free: 9.512 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001012/0.3737, allocations: 155.8 kB / 0.5964 GB, free: 9.332 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.743e-05/0.3738, allocations: 48 kB / 0.5965 GB, free: 9.285 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009266/0.3747, allocations: 1.143 MB / 0.5976 GB, free: 7.988 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.3747, allocations: 0 / 0.5976 GB, free: 7.988 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.925e-05/0.3748, allocations: 24 kB / 0.5976 GB, free: 7.965 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.952e-05/0.3748, allocations: 40.92 kB / 0.5977 GB, free: 7.926 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007041/0.3755, allocations: 0.6282 MB / 0.5983 GB, free: 7.297 MB / 0.4948 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.002646/0.3782, allocations: 3.293 MB / 0.6015 GB, free: 3.887 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003924/0.3786, allocations: 336.7 kB / 0.6018 GB, free: 3.551 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001749/0.3788, allocations: 161.3 kB / 0.602 GB, free: 3.391 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.949e-05/0.3788, allocations: 16.27 kB / 0.602 GB, free: 3.375 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.3789, allocations: 44.56 kB / 0.602 GB, free: 3.328 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=34): time 1.512e-06/0.3789, allocations: 3.938 kB / 0.602 GB, free: 3.324 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39): time 0.003202/0.3821, allocations: 1.605 MB / 0.6036 GB, free: 1.668 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.908e-05/0.3821, allocations: 136.5 kB / 0.6037 GB, free: 1.504 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005232/0.3826, allocations: 0.6288 MB / 0.6043 GB, free: 0.8633 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.554e-05/0.3827, allocations: 33.7 kB / 0.6044 GB, free: 0.8242 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000186/0.3829, allocations: 367.8 kB / 0.6047 GB, free: 472 kB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.942e-05/0.383, allocations: 146.8 kB / 0.6049 GB, free: 324 kB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000142/0.3831, allocations: 158.6 kB / 0.605 GB, free: 160 kB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.3832, allocations: 374.8 kB / 0.6054 GB, free: 15.78 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002332/0.3834, allocations: 201.9 kB / 0.6056 GB, free: 15.58 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004898/0.3839, allocations: 0.5958 MB / 0.6061 GB, free: 14.82 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006636/0.3846, allocations: 0.7526 MB / 0.6069 GB, free: 13.93 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.3846, allocations: 0 / 0.6069 GB, free: 13.93 MB / 0.5105 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001018/0.3856, allocations: 0.8812 MB / 0.6077 GB, free: 13.04 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.3856, allocations: 12 kB / 0.6077 GB, free: 13.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/0.3857, allocations: 8 kB / 0.6078 GB, free: 13.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007984/0.3865, allocations: 316.1 kB / 0.6081 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002212/0.3867, allocations: 123.7 kB / 0.6082 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007331/0.3874, allocations: 0.9409 MB / 0.6091 GB, free: 11.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003796/0.3878, allocations: 31.98 kB / 0.6091 GB, free: 11.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.789e-05/0.3879, allocations: 63.12 kB / 0.6092 GB, free: 11.54 MB / 0.5105 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.0005284/0.3884, allocations: 254.7 kB / 0.6094 GB, free: 11.28 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001272/0.3885, allocations: 67.58 kB / 0.6095 GB, free: 11.21 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001139/0.3897, allocations: 0.8707 MB / 0.6103 GB, free: 10.33 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/0.3897, allocations: 4 kB / 0.6103 GB, free: 10.33 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.3897, allocations: 2.5 kB / 0.6103 GB, free: 10.33 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.3897, allocations: 0 / 0.6103 GB, free: 10.33 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001209/0.3909, allocations: 1.149 MB / 0.6115 GB, free: 9.109 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.3909, allocations: 0 / 0.6115 GB, free: 9.109 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005435/0.3915, allocations: 211.8 kB / 0.6117 GB, free: 8.902 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.632e-05/0.3915, allocations: 24.78 kB / 0.6117 GB, free: 8.875 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.726e-05/0.3916, allocations: 23.98 kB / 0.6117 GB, free: 8.852 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001351/0.3929, allocations: 2.664 MB / 0.6143 GB, free: 5.961 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3929, allocations: 0 / 0.6143 GB, free: 5.961 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008283/0.3938, allocations: 0.8321 MB / 0.6151 GB, free: 5.094 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001647/0.3939, allocations: 107.5 kB / 0.6152 GB, free: 4.988 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.56e-05/0.394, allocations: 15.98 kB / 0.6153 GB, free: 4.973 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002002/0.3942, allocations: 16 kB / 0.6153 GB, free: 4.957 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.538e-05/0.3942, allocations: 43.81 kB / 0.6153 GB, free: 4.914 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.685e-05/0.3943, allocations: 48.47 kB / 0.6154 GB, free: 4.867 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003645/0.3947, allocations: 439 kB / 0.6158 GB, free: 4.441 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9e-08/0.3947, allocations: 0 / 0.6158 GB, free: 4.441 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005911/0.3953, allocations: 259.7 kB / 0.616 GB, free: 4.188 MB / 0.5105 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.001472/0.3967, allocations: 1.547 MB / 0.6175 GB, free: 2.59 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0007191/0.3974, allocations: 0.5314 MB / 0.6181 GB, free: 2.059 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.3974, allocations: 4 kB / 0.6181 GB, free: 2.055 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005791/0.398, allocations: 410.4 kB / 0.6184 GB, free: 1.641 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009498/0.399, allocations: 369 kB / 0.6188 GB, free: 1.301 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006026/0.405, allocations: 6.258 MB / 0.6249 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003629/0.4054, allocations: 336.7 kB / 0.6252 GB, free: 10.28 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006588/0.406, allocations: 463.1 kB / 0.6257 GB, free: 9.828 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003141/0.4063, allocations: 284.4 kB / 0.6259 GB, free: 9.551 MB / 0.5261 GB Notification: Performance of SimCode: time 7.42e-07/0.4063, allocations: 0 / 0.6259 GB, free: 9.551 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2043/0.6106, allocations: 25.69 MB / 0.651 GB, free: 165 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.37/8.981, allocations: 9.516 kB / 0.651 GB, free: 165 MB / 0.5261 GB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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.000201919 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/IdealSteam/IdealSteam.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.24418832641095]