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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001968/0.001968, allocations: 112.3 kB / 21.93 MB, free: 5.223 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002217/0.002217, allocations: 213.5 kB / 25.22 MB, free: 3.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.498/1.498, allocations: 207.7 MB / 236.1 MB, free: 9.816 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002468/0.002468, allocations: 59.92 kB / 348.5 MB, free: 9.348 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2895/0.292, allocations: 49.16 MB / 397.6 MB, free: 9.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.204/0.496, allocations: 150.2 MB / 0.535 GB, free: 12.48 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004458/0.5005, allocations: 2.951 MB / 0.5379 GB, free: 9.523 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002257/0.5007, allocations: 7.938 kB / 0.5379 GB, free: 9.516 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006308/0.5013, allocations: 167 kB / 0.538 GB, free: 9.352 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009718/0.5023, allocations: 417.5 kB / 0.5384 GB, free: 8.945 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009395/0.5032, allocations: 351.2 kB / 0.5388 GB, free: 8.602 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001032/0.5043, allocations: 0.9032 MB / 0.5397 GB, free: 7.695 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001904/0.5045, allocations: 76.86 kB / 0.5397 GB, free: 7.617 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002036/0.5065, allocations: 0.8084 MB / 0.5405 GB, free: 6.809 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004038/0.5069, allocations: 274.8 kB / 0.5408 GB, free: 6.539 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.935e-05/0.507, allocations: 36 kB / 0.5408 GB, free: 6.504 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003477/0.5073, allocations: 115.9 kB / 0.5409 GB, free: 6.391 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001368/0.5074, allocations: 95.72 kB / 0.541 GB, free: 6.297 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001939/0.5076, allocations: 167.4 kB / 0.5412 GB, free: 6.133 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006443/0.5083, allocations: 0.5136 MB / 0.5417 GB, free: 5.621 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.5083, allocations: 0 / 0.5417 GB, free: 5.621 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.5083, allocations: 0 / 0.5417 GB, free: 5.621 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.879e-06/0.5083, allocations: 4 kB / 0.5417 GB, free: 5.617 MB / 462.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.0008849/0.5092, allocations: 0.5168 MB / 0.5422 GB, free: 5.07 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.5092, allocations: 15.98 kB / 0.5422 GB, free: 5.055 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003141/0.5095, allocations: 47.8 kB / 0.5422 GB, free: 5.008 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004899/0.51, allocations: 216.8 kB / 0.5425 GB, free: 4.77 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.797e-05/0.5101, allocations: 20.5 kB / 0.5425 GB, free: 4.746 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.456e-05/0.5101, allocations: 31.92 kB / 0.5425 GB, free: 4.715 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006524/0.5108, allocations: 0.5412 MB / 0.543 GB, free: 4.094 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/0.5108, allocations: 11.88 kB / 0.543 GB, free: 4.082 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.514e-05/0.5108, allocations: 12 kB / 0.5431 GB, free: 4.07 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.5108, allocations: 8 kB / 0.5431 GB, free: 4.062 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003364/0.5112, allocations: 201.6 kB / 0.5433 GB, free: 3.867 MB / 462.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.001696/0.5129, allocations: 1.144 MB / 0.5444 GB, free: 2.668 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003176/0.5132, allocations: 162.8 kB / 0.5445 GB, free: 2.5 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001482/0.5133, allocations: 85.2 kB / 0.5446 GB, free: 2.414 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.134e-05/0.5134, allocations: 11.88 kB / 0.5446 GB, free: 2.402 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.258e-05/0.5134, allocations: 46.44 kB / 0.5447 GB, free: 2.348 MB / 462.1 MB Notification: Performance of pre-optimization done (n=22): time 2.214e-06/0.5134, allocations: 0 / 0.5447 GB, free: 2.348 MB / 462.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.005466/0.5189, allocations: 1.31 MB / 0.5459 GB, free: 0.9766 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/0.5189, allocations: 59.41 kB / 0.546 GB, free: 0.9062 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002594/0.5192, allocations: 220 kB / 0.5462 GB, free: 0.6836 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.767e-05/0.5192, allocations: 33.7 kB / 0.5462 GB, free: 0.6445 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000139/0.5194, allocations: 184.4 kB / 0.5464 GB, free: 472 kB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.892e-05/0.5194, allocations: 103.2 kB / 0.5465 GB, free: 368 kB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001254/0.5196, allocations: 85.64 kB / 0.5466 GB, free: 276 kB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.5197, allocations: 330.8 kB / 0.5469 GB, free: 15.94 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001677/0.5199, allocations: 91.97 kB / 0.547 GB, free: 15.85 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002399/0.5201, allocations: 191.8 kB / 0.5472 GB, free: 15.62 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004361/0.5206, allocations: 307.8 kB / 0.5475 GB, free: 15.27 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/0.5206, allocations: 8 kB / 0.5475 GB, free: 15.27 MB / 478.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006664/0.5212, allocations: 402.8 kB / 0.5479 GB, free: 14.86 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.5213, allocations: 4 kB / 0.5479 GB, free: 14.86 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.5213, allocations: 4 kB / 0.5479 GB, free: 14.85 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002242/0.5215, allocations: 78.03 kB / 0.5479 GB, free: 14.77 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003412/0.5218, allocations: 83.89 kB / 0.548 GB, free: 14.69 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001568/0.5234, allocations: 1.824 MB / 0.5498 GB, free: 12.73 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002698/0.5237, allocations: 11.94 kB / 0.5498 GB, free: 12.72 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.913e-05/0.5238, allocations: 40 kB / 0.5499 GB, free: 12.68 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.000261/0.524, allocations: 162 kB / 0.55 GB, free: 12.51 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.5241, allocations: 31.75 kB / 0.55 GB, free: 12.48 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001252/0.5254, allocations: 431.5 kB / 0.5505 GB, free: 12.04 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.5254, allocations: 4 kB / 0.5505 GB, free: 12.04 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.5254, allocations: 0 / 0.5505 GB, free: 12.04 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007235/0.5261, allocations: 0.563 MB / 0.551 GB, free: 11.39 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001567/0.5277, allocations: 0.6257 MB / 0.5516 GB, free: 10.71 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/0.5277, allocations: 3.938 kB / 0.5516 GB, free: 10.71 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005313/0.5282, allocations: 71.89 kB / 0.5517 GB, free: 10.64 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001282/0.5283, allocations: 24.91 kB / 0.5517 GB, free: 10.61 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.422e-05/0.5284, allocations: 15.98 kB / 0.5517 GB, free: 10.6 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001309/0.5297, allocations: 1.252 MB / 0.553 GB, free: 9.242 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.5297, allocations: 0 / 0.553 GB, free: 9.242 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009967/0.5307, allocations: 479.6 kB / 0.5534 GB, free: 8.75 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.793e-05/0.5308, allocations: 23.95 kB / 0.5534 GB, free: 8.727 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/0.5309, allocations: 4 kB / 0.5534 GB, free: 8.723 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003325/0.5312, allocations: 11.98 kB / 0.5534 GB, free: 8.711 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.045e-05/0.5313, allocations: 31.83 kB / 0.5535 GB, free: 8.68 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.461e-05/0.5314, allocations: 35.98 kB / 0.5535 GB, free: 8.645 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000257/0.5316, allocations: 168.5 kB / 0.5537 GB, free: 8.48 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5316, allocations: 0 / 0.5537 GB, free: 8.48 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0008519/0.5325, allocations: 131.9 kB / 0.5538 GB, free: 8.352 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.000488/0.533, allocations: 139.1 kB / 0.5539 GB, free: 8.207 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0009035/0.5339, allocations: 371.4 kB / 0.5543 GB, free: 7.832 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.5339, allocations: 0 / 0.5543 GB, free: 7.832 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003701/0.5342, allocations: 218.5 kB / 0.5545 GB, free: 7.605 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001247/0.5355, allocations: 128.3 kB / 0.5546 GB, free: 7.48 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001816/0.5373, allocations: 0.7421 MB / 0.5553 GB, free: 6.699 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002283/0.5375, allocations: 159.1 kB / 0.5555 GB, free: 6.52 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003306/0.5379, allocations: 75.41 kB / 0.5556 GB, free: 6.445 MB / 478.1 MB Notification: Performance of SimCode: time 1.082e-06/0.5379, allocations: 0 / 0.5556 GB, free: 6.445 MB / 478.1 MB Notification: Performance of Templates: time 0.1925/0.7303, allocations: 7.351 MB / 0.5627 GB, free: 164.7 MB / 478.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 [Calling sys.exit(0), Time elapsed: 8.708314502146095]