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.00122/0.00122, allocations: 113.3 kB / 18.4 MB, free: 4.699 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.001236/0.001236, allocations: 189.2 kB / 19.33 MB, free: 3.781 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.472/1.472, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001417/0.001417, allocations: 47.92 kB / 329.2 MB, free: 3.254 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09944/0.1009, allocations: 46.61 MB / 375.9 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.4102/0.5112, allocations: 173.6 MB / 0.5366 GB, free: 1.453 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00389/0.5151, allocations: 3.207 MB / 0.5397 GB, free: 14.23 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002828/0.5154, allocations: 7.938 kB / 0.5397 GB, free: 14.22 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006359/0.5161, allocations: 175 kB / 0.5399 GB, free: 14.05 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009717/0.5171, allocations: 407.2 kB / 0.5403 GB, free: 13.65 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008705/0.518, allocations: 343.2 kB / 0.5406 GB, free: 13.32 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009736/0.519, allocations: 0.8915 MB / 0.5415 GB, free: 12.43 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002009/0.5192, allocations: 108.7 kB / 0.5416 GB, free: 12.32 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001775/0.5209, allocations: 0.7859 MB / 0.5424 GB, free: 11.54 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003369/0.5213, allocations: 278.9 kB / 0.5426 GB, free: 11.26 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.796e-05/0.5214, allocations: 28 kB / 0.5427 GB, free: 11.23 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002999/0.5217, allocations: 131.8 kB / 0.5428 GB, free: 11.11 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 9.7e-05/0.5218, allocations: 91.72 kB / 0.5429 GB, free: 11.02 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001759/0.522, allocations: 187.2 kB / 0.5431 GB, free: 10.83 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000524/0.5225, allocations: 0.5169 MB / 0.5436 GB, free: 10.32 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.5225, allocations: 4 kB / 0.5436 GB, free: 10.31 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.5225, allocations: 0 / 0.5436 GB, free: 10.31 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.5225, allocations: 0 / 0.5436 GB, free: 10.31 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.0008118/0.5233, allocations: 0.5813 MB / 0.5441 GB, free: 9.68 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.5234, allocations: 15.88 kB / 0.5441 GB, free: 9.664 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002784/0.5237, allocations: 47.56 kB / 0.5442 GB, free: 9.617 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000445/0.5241, allocations: 294.4 kB / 0.5445 GB, free: 9.289 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/0.5242, allocations: 16.56 kB / 0.5445 GB, free: 9.273 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.54e-05/0.5242, allocations: 24 kB / 0.5445 GB, free: 9.25 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004964/0.5247, allocations: 327.7 kB / 0.5448 GB, free: 8.906 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.5247, allocations: 0 / 0.5448 GB, free: 8.906 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.073e-05/0.5248, allocations: 19.92 kB / 0.5448 GB, free: 8.887 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.5248, allocations: 8 kB / 0.5449 GB, free: 8.879 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003141/0.5251, allocations: 201.5 kB / 0.545 GB, free: 8.684 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.001759/0.5269, allocations: 1.586 MB / 0.5466 GB, free: 6.949 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002928/0.5272, allocations: 178.7 kB / 0.5468 GB, free: 6.766 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001444/0.5273, allocations: 101.1 kB / 0.5469 GB, free: 6.664 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.326e-05/0.5274, allocations: 11.98 kB / 0.5469 GB, free: 6.652 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.5274, allocations: 34.56 kB / 0.5469 GB, free: 6.609 MB / 478.1 MB Notification: Performance of pre-optimization done (n=22): time 1.533e-06/0.5274, allocations: 0 / 0.5469 GB, free: 6.609 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.00558/0.533, allocations: 1.618 MB / 0.5485 GB, free: 4.859 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.611e-05/0.5331, allocations: 51.41 kB / 0.5485 GB, free: 4.797 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002545/0.5333, allocations: 256.9 kB / 0.5488 GB, free: 4.539 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.512e-05/0.5334, allocations: 29.7 kB / 0.5488 GB, free: 4.504 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/0.5335, allocations: 184.2 kB / 0.549 GB, free: 4.316 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.965e-05/0.5336, allocations: 90.64 kB / 0.5491 GB, free: 4.227 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.5337, allocations: 81.69 kB / 0.5491 GB, free: 4.141 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.5338, allocations: 338.8 kB / 0.5495 GB, free: 3.801 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001626/0.534, allocations: 87.97 kB / 0.5496 GB, free: 3.715 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002144/0.5342, allocations: 187.8 kB / 0.5497 GB, free: 3.488 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004103/0.5347, allocations: 301.2 kB / 0.55 GB, free: 3.152 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.982e-06/0.5347, allocations: 7.922 kB / 0.55 GB, free: 3.145 MB / 478.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006305/0.5353, allocations: 403 kB / 0.5504 GB, free: 2.738 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.5353, allocations: 8.031 kB / 0.5504 GB, free: 2.73 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.5353, allocations: 4 kB / 0.5504 GB, free: 2.727 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002211/0.5356, allocations: 73.69 kB / 0.5505 GB, free: 2.648 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000344/0.5359, allocations: 83.83 kB / 0.5506 GB, free: 2.566 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001442/0.5374, allocations: 1.953 MB / 0.5525 GB, free: 464 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001991/0.5376, allocations: 12.19 kB / 0.5525 GB, free: 452 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.856e-05/0.5377, allocations: 40 kB / 0.5525 GB, free: 412 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.0001821/0.5378, allocations: 158.4 kB / 0.5527 GB, free: 244 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.395e-05/0.5379, allocations: 31.72 kB / 0.5527 GB, free: 212 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2205/0.7585, allocations: 438.8 kB / 0.5531 GB, free: 170.7 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.938e-06/0.7585, allocations: 3.406 kB / 0.5531 GB, free: 170.7 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.7585, allocations: 0 / 0.5531 GB, free: 170.7 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005169/0.759, allocations: 0.5638 MB / 0.5537 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001128/0.7602, allocations: 0.7288 MB / 0.5544 GB, free: 170 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.7602, allocations: 1.375 kB / 0.5544 GB, free: 170 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003176/0.7605, allocations: 73.8 kB / 0.5545 GB, free: 170 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001004/0.7606, allocations: 22.42 kB / 0.5545 GB, free: 170 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.739e-05/0.7607, allocations: 12.2 kB / 0.5545 GB, free: 170 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006685/0.7613, allocations: 1.379 MB / 0.5558 GB, free: 168.6 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.7614, allocations: 1.375 kB / 0.5558 GB, free: 168.6 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006851/0.762, allocations: 475.3 kB / 0.5563 GB, free: 168.5 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.688e-05/0.7621, allocations: 105.7 kB / 0.5564 GB, free: 168.4 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.155e-05/0.7622, allocations: 11.72 kB / 0.5564 GB, free: 168.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000229/0.7624, allocations: 8.484 kB / 0.5564 GB, free: 168.4 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.533e-05/0.7625, allocations: 24.47 kB / 0.5564 GB, free: 168.4 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.617e-05/0.7626, allocations: 31.83 kB / 0.5565 GB, free: 168.4 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002158/0.7628, allocations: 187.8 kB / 0.5567 GB, free: 168.3 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7628, allocations: 3.969 kB / 0.5567 GB, free: 168.3 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006223/0.7634, allocations: 126 kB / 0.5568 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.0003713/0.7638, allocations: 148.9 kB / 0.5569 GB, free: 168.2 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006847/0.7645, allocations: 377.6 kB / 0.5573 GB, free: 168.1 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.7645, allocations: 0 / 0.5573 GB, free: 168.1 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002787/0.7648, allocations: 235.8 kB / 0.5575 GB, free: 168 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009607/0.7658, allocations: 166.5 kB / 0.5577 GB, free: 168 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001152/0.7669, allocations: 0.7272 MB / 0.5584 GB, free: 167.6 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002286/0.7672, allocations: 0.7662 MB / 0.5591 GB, free: 166.9 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002202/0.7674, allocations: 82.5 kB / 0.5592 GB, free: 166.9 MB / 478.1 MB Notification: Performance of SimCode: time 2.41e-07/0.7674, allocations: 0 / 0.5592 GB, free: 166.9 MB / 478.1 MB Notification: Performance of Templates: time 0.01282/0.7802, allocations: 7.522 MB / 0.5665 GB, free: 165.7 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