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.001419/0.001419, allocations: 113.8 kB / 17.28 MB, free: 6.219 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.00154/0.001541, allocations: 193.3 kB / 18.19 MB, free: 5.301 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.543/1.543, allocations: 205.1 MB / 224.1 MB, free: 12.45 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.001237/0.001237, allocations: 47.94 kB / 280.2 MB, free: 3.488 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1054, allocations: 46.62 MB / 326.8 MB, free: 4.797 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.3604/0.4658, allocations: 171.3 MB / 498.1 MB, free: 12.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004035/0.4699, allocations: 3.189 MB / 0.4895 GB, free: 8.867 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001903/0.4702, allocations: 3.938 kB / 0.4895 GB, free: 8.863 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005983/0.4708, allocations: 147.2 kB / 0.4897 GB, free: 8.719 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009046/0.4717, allocations: 379.7 kB / 0.49 GB, free: 8.348 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008332/0.4725, allocations: 320.1 kB / 0.4903 GB, free: 8.035 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009766/0.4735, allocations: 0.8991 MB / 0.4912 GB, free: 7.133 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002138/0.4737, allocations: 96.64 kB / 0.4913 GB, free: 7.043 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001987/0.4757, allocations: 0.7757 MB / 0.4921 GB, free: 6.266 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003453/0.4761, allocations: 287 kB / 0.4923 GB, free: 5.984 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.14e-05/0.4762, allocations: 36 kB / 0.4924 GB, free: 5.949 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003313/0.4765, allocations: 119.9 kB / 0.4925 GB, free: 5.832 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001332/0.4766, allocations: 103.6 kB / 0.4926 GB, free: 5.73 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002145/0.4769, allocations: 183.3 kB / 0.4928 GB, free: 5.551 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006122/0.4775, allocations: 0.5141 MB / 0.4933 GB, free: 5.035 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.4775, allocations: 0 / 0.4933 GB, free: 5.035 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4775, allocations: 0 / 0.4933 GB, free: 5.035 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.346e-06/0.4775, allocations: 0 / 0.4933 GB, free: 5.035 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.0009387/0.4785, allocations: 0.6047 MB / 0.4939 GB, free: 4.383 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.4785, allocations: 11.89 kB / 0.4939 GB, free: 4.371 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003324/0.4789, allocations: 39.66 kB / 0.4939 GB, free: 4.332 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003991/0.4793, allocations: 286.4 kB / 0.4942 GB, free: 4.012 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/0.4793, allocations: 20.56 kB / 0.4942 GB, free: 3.992 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.252e-05/0.4794, allocations: 24.5 kB / 0.4942 GB, free: 3.969 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004954/0.4799, allocations: 315.7 kB / 0.4945 GB, free: 3.629 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/0.4799, allocations: 4 kB / 0.4945 GB, free: 3.625 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.609e-05/0.4799, allocations: 15.94 kB / 0.4945 GB, free: 3.609 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.4799, allocations: 7.984 kB / 0.4946 GB, free: 3.602 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003122/0.4803, allocations: 213.5 kB / 0.4948 GB, free: 3.395 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.001735/0.482, allocations: 1.579 MB / 0.4963 GB, free: 1.668 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003087/0.4823, allocations: 170.8 kB / 0.4965 GB, free: 1.492 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001482/0.4825, allocations: 101.1 kB / 0.4966 GB, free: 1.391 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.461e-05/0.4825, allocations: 11.98 kB / 0.4966 GB, free: 1.379 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.4826, allocations: 34.56 kB / 0.4966 GB, free: 1.336 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.192e-06/0.4826, allocations: 0 / 0.4966 GB, free: 1.336 MB / 398.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.005621/0.4882, allocations: 1.621 MB / 0.4982 GB, free: 15.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/0.4883, allocations: 55.41 kB / 0.4982 GB, free: 15.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002592/0.4885, allocations: 256.9 kB / 0.4985 GB, free: 15.26 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.593e-05/0.4886, allocations: 29.7 kB / 0.4985 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/0.4887, allocations: 180.2 kB / 0.4987 GB, free: 15.04 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.151e-05/0.4888, allocations: 90.64 kB / 0.4988 GB, free: 14.95 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001221/0.4889, allocations: 89.38 kB / 0.4989 GB, free: 14.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.4891, allocations: 342.8 kB / 0.4992 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001569/0.4892, allocations: 91.89 kB / 0.4993 GB, free: 14.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002112/0.4894, allocations: 187.8 kB / 0.4995 GB, free: 14.2 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003877/0.4898, allocations: 303.8 kB / 0.4997 GB, free: 13.86 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.4899, allocations: 3.938 kB / 0.4997 GB, free: 13.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006082/0.4905, allocations: 395.2 kB / 0.5001 GB, free: 13.46 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.4905, allocations: 4 kB / 0.5001 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.4905, allocations: 4 kB / 0.5001 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002145/0.4907, allocations: 82.08 kB / 0.5002 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003496/0.4911, allocations: 83.83 kB / 0.5003 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001313/0.4924, allocations: 1.947 MB / 0.5022 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002232/0.4926, allocations: 24.09 kB / 0.5022 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.339e-05/0.4927, allocations: 39.98 kB / 0.5022 GB, free: 11.11 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.0001593/0.4929, allocations: 158.4 kB / 0.5024 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.591e-05/0.4929, allocations: 27.72 kB / 0.5024 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009159/0.4939, allocations: 438.8 kB / 0.5028 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.4939, allocations: 0 / 0.5028 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.4939, allocations: 0 / 0.5028 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000513/0.4944, allocations: 0.5746 MB / 0.5034 GB, free: 9.805 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009575/0.4954, allocations: 0.7271 MB / 0.5041 GB, free: 9.012 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.4954, allocations: 0 / 0.5041 GB, free: 9.012 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003103/0.4957, allocations: 72.83 kB / 0.5042 GB, free: 8.941 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.258e-05/0.4958, allocations: 28.81 kB / 0.5042 GB, free: 8.91 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-05/0.4959, allocations: 15.98 kB / 0.5042 GB, free: 8.895 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000857/0.4967, allocations: 1.382 MB / 0.5056 GB, free: 7.371 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.4967, allocations: 0 / 0.5056 GB, free: 7.371 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006116/0.4974, allocations: 474.7 kB / 0.506 GB, free: 6.883 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.478e-05/0.4974, allocations: 112.7 kB / 0.5061 GB, free: 6.754 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.123e-05/0.4975, allocations: 8 kB / 0.5061 GB, free: 6.746 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002503/0.4978, allocations: 15.98 kB / 0.5062 GB, free: 6.73 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.55e-05/0.4978, allocations: 19.97 kB / 0.5062 GB, free: 6.711 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.43e-05/0.4979, allocations: 35.92 kB / 0.5062 GB, free: 6.676 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001823/0.4981, allocations: 190 kB / 0.5064 GB, free: 6.492 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4981, allocations: 0 / 0.5064 GB, free: 6.492 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005187/0.4986, allocations: 127.9 kB / 0.5065 GB, free: 6.367 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.0004274/0.499, allocations: 151.2 kB / 0.5067 GB, free: 6.211 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007188/0.4998, allocations: 386.3 kB / 0.507 GB, free: 5.82 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.4998, allocations: 0 / 0.507 GB, free: 5.82 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003071/0.5001, allocations: 235.5 kB / 0.5073 GB, free: 5.578 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009541/0.501, allocations: 176.7 kB / 0.5074 GB, free: 5.406 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001305/0.5024, allocations: 0.7921 MB / 0.5082 GB, free: 4.586 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002922/0.5027, allocations: 0.7606 MB / 0.5089 GB, free: 3.801 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005611/0.5032, allocations: 122.9 kB / 0.5091 GB, free: 3.68 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001985/0.5034, allocations: 67.41 kB / 0.5091 GB, free: 3.613 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.5034, allocations: 3.938 kB / 0.5091 GB, free: 3.609 MB / 414.1 MB Notification: Performance of Templates: time 0.01352/0.517, allocations: 8.684 MB / 0.5176 GB, free: 10.91 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Water/IdealSteam/IdealSteam.csv","../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