Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.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.001776/0.001776, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 14.72 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.00148/0.00148, allocations: 214.7 kB / 24.47 MB, free: 3.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.351/1.351, allocations: 207.7 MB / 235.3 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001793/0.001793, allocations: 55.92 kB / 347.2 MB, free: 9.84 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2485/0.2503, allocations: 49.15 MB / 396.4 MB, free: 8.887 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.1895/0.4398, allocations: 150.2 MB / 0.5338 GB, free: 12.4 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004642/0.4445, allocations: 2.958 MB / 0.5367 GB, free: 9.43 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005237/0.445, allocations: 4 kB / 0.5367 GB, free: 9.426 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009034/0.4459, allocations: 166.9 kB / 0.5368 GB, free: 9.262 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001525/0.4474, allocations: 417.5 kB / 0.5372 GB, free: 8.855 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001157/0.4486, allocations: 351.3 kB / 0.5375 GB, free: 8.512 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001314/0.4499, allocations: 0.907 MB / 0.5384 GB, free: 7.602 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002511/0.4501, allocations: 72.86 kB / 0.5385 GB, free: 7.527 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002629/0.4528, allocations: 0.8075 MB / 0.5393 GB, free: 6.719 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006887/0.4534, allocations: 266.9 kB / 0.5395 GB, free: 6.457 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001101/0.4536, allocations: 36 kB / 0.5396 GB, free: 6.422 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004983/0.4541, allocations: 123.8 kB / 0.5397 GB, free: 6.301 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001937/0.4542, allocations: 95.66 kB / 0.5398 GB, free: 6.207 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000354/0.4546, allocations: 163.5 kB / 0.5399 GB, free: 6.047 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009443/0.4555, allocations: 0.5178 MB / 0.5405 GB, free: 5.527 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.4555, allocations: 3.938 kB / 0.5405 GB, free: 5.523 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4556, allocations: 0 / 0.5405 GB, free: 5.523 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.784e-05/0.4556, allocations: 0 / 0.5405 GB, free: 5.523 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001024/0.4566, allocations: 0.5206 MB / 0.541 GB, free: 4.973 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.4566, allocations: 15.98 kB / 0.541 GB, free: 4.957 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.592e-05/0.4567, allocations: 58.55 kB / 0.541 GB, free: 4.891 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003171/0.457, allocations: 43.8 kB / 0.5411 GB, free: 4.848 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005398/0.4576, allocations: 228.7 kB / 0.5413 GB, free: 4.598 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.068e-05/0.4576, allocations: 16.5 kB / 0.5413 GB, free: 4.578 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.185e-05/0.4577, allocations: 31.94 kB / 0.5413 GB, free: 4.547 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007644/0.4584, allocations: 0.5411 MB / 0.5419 GB, free: 3.926 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.405e-05/0.4585, allocations: 4 kB / 0.5419 GB, free: 3.922 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.393e-05/0.4585, allocations: 12 kB / 0.5419 GB, free: 3.91 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.779e-06/0.4585, allocations: 4 kB / 0.5419 GB, free: 3.906 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003871/0.4589, allocations: 205.5 kB / 0.5421 GB, free: 3.707 MB / 462.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.002123/0.461, allocations: 1.199 MB / 0.5433 GB, free: 2.441 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004144/0.4614, allocations: 159.1 kB / 0.5434 GB, free: 2.277 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001635/0.4616, allocations: 96.77 kB / 0.5435 GB, free: 2.18 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.678e-05/0.4616, allocations: 7.984 kB / 0.5435 GB, free: 2.172 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.584e-05/0.4617, allocations: 38.5 kB / 0.5435 GB, free: 2.125 MB / 462.1 MB Notification: Performance of pre-optimization done (n=22): time 1.493e-06/0.4617, allocations: 0 / 0.5435 GB, free: 2.125 MB / 462.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.005599/0.4673, allocations: 1.314 MB / 0.5448 GB, free: 0.75 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.128e-05/0.4673, allocations: 59.39 kB / 0.5449 GB, free: 0.6797 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003202/0.4676, allocations: 261 kB / 0.5451 GB, free: 424 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.074e-05/0.4677, allocations: 29.7 kB / 0.5452 GB, free: 388 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.4678, allocations: 180.5 kB / 0.5453 GB, free: 204 kB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.521e-05/0.4679, allocations: 99.16 kB / 0.5454 GB, free: 104 kB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000124/0.4681, allocations: 81.64 kB / 0.5455 GB, free: 16 kB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001964/0.4682, allocations: 346.8 kB / 0.5458 GB, free: 15.67 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001773/0.4684, allocations: 87.95 kB / 0.5459 GB, free: 15.58 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002588/0.4687, allocations: 195.8 kB / 0.5461 GB, free: 15.35 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004754/0.4692, allocations: 311.8 kB / 0.5464 GB, free: 15 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-06/0.4692, allocations: 4 kB / 0.5464 GB, free: 15 MB / 478.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007248/0.4699, allocations: 386.9 kB / 0.5468 GB, free: 14.61 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.4699, allocations: 8 kB / 0.5468 GB, free: 14.6 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/0.4699, allocations: 11.97 kB / 0.5468 GB, free: 14.59 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002338/0.4702, allocations: 82.03 kB / 0.5469 GB, free: 14.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003525/0.4705, allocations: 79.89 kB / 0.5469 GB, free: 14.42 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001692/0.4722, allocations: 1.847 MB / 0.5488 GB, free: 12.43 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002178/0.4724, allocations: 11.98 kB / 0.5488 GB, free: 12.42 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-05/0.4725, allocations: 40.25 kB / 0.5488 GB, free: 12.38 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000205/0.4727, allocations: 161.6 kB / 0.549 GB, free: 12.21 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.178e-05/0.4728, allocations: 27.86 kB / 0.549 GB, free: 12.19 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000882/0.4736, allocations: 443.7 kB / 0.5494 GB, free: 11.74 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.4737, allocations: 4 kB / 0.5494 GB, free: 11.73 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.4737, allocations: 0 / 0.5494 GB, free: 11.73 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006106/0.4743, allocations: 0.563 MB / 0.55 GB, free: 11.08 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00113/0.4754, allocations: 0.6603 MB / 0.5506 GB, free: 10.36 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.4754, allocations: 0 / 0.5506 GB, free: 10.36 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003153/0.4757, allocations: 71.95 kB / 0.5507 GB, free: 10.29 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.469e-05/0.4758, allocations: 24.84 kB / 0.5507 GB, free: 10.27 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.999e-05/0.4758, allocations: 12 kB / 0.5507 GB, free: 10.25 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001119/0.4769, allocations: 1.271 MB / 0.552 GB, free: 8.871 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.477, allocations: 4.031 kB / 0.552 GB, free: 8.867 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007345/0.4777, allocations: 475.6 kB / 0.5524 GB, free: 8.379 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.972e-05/0.4778, allocations: 31.89 kB / 0.5524 GB, free: 8.348 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.948e-05/0.4778, allocations: 7.938 kB / 0.5524 GB, free: 8.34 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000224/0.478, allocations: 8 kB / 0.5525 GB, free: 8.332 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.528e-05/0.4781, allocations: 31.89 kB / 0.5525 GB, free: 8.301 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.895e-05/0.4781, allocations: 35.98 kB / 0.5525 GB, free: 8.266 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002122/0.4783, allocations: 189.2 kB / 0.5527 GB, free: 8.078 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4783, allocations: 0 / 0.5527 GB, free: 8.078 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005367/0.4789, allocations: 127.9 kB / 0.5528 GB, free: 7.953 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (26): * Single equations (assignments): 25 * 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): 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.001306/0.4802, allocations: 1.051 MB / 0.5538 GB, free: 6.863 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007135/0.4809, allocations: 367.2 kB / 0.5542 GB, free: 6.492 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.4809, allocations: 0 / 0.5542 GB, free: 6.492 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003285/0.4812, allocations: 234.4 kB / 0.5544 GB, free: 6.25 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009221/0.4822, allocations: 161.5 kB / 0.5546 GB, free: 6.094 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004505/0.4867, allocations: 3.206 MB / 0.5577 GB, free: 2.699 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001899/0.4869, allocations: 163.8 kB / 0.5579 GB, free: 2.523 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004217/0.4873, allocations: 102.9 kB / 0.558 GB, free: 2.426 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002646/0.4875, allocations: 131.4 kB / 0.5581 GB, free: 2.297 MB / 478.1 MB Notification: Performance of SimCode: time 8.52e-07/0.4875, allocations: 0 / 0.5581 GB, free: 2.297 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.213/0.7006, allocations: 12.86 MB / 0.5706 GB, free: 161.7 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.75/13.45, allocations: 6.234 kB / 0.5706 GB, free: 161.7 MB / 478.1 MB " [Timeout remaining time 646] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_IdealSteam_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_IdealSteam.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Water/IdealSteam/IdealSteam.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.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: 15.77299941284582]