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.001232/0.001232, allocations: 110.5 kB / 17.93 MB, free: 5.676 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.001248/0.001248, allocations: 193.8 kB / 18.86 MB, free: 4.754 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.406/1.406, allocations: 205.1 MB / 224.7 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.001297/0.001297, allocations: 44.34 kB / 280.8 MB, free: 3.492 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1033, allocations: 46.63 MB / 327.4 MB, free: 4.797 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.3643/0.4677, allocations: 171.3 MB / 498.7 MB, free: 12.22 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00393/0.4717, allocations: 3.189 MB / 0.4902 GB, free: 9.023 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002108/0.472, allocations: 7.938 kB / 0.4902 GB, free: 9.016 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005832/0.4726, allocations: 147.3 kB / 0.4903 GB, free: 8.871 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009065/0.4735, allocations: 383.8 kB / 0.4907 GB, free: 8.496 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008085/0.4743, allocations: 312.2 kB / 0.491 GB, free: 8.191 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001033/0.4753, allocations: 0.903 MB / 0.4919 GB, free: 7.285 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002339/0.4756, allocations: 104.6 kB / 0.492 GB, free: 7.188 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001932/0.4775, allocations: 0.7717 MB / 0.4927 GB, free: 6.414 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000347/0.4779, allocations: 283 kB / 0.493 GB, free: 6.137 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.67e-05/0.4779, allocations: 28 kB / 0.493 GB, free: 6.109 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003057/0.4783, allocations: 127.9 kB / 0.4931 GB, free: 5.984 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00013/0.4784, allocations: 107.6 kB / 0.4932 GB, free: 5.879 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001974/0.4786, allocations: 187.3 kB / 0.4934 GB, free: 5.695 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005019/0.4791, allocations: 407 kB / 0.4938 GB, free: 5.297 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.4791, allocations: 4 kB / 0.4938 GB, free: 5.293 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4791, allocations: 0 / 0.4938 GB, free: 5.293 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.4791, allocations: 0 / 0.4938 GB, free: 5.293 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.0008748/0.48, allocations: 0.5968 MB / 0.4944 GB, free: 4.648 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.4801, allocations: 15.89 kB / 0.4944 GB, free: 4.633 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002707/0.4804, allocations: 35.72 kB / 0.4944 GB, free: 4.598 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003541/0.4807, allocations: 294.4 kB / 0.4947 GB, free: 4.27 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/0.4808, allocations: 20.5 kB / 0.4947 GB, free: 4.25 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.443e-05/0.4808, allocations: 27 kB / 0.4948 GB, free: 4.227 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004817/0.4813, allocations: 311.7 kB / 0.4951 GB, free: 3.891 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.4813, allocations: 3.938 kB / 0.4951 GB, free: 3.887 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.743e-05/0.4814, allocations: 19.94 kB / 0.4951 GB, free: 3.867 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.4814, allocations: 11.98 kB / 0.4951 GB, free: 3.855 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003514/0.4817, allocations: 201.6 kB / 0.4953 GB, free: 3.66 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.001837/0.4836, allocations: 1.585 MB / 0.4968 GB, free: 1.926 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002933/0.4839, allocations: 166.8 kB / 0.497 GB, free: 1.754 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001531/0.4841, allocations: 105.1 kB / 0.4971 GB, free: 1.648 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.805e-05/0.4841, allocations: 11.92 kB / 0.4971 GB, free: 1.637 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/0.4841, allocations: 34.56 kB / 0.4971 GB, free: 1.594 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.853e-06/0.4841, allocations: 4 kB / 0.4971 GB, free: 1.59 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.005767/0.4899, allocations: 1.599 MB / 0.4987 GB, free: 15.86 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.878e-05/0.49, allocations: 55.41 kB / 0.4988 GB, free: 15.79 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002788/0.4903, allocations: 256.9 kB / 0.499 GB, free: 15.53 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.227e-05/0.4903, allocations: 33.7 kB / 0.499 GB, free: 15.49 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.4905, allocations: 180.1 kB / 0.4992 GB, free: 15.31 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.596e-05/0.4906, allocations: 90.66 kB / 0.4993 GB, free: 15.22 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001347/0.4907, allocations: 85.38 kB / 0.4994 GB, free: 15.13 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.4909, allocations: 338.8 kB / 0.4997 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001634/0.491, allocations: 87.95 kB / 0.4998 GB, free: 14.7 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002263/0.4913, allocations: 195.7 kB / 0.5 GB, free: 14.47 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004207/0.4917, allocations: 307.8 kB / 0.5003 GB, free: 14.12 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.4917, allocations: 7.938 kB / 0.5003 GB, free: 14.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006537/0.4924, allocations: 391.3 kB / 0.5006 GB, free: 13.72 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.4924, allocations: 8 kB / 0.5007 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.4924, allocations: 4 kB / 0.5007 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000226/0.4926, allocations: 69.67 kB / 0.5007 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003439/0.493, allocations: 87.83 kB / 0.5008 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001547/0.4945, allocations: 1.955 MB / 0.5027 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002652/0.4948, allocations: 23.91 kB / 0.5027 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-05/0.4949, allocations: 47.98 kB / 0.5028 GB, free: 11.36 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.0002135/0.4951, allocations: 158.6 kB / 0.5029 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.848e-05/0.4952, allocations: 27.66 kB / 0.503 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009802/0.4962, allocations: 439.7 kB / 0.5034 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.4962, allocations: 4 kB / 0.5034 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.4962, allocations: 0 / 0.5034 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000545/0.4968, allocations: 0.5629 MB / 0.5039 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00108/0.4979, allocations: 0.735 MB / 0.5047 GB, free: 9.262 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.4979, allocations: 0 / 0.5047 GB, free: 9.262 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003149/0.4982, allocations: 67.89 kB / 0.5047 GB, free: 9.195 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.859e-05/0.4983, allocations: 20.84 kB / 0.5047 GB, free: 9.172 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.226e-05/0.4984, allocations: 19.98 kB / 0.5048 GB, free: 9.152 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001057/0.4994, allocations: 1.382 MB / 0.5061 GB, free: 7.629 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.4994, allocations: 4.031 kB / 0.5061 GB, free: 7.625 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006939/0.5001, allocations: 470.6 kB / 0.5066 GB, free: 7.141 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.5003, allocations: 108.7 kB / 0.5067 GB, free: 7.016 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.122e-05/0.5003, allocations: 8 kB / 0.5067 GB, free: 7.008 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000256/0.5006, allocations: 20.11 kB / 0.5067 GB, free: 6.988 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.643e-05/0.5007, allocations: 23.97 kB / 0.5067 GB, free: 6.965 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.275e-05/0.5007, allocations: 27.98 kB / 0.5067 GB, free: 6.938 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001936/0.5009, allocations: 194 kB / 0.5069 GB, free: 6.75 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5009, allocations: 0 / 0.5069 GB, free: 6.75 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005418/0.5015, allocations: 127.9 kB / 0.507 GB, free: 6.625 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.0004185/0.5019, allocations: 151.1 kB / 0.5072 GB, free: 6.469 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007381/0.5026, allocations: 386.6 kB / 0.5076 GB, free: 6.078 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/0.5027, allocations: 4 kB / 0.5076 GB, free: 6.074 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002898/0.503, allocations: 230.5 kB / 0.5078 GB, free: 5.836 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009769/0.5039, allocations: 181.5 kB / 0.508 GB, free: 5.66 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001375/0.5053, allocations: 0.8289 MB / 0.5088 GB, free: 4.797 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004418/0.5058, allocations: 0.7606 MB / 0.5095 GB, free: 4.012 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002662/0.5061, allocations: 75.41 kB / 0.5096 GB, free: 3.938 MB / 414.1 MB Notification: Performance of SimCode: time 4.3e-07/0.5061, allocations: 4 kB / 0.5096 GB, free: 3.934 MB / 414.1 MB Notification: Performance of Templates: time 0.01167/0.5177, allocations: 7.485 MB / 0.5169 GB, free: 12.44 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","../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