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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 105.7 kB / 20.32 MB, free: 1.75 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 194.8 kB / 23.47 MB, free: 5.469 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.466/1.466, allocations: 207.6 MB / 234.1 MB, free: 11.04 MB / 190.1 MB [Timeout remaining time 88] 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=5002,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=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam") [Timeout 660] 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.001729/0.001729, allocations: 58.72 kB / 345.9 MB, free: 10.59 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2883/0.29, allocations: 49.12 MB / 395 MB, free: 9.629 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.2194/0.5095, allocations: 174.2 MB / 0.5558 GB, free: 5.273 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004477/0.5139, allocations: 3.223 MB / 0.559 GB, free: 2.035 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002184/0.5142, allocations: 7.938 kB / 0.559 GB, free: 2.027 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006842/0.5148, allocations: 178.9 kB / 0.5591 GB, free: 1.852 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009761/0.5158, allocations: 417.4 kB / 0.5595 GB, free: 1.445 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009124/0.5167, allocations: 343.3 kB / 0.5599 GB, free: 1.109 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001096/0.5178, allocations: 0.8954 MB / 0.5607 GB, free: 216 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002231/0.518, allocations: 80.67 kB / 0.5608 GB, free: 136 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3258/0.8438, allocations: 0.7951 MB / 0.5616 GB, free: 2.469 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005186/0.8443, allocations: 287.6 kB / 0.5619 GB, free: 2.469 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.942e-05/0.8444, allocations: 30.44 kB / 0.5619 GB, free: 2.469 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004277/0.8448, allocations: 124.1 kB / 0.562 GB, free: 2.469 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001625/0.845, allocations: 102.6 kB / 0.5621 GB, free: 2.469 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002789/0.8453, allocations: 181.9 kB / 0.5623 GB, free: 2.469 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008616/0.8461, allocations: 0.519 MB / 0.5628 GB, free: 2.445 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.8461, allocations: 1.094 kB / 0.5628 GB, free: 2.445 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.8461, allocations: 0.9062 kB / 0.5628 GB, free: 2.445 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.467e-06/0.8461, allocations: 1.031 kB / 0.5628 GB, free: 2.445 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.001087/0.8472, allocations: 0.595 MB / 0.5634 GB, free: 18 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.8473, allocations: 15.02 kB / 0.5634 GB, free: 18 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003002/0.8476, allocations: 43.5 kB / 0.5634 GB, free: 17.98 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005198/0.8481, allocations: 290.9 kB / 0.5637 GB, free: 17.76 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.415e-05/0.8481, allocations: 20.66 kB / 0.5637 GB, free: 17.76 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.06e-05/0.8482, allocations: 25.25 kB / 0.5638 GB, free: 17.76 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005572/0.8487, allocations: 319.8 kB / 0.5641 GB, free: 17.67 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/0.8487, allocations: 3.594 kB / 0.5641 GB, free: 17.67 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.845e-05/0.8488, allocations: 11.09 kB / 0.5641 GB, free: 17.67 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/0.8488, allocations: 6.219 kB / 0.5641 GB, free: 17.67 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003857/0.8492, allocations: 205.5 kB / 0.5643 GB, free: 17.67 MB / 494.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.002113/0.8513, allocations: 1.591 MB / 0.5658 GB, free: 16.48 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003341/0.8516, allocations: 166.6 kB / 0.566 GB, free: 16.46 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001615/0.8518, allocations: 89.23 kB / 0.5661 GB, free: 16.45 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.595e-05/0.8518, allocations: 11.64 kB / 0.5661 GB, free: 16.45 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.752e-05/0.8519, allocations: 36.89 kB / 0.5661 GB, free: 16.41 MB / 494.1 MB Notification: Performance of pre-optimization done (n=22): time 1.512e-06/0.8519, allocations: 1.844 kB / 0.5661 GB, free: 16.41 MB / 494.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.005711/0.8576, allocations: 1.611 MB / 0.5677 GB, free: 15.7 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.8e-05/0.8576, allocations: 59.61 kB / 0.5678 GB, free: 15.63 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002824/0.8579, allocations: 254 kB / 0.568 GB, free: 15.52 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.721e-05/0.8579, allocations: 32.17 kB / 0.568 GB, free: 15.49 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001313/0.8581, allocations: 180.6 kB / 0.5682 GB, free: 15.37 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.191e-05/0.8581, allocations: 106.4 kB / 0.5683 GB, free: 15.3 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001204/0.8583, allocations: 80.55 kB / 0.5684 GB, free: 15.29 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000193/0.8585, allocations: 339.7 kB / 0.5687 GB, free: 14.97 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001635/0.8586, allocations: 87.27 kB / 0.5688 GB, free: 14.97 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002051/0.8588, allocations: 192.1 kB / 0.569 GB, free: 14.86 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000393/0.8592, allocations: 297.4 kB / 0.5693 GB, free: 14.75 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.8592, allocations: 9.844 kB / 0.5693 GB, free: 14.74 MB / 494.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006955/0.8599, allocations: 403.7 kB / 0.5696 GB, free: 14.67 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.8599, allocations: 12.12 kB / 0.5697 GB, free: 14.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.8599, allocations: 3.031 kB / 0.5697 GB, free: 14.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002731/0.8602, allocations: 77.73 kB / 0.5697 GB, free: 14.65 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004129/0.8606, allocations: 83.47 kB / 0.5698 GB, free: 14.65 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002079/0.8627, allocations: 1.953 MB / 0.5717 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003716/0.8631, allocations: 13.12 kB / 0.5717 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.704e-05/0.8632, allocations: 36.25 kB / 0.5718 GB, free: 12.79 MB / 494.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.0003001/0.8635, allocations: 162.4 kB / 0.5719 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.353e-05/0.8636, allocations: 30.72 kB / 0.572 GB, free: 12.65 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001026/0.8646, allocations: 439.6 kB / 0.5724 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.275e-06/0.8646, allocations: 4.312 kB / 0.5724 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.8646, allocations: 0 / 0.5724 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007363/0.8653, allocations: 0.5645 MB / 0.5729 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001228/0.8666, allocations: 0.7293 MB / 0.5736 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.8666, allocations: 1.156 kB / 0.5736 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003393/0.8669, allocations: 71.23 kB / 0.5737 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.323e-05/0.867, allocations: 23.58 kB / 0.5737 GB, free: 11.78 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.996e-05/0.867, allocations: 15.22 kB / 0.5737 GB, free: 11.78 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00115/0.8682, allocations: 1.379 MB / 0.5751 GB, free: 10.43 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.8682, allocations: 5.375 kB / 0.5751 GB, free: 10.43 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007259/0.8689, allocations: 486.3 kB / 0.5756 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001222/0.869, allocations: 106.9 kB / 0.5757 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.107e-05/0.8691, allocations: 10.38 kB / 0.5757 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002447/0.8693, allocations: 6.594 kB / 0.5757 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.788e-05/0.8694, allocations: 26.69 kB / 0.5757 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.101e-05/0.8695, allocations: 27.33 kB / 0.5757 GB, free: 10.14 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000247/0.8697, allocations: 193.1 kB / 0.5759 GB, free: 10.06 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.8697, allocations: 0.7188 kB / 0.5759 GB, free: 10.06 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006514/0.8703, allocations: 119.8 kB / 0.576 GB, free: 10.05 MB / 494.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.0003985/0.8707, allocations: 159.3 kB / 0.5762 GB, free: 9.957 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007632/0.8715, allocations: 361.6 kB / 0.5765 GB, free: 9.848 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/0.8715, allocations: 1 kB / 0.5765 GB, free: 9.848 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002926/0.8718, allocations: 227 kB / 0.5767 GB, free: 9.734 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009516/0.8728, allocations: 166.2 kB / 0.5769 GB, free: 9.719 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001357/0.8741, allocations: 0.7307 MB / 0.5776 GB, free: 9.387 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004442/0.8746, allocations: 0.7608 MB / 0.5784 GB, free: 8.691 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002293/0.8748, allocations: 75.28 kB / 0.5784 GB, free: 8.684 MB / 494.1 MB Notification: Performance of SimCode: time 6.71e-07/0.8748, allocations: 0.9375 kB / 0.5784 GB, free: 8.684 MB / 494.1 MB Notification: Performance of Templates: time 0.01126/0.8861, allocations: 7.563 MB / 0.5858 GB, free: 8.184 MB / 494.1 MB [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] [Timeout remaining time 660] Reference file matches