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.001088/0.001088, allocations: 102.2 kB / 18.4 MB, free: 4.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.001103/0.001103, allocations: 185.5 kB / 19.34 MB, free: 3.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.291/1.291, allocations: 205.1 MB / 225.2 MB, free: 12.26 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.001126/0.001126, allocations: 51.92 kB / 329.3 MB, free: 3.266 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07405/0.07519, allocations: 46.63 MB / 375.9 MB, free: 4.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.3308/0.406, allocations: 173.6 MB / 0.5366 GB, free: 1.613 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003791/0.4098, allocations: 3.215 MB / 0.5398 GB, free: 14.38 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002559/0.4101, allocations: 4 kB / 0.5398 GB, free: 14.38 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005661/0.4107, allocations: 170.9 kB / 0.5399 GB, free: 14.21 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009161/0.4116, allocations: 419.2 kB / 0.5403 GB, free: 13.8 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008959/0.4125, allocations: 339.8 kB / 0.5406 GB, free: 13.47 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001006/0.4135, allocations: 0.8915 MB / 0.5415 GB, free: 12.57 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001928/0.4137, allocations: 104.7 kB / 0.5416 GB, free: 12.47 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001676/0.4154, allocations: 0.8055 MB / 0.5424 GB, free: 11.67 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004039/0.4158, allocations: 270.9 kB / 0.5427 GB, free: 11.4 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.573e-05/0.4159, allocations: 32 kB / 0.5427 GB, free: 11.37 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003381/0.4163, allocations: 119.9 kB / 0.5428 GB, free: 11.25 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001204/0.4164, allocations: 99.66 kB / 0.5429 GB, free: 11.16 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002252/0.4166, allocations: 183.3 kB / 0.5431 GB, free: 10.98 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005966/0.4172, allocations: 0.518 MB / 0.5436 GB, free: 10.46 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.4173, allocations: 0 / 0.5436 GB, free: 10.46 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.4173, allocations: 0 / 0.5436 GB, free: 10.46 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.956e-06/0.4173, allocations: 0 / 0.5436 GB, free: 10.46 MB / 478.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.0008618/0.4181, allocations: 0.5891 MB / 0.5442 GB, free: 9.816 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.4182, allocations: 15.89 kB / 0.5442 GB, free: 9.801 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003088/0.4185, allocations: 43.61 kB / 0.5442 GB, free: 9.758 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004624/0.419, allocations: 294.3 kB / 0.5445 GB, free: 9.43 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.356e-05/0.419, allocations: 24.56 kB / 0.5445 GB, free: 9.406 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.695e-05/0.4191, allocations: 24 kB / 0.5445 GB, free: 9.383 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005071/0.4196, allocations: 315.7 kB / 0.5448 GB, free: 9.051 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.4196, allocations: 0.875 kB / 0.5448 GB, free: 9.051 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.283e-05/0.4197, allocations: 15.94 kB / 0.5449 GB, free: 9.035 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.4197, allocations: 8 kB / 0.5449 GB, free: 9.027 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003376/0.42, allocations: 209.6 kB / 0.5451 GB, free: 8.824 MB / 478.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.001805/0.4218, allocations: 1.585 MB / 0.5466 GB, free: 7.09 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002929/0.4221, allocations: 174.7 kB / 0.5468 GB, free: 6.91 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001556/0.4223, allocations: 113.1 kB / 0.5469 GB, free: 6.797 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.988e-05/0.4223, allocations: 4 kB / 0.5469 GB, free: 6.793 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.4224, allocations: 31.06 kB / 0.5469 GB, free: 6.754 MB / 478.1 MB Notification: Performance of pre-optimization done (n=22): time 1.693e-06/0.4224, allocations: 0 / 0.5469 GB, free: 6.754 MB / 478.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.005717/0.4281, allocations: 1.614 MB / 0.5485 GB, free: 5.008 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.717e-05/0.4281, allocations: 55.41 kB / 0.5485 GB, free: 4.941 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002469/0.4284, allocations: 252.9 kB / 0.5488 GB, free: 4.688 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.972e-05/0.4284, allocations: 33.7 kB / 0.5488 GB, free: 4.648 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.4285, allocations: 176.2 kB / 0.549 GB, free: 4.469 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.055e-05/0.4286, allocations: 94.64 kB / 0.5491 GB, free: 4.375 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/0.4288, allocations: 81.69 kB / 0.5492 GB, free: 4.289 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.4289, allocations: 338.8 kB / 0.5495 GB, free: 3.949 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001658/0.429, allocations: 87.95 kB / 0.5496 GB, free: 3.863 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002191/0.4293, allocations: 192.6 kB / 0.5497 GB, free: 3.633 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000417/0.4297, allocations: 296.3 kB / 0.55 GB, free: 3.301 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.4297, allocations: 4 kB / 0.55 GB, free: 3.297 MB / 478.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006655/0.4304, allocations: 406.6 kB / 0.5504 GB, free: 2.887 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.4304, allocations: 8 kB / 0.5504 GB, free: 2.879 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/0.4304, allocations: 4.406 kB / 0.5504 GB, free: 2.875 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002104/0.4306, allocations: 77.67 kB / 0.5505 GB, free: 2.793 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003509/0.431, allocations: 83.89 kB / 0.5506 GB, free: 2.711 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001453/0.4325, allocations: 1.957 MB / 0.5525 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002063/0.4327, allocations: 8 kB / 0.5525 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.343e-05/0.4327, allocations: 36 kB / 0.5525 GB, free: 0.5508 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.0001602/0.4329, allocations: 162.6 kB / 0.5527 GB, free: 392 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.264e-05/0.433, allocations: 27.72 kB / 0.5527 GB, free: 364 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1604/0.5934, allocations: 440.1 kB / 0.5531 GB, free: 171.3 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004621/0.5939, allocations: 0.5581 MB / 0.5537 GB, free: 170.9 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.5939, allocations: 1.031 kB / 0.5537 GB, free: 170.9 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.851e-05/0.594, allocations: 102.2 kB / 0.5538 GB, free: 170.8 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.81e-05/0.594, allocations: 4.125 kB / 0.5538 GB, free: 170.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002249/0.5943, allocations: 11.31 kB / 0.5538 GB, free: 170.8 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.244e-05/0.5943, allocations: 23.45 kB / 0.5538 GB, free: 170.8 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007457/0.5951, allocations: 368.1 kB / 0.5542 GB, free: 170.7 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005785/0.5957, allocations: 0.5195 MB / 0.5547 GB, free: 170.4 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000161/0.5958, allocations: 98.91 kB / 0.5548 GB, free: 170.4 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001851/0.596, allocations: 189.9 kB / 0.555 GB, free: 170.3 MB / 478.1 MB Notification: Performance of Backend: time 6.41e-07/0.5961, allocations: 0 / 0.555 GB, free: 170.3 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001195/0.5973, allocations: 433.9 kB / 0.5554 GB, free: 170.1 MB / 478.1 MB Notification: Performance of SimCode: time 0.001474/0.5987, allocations: 1.177 MB / 0.5565 GB, free: 169.3 MB / 478.1 MB Notification: Performance of Templates: time 0.0137/0.6124, allocations: 8.626 MB / 0.5649 GB, free: 167.9 MB / 478.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