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.001087/0.001087, allocations: 114.4 kB / 17.73 MB, free: 5.359 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.001163/0.001164, allocations: 187.1 kB / 18.66 MB, free: 4.438 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.445/1.445, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001207/0.001207, allocations: 55.92 kB / 328.6 MB, free: 3.27 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08649/0.08771, allocations: 46.62 MB / 375.2 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.3984/0.4862, allocations: 173.6 MB / 0.5359 GB, free: 1.469 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004342/0.4906, allocations: 3.215 MB / 0.5391 GB, free: 14.24 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004424/0.4911, allocations: 7.938 kB / 0.5391 GB, free: 14.23 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006854/0.4918, allocations: 167 kB / 0.5393 GB, free: 14.07 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00117/0.493, allocations: 403.2 kB / 0.5396 GB, free: 13.67 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009732/0.494, allocations: 345 kB / 0.54 GB, free: 13.34 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001211/0.4952, allocations: 0.8876 MB / 0.5408 GB, free: 12.45 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002333/0.4954, allocations: 104.7 kB / 0.5409 GB, free: 12.34 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001918/0.4974, allocations: 0.7937 MB / 0.5417 GB, free: 11.55 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004866/0.4979, allocations: 274.9 kB / 0.542 GB, free: 11.28 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.531e-05/0.498, allocations: 28 kB / 0.542 GB, free: 11.25 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003965/0.4984, allocations: 131.9 kB / 0.5421 GB, free: 11.12 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001282/0.4985, allocations: 99.7 kB / 0.5422 GB, free: 11.03 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002211/0.4988, allocations: 187.2 kB / 0.5424 GB, free: 10.84 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006551/0.4994, allocations: 0.5102 MB / 0.5429 GB, free: 10.33 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.4994, allocations: 0 / 0.5429 GB, free: 10.33 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.4994, allocations: 0 / 0.5429 GB, free: 10.33 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.276e-05/0.4995, allocations: 0 / 0.5429 GB, free: 10.33 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.0009732/0.5004, allocations: 0.5891 MB / 0.5435 GB, free: 9.691 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.5005, allocations: 15.88 kB / 0.5435 GB, free: 9.676 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003179/0.5008, allocations: 47.62 kB / 0.5435 GB, free: 9.629 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004786/0.5013, allocations: 294.3 kB / 0.5438 GB, free: 9.301 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.292e-05/0.5013, allocations: 20.56 kB / 0.5438 GB, free: 9.281 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.968e-05/0.5014, allocations: 24 kB / 0.5439 GB, free: 9.258 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00051/0.5019, allocations: 323.7 kB / 0.5442 GB, free: 8.918 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.5019, allocations: 4 kB / 0.5442 GB, free: 8.914 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.127e-05/0.502, allocations: 15.94 kB / 0.5442 GB, free: 8.898 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.502, allocations: 4 kB / 0.5442 GB, free: 8.895 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003342/0.5023, allocations: 209.5 kB / 0.5444 GB, free: 8.691 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.001794/0.5041, allocations: 1.589 MB / 0.5459 GB, free: 6.953 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003222/0.5045, allocations: 168.4 kB / 0.5461 GB, free: 6.781 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001516/0.5046, allocations: 99.72 kB / 0.5462 GB, free: 6.684 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.135e-05/0.5047, allocations: 7.984 kB / 0.5462 GB, free: 6.676 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.5047, allocations: 42.56 kB / 0.5462 GB, free: 6.625 MB / 478.1 MB Notification: Performance of pre-optimization done (n=22): time 1.502e-06/0.5047, allocations: 0 / 0.5462 GB, free: 6.625 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.005916/0.5106, allocations: 1.607 MB / 0.5478 GB, free: 4.887 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.5107, allocations: 55.41 kB / 0.5479 GB, free: 4.82 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002575/0.511, allocations: 256.9 kB / 0.5481 GB, free: 4.562 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.942e-05/0.511, allocations: 33.7 kB / 0.5481 GB, free: 4.523 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/0.5111, allocations: 172.1 kB / 0.5483 GB, free: 4.348 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.596e-05/0.5112, allocations: 102.6 kB / 0.5484 GB, free: 4.246 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001254/0.5114, allocations: 77.69 kB / 0.5485 GB, free: 4.164 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.5115, allocations: 338.8 kB / 0.5488 GB, free: 3.824 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001703/0.5117, allocations: 83.97 kB / 0.5489 GB, free: 3.742 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000226/0.5119, allocations: 195.7 kB / 0.5491 GB, free: 3.508 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00043/0.5124, allocations: 300.3 kB / 0.5494 GB, free: 3.172 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.5124, allocations: 7.938 kB / 0.5494 GB, free: 3.164 MB / 478.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006838/0.5131, allocations: 406.7 kB / 0.5497 GB, free: 2.754 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.5131, allocations: 8 kB / 0.5498 GB, free: 2.746 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.5131, allocations: 4 kB / 0.5498 GB, free: 2.742 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002095/0.5133, allocations: 67.88 kB / 0.5498 GB, free: 2.672 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003426/0.5137, allocations: 83.89 kB / 0.5499 GB, free: 2.59 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001513/0.5152, allocations: 1.962 MB / 0.5518 GB, free: 476 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002185/0.5154, allocations: 12.03 kB / 0.5518 GB, free: 464 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.837e-05/0.5155, allocations: 36 kB / 0.5519 GB, free: 428 kB / 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.0001742/0.5157, allocations: 158.4 kB / 0.552 GB, free: 260 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.994e-05/0.5158, allocations: 27.72 kB / 0.552 GB, free: 232 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2041/0.7199, allocations: 442.8 kB / 0.5525 GB, free: 170.8 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.7199, allocations: 4.094 kB / 0.5525 GB, free: 170.8 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.7199, allocations: 2.312 kB / 0.5525 GB, free: 170.8 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000463/0.7204, allocations: 0.5605 MB / 0.553 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009729/0.7214, allocations: 0.7306 MB / 0.5537 GB, free: 170 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.7214, allocations: 1.375 kB / 0.5537 GB, free: 170 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003201/0.7217, allocations: 72.92 kB / 0.5538 GB, free: 170 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.025e-05/0.7218, allocations: 22.08 kB / 0.5538 GB, free: 170 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.69e-05/0.7219, allocations: 11.98 kB / 0.5538 GB, free: 170 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00063/0.7225, allocations: 1.378 MB / 0.5552 GB, free: 168.6 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.7225, allocations: 4.906 kB / 0.5552 GB, free: 168.6 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006412/0.7232, allocations: 473.5 kB / 0.5556 GB, free: 168.5 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.862e-05/0.7233, allocations: 101.7 kB / 0.5557 GB, free: 168.4 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.37e-05/0.7233, allocations: 12.91 kB / 0.5557 GB, free: 168.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002371/0.7236, allocations: 8.688 kB / 0.5558 GB, free: 168.4 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.86e-05/0.7236, allocations: 23.25 kB / 0.5558 GB, free: 168.4 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.348e-05/0.7237, allocations: 32.7 kB / 0.5558 GB, free: 168.4 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002002/0.7239, allocations: 194.2 kB / 0.556 GB, free: 168.3 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.7239, allocations: 0 / 0.556 GB, free: 168.3 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006186/0.7245, allocations: 118.8 kB / 0.5561 GB, free: 168.3 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.0003708/0.7249, allocations: 156.7 kB / 0.5563 GB, free: 168.2 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006968/0.7256, allocations: 372.6 kB / 0.5566 GB, free: 168.1 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.7256, allocations: 3.141 kB / 0.5566 GB, free: 168.1 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002593/0.7259, allocations: 229.7 kB / 0.5568 GB, free: 168 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009418/0.7268, allocations: 164.8 kB / 0.557 GB, free: 168 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/0.7279, allocations: 0.7047 MB / 0.5577 GB, free: 167.7 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001968/0.7281, allocations: 0.7663 MB / 0.5584 GB, free: 167 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003918/0.7285, allocations: 117.1 kB / 0.5585 GB, free: 166.9 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001718/0.7287, allocations: 72.12 kB / 0.5586 GB, free: 166.9 MB / 478.1 MB Notification: Performance of SimCode: time 3.91e-07/0.7287, allocations: 0 / 0.5586 GB, free: 166.9 MB / 478.1 MB Notification: Performance of Templates: time 0.01499/0.7437, allocations: 8.782 MB / 0.5672 GB, free: 165.2 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/jenkins/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/jenkins/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