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.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 3.2.3+maint.om/package.mo", uses=false) 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.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: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 102.2 kB / 18.25 MB, free: 4.773 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.001063/0.001063, allocations: 195.3 kB / 19.19 MB, free: 3.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.478/1.478, allocations: 205.1 MB / 225 MB, free: 12.29 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 47.94 kB / 281.3 MB, free: 3.184 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09711/0.09835, allocations: 46.64 MB / 328 MB, free: 4.473 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.3807/0.4791, allocations: 173.6 MB / 0.4898 GB, free: 9.352 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003898/0.483, allocations: 3.204 MB / 0.4929 GB, free: 6.137 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001925/0.4833, allocations: 11.94 kB / 0.493 GB, free: 6.125 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005689/0.4839, allocations: 167 kB / 0.4931 GB, free: 5.961 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008314/0.4847, allocations: 407.2 kB / 0.4935 GB, free: 5.562 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000791/0.4855, allocations: 340.5 kB / 0.4938 GB, free: 5.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000791/0.4863, allocations: 0.903 MB / 0.4947 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001877/0.4865, allocations: 100.6 kB / 0.4948 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001617/0.4881, allocations: 0.7997 MB / 0.4956 GB, free: 3.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000326/0.4885, allocations: 270.9 kB / 0.4959 GB, free: 3.164 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.159e-05/0.4885, allocations: 32 kB / 0.4959 GB, free: 3.133 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003065/0.4888, allocations: 127.8 kB / 0.496 GB, free: 3.008 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001172/0.489, allocations: 95.72 kB / 0.4961 GB, free: 2.914 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000194/0.4892, allocations: 187.3 kB / 0.4963 GB, free: 2.73 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005486/0.4897, allocations: 0.5063 MB / 0.4968 GB, free: 2.223 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.4897, allocations: 0 / 0.4968 GB, free: 2.223 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4898, allocations: 0 / 0.4968 GB, free: 2.223 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.4898, allocations: 0 / 0.4968 GB, free: 2.223 MB / 398.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.0008446/0.4906, allocations: 0.6008 MB / 0.4974 GB, free: 1.574 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.4907, allocations: 11.89 kB / 0.4974 GB, free: 1.562 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002811/0.491, allocations: 43.7 kB / 0.4974 GB, free: 1.52 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004812/0.4914, allocations: 294.3 kB / 0.4977 GB, free: 1.191 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.4915, allocations: 20.25 kB / 0.4977 GB, free: 1.176 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.876e-05/0.4915, allocations: 24 kB / 0.4977 GB, free: 1.152 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004933/0.492, allocations: 315.7 kB / 0.498 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.4921, allocations: 4 kB / 0.498 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.905e-05/0.4921, allocations: 15.94 kB / 0.498 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.4921, allocations: 8 kB / 0.4981 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003337/0.4925, allocations: 205.5 kB / 0.4983 GB, free: 0.5898 MB / 398.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.001847/0.4943, allocations: 1.597 MB / 0.4998 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003043/0.4946, allocations: 170.8 kB / 0.5 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001622/0.4948, allocations: 97.14 kB / 0.5001 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.287e-05/0.4949, allocations: 7.984 kB / 0.5001 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.4949, allocations: 34.56 kB / 0.5001 GB, free: 14.52 MB / 414.1 MB Notification: Performance of pre-optimization done (n=22): time 1.693e-06/0.4949, allocations: 0 / 0.5001 GB, free: 14.52 MB / 414.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.005886/0.5008, allocations: 1.608 MB / 0.5017 GB, free: 12.78 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/0.5009, allocations: 59.34 kB / 0.5017 GB, free: 12.71 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000282/0.5012, allocations: 252.9 kB / 0.502 GB, free: 12.46 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.603e-05/0.5012, allocations: 33.7 kB / 0.502 GB, free: 12.42 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001297/0.5013, allocations: 176.2 kB / 0.5022 GB, free: 12.24 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.144e-05/0.5014, allocations: 90.66 kB / 0.5023 GB, free: 12.15 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/0.5015, allocations: 89.38 kB / 0.5023 GB, free: 12.05 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.5017, allocations: 338.8 kB / 0.5027 GB, free: 11.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001692/0.5019, allocations: 91.89 kB / 0.5028 GB, free: 11.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002271/0.5021, allocations: 183.7 kB / 0.5029 GB, free: 11.4 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004081/0.5025, allocations: 311.8 kB / 0.5032 GB, free: 11.05 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.5025, allocations: 3.938 kB / 0.5032 GB, free: 11.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006501/0.5032, allocations: 395.2 kB / 0.5036 GB, free: 10.65 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.5032, allocations: 8 kB / 0.5036 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.992e-05/0.5032, allocations: 4 kB / 0.5036 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002251/0.5035, allocations: 78.08 kB / 0.5037 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003463/0.5038, allocations: 83.84 kB / 0.5038 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001547/0.5054, allocations: 1.958 MB / 0.5057 GB, free: 8.352 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002056/0.5056, allocations: 8 kB / 0.5057 GB, free: 8.344 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.372e-05/0.5057, allocations: 36 kB / 0.5057 GB, free: 8.309 MB / 414.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.0001828/0.5059, allocations: 166.8 kB / 0.5059 GB, free: 8.137 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.508e-05/0.506, allocations: 27.62 kB / 0.5059 GB, free: 8.109 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009772/0.5069, allocations: 438 kB / 0.5063 GB, free: 7.664 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.507, allocations: 4 kB / 0.5063 GB, free: 7.66 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.507, allocations: 4 kB / 0.5063 GB, free: 7.656 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005699/0.5075, allocations: 0.5669 MB / 0.5069 GB, free: 7 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/0.5086, allocations: 0.7348 MB / 0.5076 GB, free: 6.199 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.5086, allocations: 4 kB / 0.5076 GB, free: 6.195 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003024/0.5089, allocations: 67.95 kB / 0.5077 GB, free: 6.129 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.983e-05/0.509, allocations: 20.84 kB / 0.5077 GB, free: 6.105 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.781e-05/0.509, allocations: 15.98 kB / 0.5077 GB, free: 6.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009716/0.51, allocations: 1.379 MB / 0.5091 GB, free: 4.57 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.51, allocations: 4.031 kB / 0.5091 GB, free: 4.566 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006828/0.5107, allocations: 469.8 kB / 0.5095 GB, free: 4.082 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.288e-05/0.5108, allocations: 108.7 kB / 0.5096 GB, free: 3.957 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.247e-05/0.5109, allocations: 8 kB / 0.5096 GB, free: 3.949 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002302/0.5111, allocations: 16.11 kB / 0.5096 GB, free: 3.934 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.126e-05/0.5112, allocations: 19.97 kB / 0.5097 GB, free: 3.914 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.412e-05/0.5112, allocations: 31.98 kB / 0.5097 GB, free: 3.883 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001859/0.5114, allocations: 190 kB / 0.5099 GB, free: 3.699 MB / 414.1 MB Notification: Performance of sort global known variables: time 2e-07/0.5114, allocations: 3.938 kB / 0.5099 GB, free: 3.695 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005338/0.512, allocations: 120 kB / 0.51 GB, free: 3.578 MB / 414.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.0003633/0.5123, allocations: 151.1 kB / 0.5101 GB, free: 3.422 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007074/0.5131, allocations: 395.8 kB / 0.5105 GB, free: 3.023 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.5131, allocations: 0 / 0.5105 GB, free: 3.023 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002957/0.5134, allocations: 234.5 kB / 0.5107 GB, free: 2.781 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009722/0.5144, allocations: 176.2 kB / 0.5109 GB, free: 2.605 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001296/0.5157, allocations: 0.7269 MB / 0.5116 GB, free: 1.848 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003657/0.516, allocations: 0.7645 MB / 0.5124 GB, free: 1.059 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002593/0.5163, allocations: 71.41 kB / 0.5124 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.5163, allocations: 0 / 0.5124 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of Templates: time 0.01043/0.5268, allocations: 7.498 MB / 0.5198 GB, free: 9.48 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.makefile (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 & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe 2>&1) 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) Reference file matches