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.002714/0.002714, allocations: 99.53 kB / 21.73 MB, free: 2.691 MB / 18.57 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.00288/0.00288, allocations: 164.5 kB / 25.03 MB, free: 8.41 MB / 18.57 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.614/1.614, allocations: 158.6 MB / 186.8 MB, free: 2.922 MB / 170.7 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: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 250.4 MB, free: 7.797 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.625e-05/2.78e-05, allocations: 2.312 kB / 250.4 MB, free: 7.793 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.4112/0.4112, allocations: 166.9 MB / 417.4 MB, free: 6.754 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.005322/0.4165, allocations: 3.264 MB / 420.6 MB, free: 6.09 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002435/0.4168, allocations: 6.875 kB / 420.6 MB, free: 6.086 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008438/0.4176, allocations: 175.8 kB / 420.8 MB, free: 5.973 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001047/0.4187, allocations: 415.7 kB / 421.2 MB, free: 5.754 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009865/0.4196, allocations: 362 kB / 421.6 MB, free: 5.559 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008881/0.4205, allocations: 0.9019 MB / 422.5 MB, free: 5.078 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002108/0.4207, allocations: 72.47 kB / 422.5 MB, free: 5.043 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002238/0.423, allocations: 0.9363 MB / 423.5 MB, free: 4.523 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004459/0.4234, allocations: 262.5 kB / 423.7 MB, free: 4.422 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.856e-05/0.4235, allocations: 28.66 kB / 423.8 MB, free: 4.422 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003422/0.4238, allocations: 123.8 kB / 423.9 MB, free: 4.379 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000137/0.424, allocations: 101.1 kB / 424 MB, free: 4.309 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002053/0.4242, allocations: 143.4 kB / 424.1 MB, free: 4.254 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007402/0.4249, allocations: 0.5378 MB / 424.7 MB, free: 3.91 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.4249, allocations: 0 / 424.7 MB, free: 3.91 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4249, allocations: 0 / 424.7 MB, free: 3.91 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.817e-06/0.4249, allocations: 0 / 424.7 MB, free: 3.91 MB / 330.7 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.00101/0.426, allocations: 0.6475 MB / 425.3 MB, free: 3.352 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.426, allocations: 15.02 kB / 425.3 MB, free: 3.348 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004031/0.4264, allocations: 80.92 kB / 425.4 MB, free: 3.305 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004234/0.4268, allocations: 234.6 kB / 425.6 MB, free: 3.094 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.473e-05/0.4269, allocations: 19.94 kB / 425.7 MB, free: 3.086 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.268e-05/0.4269, allocations: 25.31 kB / 425.7 MB, free: 3.078 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005956/0.4275, allocations: 0.5579 MB / 426.2 MB, free: 2.551 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.333e-05/0.4275, allocations: 7.938 kB / 426.2 MB, free: 2.543 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.31e-05/0.4276, allocations: 15.44 kB / 426.3 MB, free: 2.531 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.517e-05/0.4276, allocations: 8.188 kB / 426.3 MB, free: 2.531 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003516/0.428, allocations: 199.3 kB / 426.5 MB, free: 2.441 MB / 330.7 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.001765/0.4297, allocations: 1.537 MB / 428 MB, free: 1.082 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003336/0.4301, allocations: 171.7 kB / 428.2 MB, free: 0.9883 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001548/0.4302, allocations: 92.09 kB / 428.3 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.902e-05/0.4303, allocations: 5.781 kB / 428.3 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.4303, allocations: 40.58 kB / 428.3 MB, free: 0.8945 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 2.234e-06/0.4303, allocations: 3.984 kB / 428.3 MB, free: 0.8906 MB / 330.7 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.005479/0.4358, allocations: 1.238 MB / 429.5 MB, free: 152 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.4358, allocations: 54.31 kB / 429.6 MB, free: 88 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004003/0.4362, allocations: 309 kB / 429.9 MB, free: 15.84 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.363e-05/0.4362, allocations: 32.17 kB / 429.9 MB, free: 15.8 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002348/0.4365, allocations: 239.6 kB / 430.2 MB, free: 15.58 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001379/0.4366, allocations: 103.9 kB / 430.3 MB, free: 15.5 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001827/0.4368, allocations: 99.14 kB / 430.4 MB, free: 15.43 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000389/0.4372, allocations: 0.5154 MB / 430.9 MB, free: 14.91 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001813/0.4374, allocations: 80.5 kB / 431 MB, free: 14.88 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003634/0.4377, allocations: 230.6 kB / 431.2 MB, free: 14.67 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005555/0.4383, allocations: 342.3 kB / 431.5 MB, free: 14.39 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.4383, allocations: 0 / 431.5 MB, free: 14.39 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008922/0.4392, allocations: 406.1 kB / 431.9 MB, free: 14.18 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.299e-05/0.4392, allocations: 5.562 kB / 431.9 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.597e-05/0.4392, allocations: 2.562 kB / 431.9 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003244/0.4396, allocations: 74 kB / 432 MB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003907/0.44, allocations: 78.55 kB / 432.1 MB, free: 14.12 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00297/0.4429, allocations: 2.615 MB / 434.7 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002867/0.4432, allocations: 14.69 kB / 434.7 MB, free: 11.47 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.657e-05/0.4433, allocations: 32.02 kB / 434.7 MB, free: 11.46 MB / 346.7 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.0003692/0.4436, allocations: 195 kB / 434.9 MB, free: 11.28 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/0.4438, allocations: 37.45 kB / 435 MB, free: 11.26 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001087/0.4449, allocations: 424.8 kB / 435.4 MB, free: 10.99 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.4449, allocations: 2.344 kB / 435.4 MB, free: 10.99 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.4449, allocations: 0 / 435.4 MB, free: 10.99 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007888/0.4457, allocations: 0.5498 MB / 435.9 MB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001772/0.4474, allocations: 0.7054 MB / 436.6 MB, free: 9.922 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.4474, allocations: 0 / 436.6 MB, free: 9.922 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003384/0.4478, allocations: 68.52 kB / 436.7 MB, free: 9.902 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001901/0.448, allocations: 19.92 kB / 436.7 MB, free: 9.887 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.361e-05/0.448, allocations: 17.55 kB / 436.7 MB, free: 9.875 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002121/0.4501, allocations: 1.784 MB / 438.5 MB, free: 8.055 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.4501, allocations: 0 / 438.5 MB, free: 8.055 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00103/0.4512, allocations: 0.515 MB / 439 MB, free: 7.691 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.615e-05/0.4512, allocations: 20.3 kB / 439 MB, free: 7.68 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.543e-05/0.4513, allocations: 4 kB / 439.1 MB, free: 7.676 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002548/0.4516, allocations: 13.92 kB / 439.1 MB, free: 7.668 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.781e-05/0.4517, allocations: 20.53 kB / 439.1 MB, free: 7.656 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.374e-05/0.4517, allocations: 25.23 kB / 439.1 MB, free: 7.648 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002922/0.452, allocations: 217.6 kB / 439.3 MB, free: 7.48 MB / 346.7 MB Notification: Performance of sort global known variables: time 9e-08/0.452, allocations: 0 / 439.3 MB, free: 7.48 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007944/0.4528, allocations: 128.4 kB / 439.4 MB, free: 7.461 MB / 346.7 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 (25): * Single equations (assignments): 24 * 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.0005803/0.4534, allocations: 151.1 kB / 439.6 MB, free: 7.344 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001118/0.4545, allocations: 428.8 kB / 440 MB, free: 6.965 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.4545, allocations: 0 / 440 MB, free: 6.965 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004652/0.455, allocations: 303.1 kB / 440.3 MB, free: 6.648 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/0.456, allocations: 144 kB / 440.5 MB, free: 6.512 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0018/0.4578, allocations: 0.6274 MB / 441.1 MB, free: 5.848 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002482/0.4581, allocations: 155.2 kB / 441.2 MB, free: 5.676 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004613/0.4585, allocations: 90.92 kB / 441.3 MB, free: 5.586 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001695/0.4587, allocations: 56.41 kB / 441.4 MB, free: 5.531 MB / 346.7 MB Notification: Performance of SimCode: time 1.953e-06/0.4587, allocations: 0 / 441.4 MB, free: 5.531 MB / 346.7 MB Notification: Performance of Templates: time 0.01846/0.4772, allocations: 7.756 MB / 449.1 MB, free: 13.82 MB / 362.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe 2>&1) [Timeout 240] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.591290067997761]