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.0006749/0.0006749, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.003125/0.003125, allocations: 164.6 kB / 24.69 MB, free: 9.43 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 0.7924/0.7924, allocations: 158.6 MB / 186.5 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 298.5 MB, free: 3.457 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.144e-05/1.299e-05, allocations: 2.281 kB / 298.5 MB, free: 3.453 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.2321/0.2321, allocations: 150.2 MB / 448.7 MB, free: 8.16 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002429/0.2345, allocations: 2.939 MB / 451.6 MB, free: 5.207 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000155/0.2347, allocations: 7.938 kB / 451.6 MB, free: 5.199 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004832/0.2351, allocations: 166.8 kB / 451.8 MB, free: 5.035 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000582/0.2357, allocations: 426.6 kB / 452.2 MB, free: 4.617 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009519/0.2367, allocations: 360.1 kB / 452.5 MB, free: 4.266 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006399/0.2373, allocations: 0.895 MB / 453.4 MB, free: 3.367 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001585/0.2375, allocations: 72.83 kB / 453.5 MB, free: 3.301 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001147/0.2386, allocations: 0.9383 MB / 454.4 MB, free: 2.359 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002305/0.2388, allocations: 251.2 kB / 454.7 MB, free: 2.113 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.767e-05/0.2389, allocations: 32 kB / 454.7 MB, free: 2.082 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001973/0.2391, allocations: 123.8 kB / 454.8 MB, free: 1.961 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.397e-05/0.2392, allocations: 99.64 kB / 454.9 MB, free: 1.863 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001017/0.2393, allocations: 139.8 kB / 455.1 MB, free: 1.727 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004169/0.2397, allocations: 0.5453 MB / 455.6 MB, free: 1.18 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.2397, allocations: 0 / 455.6 MB, free: 1.18 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2397, allocations: 4 kB / 455.6 MB, free: 1.176 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.2397, allocations: 0 / 455.6 MB, free: 1.176 MB / 410.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.0005854/0.2403, allocations: 0.5187 MB / 456.1 MB, free: 0.6289 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.2403, allocations: 15.98 kB / 456.1 MB, free: 0.6133 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.045e-05/0.2404, allocations: 58.55 kB / 456.2 MB, free: 0.5469 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001643/0.2405, allocations: 47.8 kB / 456.3 MB, free: 0.5 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003324/0.2409, allocations: 229.2 kB / 456.5 MB, free: 256 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.2409, allocations: 16.5 kB / 456.5 MB, free: 240 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.27e-05/0.2409, allocations: 31.92 kB / 456.5 MB, free: 208 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1213/0.3622, allocations: 0.5304 MB / 457.1 MB, free: 142.9 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.3622, allocations: 2.562 kB / 457.1 MB, free: 142.9 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.773e-05/0.3623, allocations: 12.22 kB / 457.1 MB, free: 142.9 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.3623, allocations: 8.188 kB / 457.1 MB, free: 142.9 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000268/0.3625, allocations: 203.7 kB / 457.3 MB, free: 142.9 MB / 410.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.00108/0.3636, allocations: 1.19 MB / 458.5 MB, free: 142.1 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002115/0.3638, allocations: 168.4 kB / 458.6 MB, free: 142 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.378e-05/0.3639, allocations: 89.12 kB / 458.7 MB, free: 141.9 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.755e-05/0.364, allocations: 4.391 kB / 458.7 MB, free: 141.9 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.689e-05/0.364, allocations: 40.23 kB / 458.8 MB, free: 141.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 1.342e-06/0.364, allocations: 1.469 kB / 458.8 MB, free: 141.9 MB / 410.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.002889/0.3669, allocations: 1.315 MB / 460.1 MB, free: 141.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.223e-05/0.3669, allocations: 58.48 kB / 460.1 MB, free: 141.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001751/0.3671, allocations: 257.8 kB / 460.4 MB, free: 141.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.3671, allocations: 31.95 kB / 460.4 MB, free: 141.1 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.013e-05/0.3671, allocations: 182.3 kB / 460.6 MB, free: 140.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.932e-05/0.3672, allocations: 98.56 kB / 460.7 MB, free: 140.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.972e-05/0.3673, allocations: 84.66 kB / 460.8 MB, free: 140.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.934e-05/0.3673, allocations: 336.6 kB / 461.1 MB, free: 140.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000102/0.3674, allocations: 90.8 kB / 461.2 MB, free: 140.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001406/0.3675, allocations: 189.6 kB / 461.4 MB, free: 140.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002507/0.3678, allocations: 303.1 kB / 461.7 MB, free: 140.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3678, allocations: 4.75 kB / 461.7 MB, free: 140.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004104/0.3682, allocations: 397.8 kB / 462.1 MB, free: 139.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.3682, allocations: 10.48 kB / 462.1 MB, free: 139.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.3682, allocations: 6.469 kB / 462.1 MB, free: 139.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001538/0.3684, allocations: 70.58 kB / 462.2 MB, free: 139.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002035/0.3686, allocations: 84.75 kB / 462.2 MB, free: 139.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006586/0.3692, allocations: 1.851 MB / 464.1 MB, free: 138 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/0.3693, allocations: 12.16 kB / 464.1 MB, free: 138 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.955e-05/0.3694, allocations: 40.44 kB / 464.1 MB, free: 138 MB / 410.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 9.403e-05/0.3695, allocations: 151.8 kB / 464.3 MB, free: 137.9 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.663e-05/0.3695, allocations: 31.75 kB / 464.3 MB, free: 137.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005229/0.37, allocations: 440.8 kB / 464.7 MB, free: 137.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.37, allocations: 10.66 kB / 464.8 MB, free: 137.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.37, allocations: 1.797 kB / 464.8 MB, free: 137.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002677/0.3703, allocations: 0.5617 MB / 465.3 MB, free: 137.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006007/0.3709, allocations: 0.664 MB / 466 MB, free: 136.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.3709, allocations: 1.25 kB / 466 MB, free: 136.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001738/0.3711, allocations: 75.38 kB / 466.1 MB, free: 136.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.884e-05/0.3711, allocations: 17.52 kB / 466.1 MB, free: 136.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.922e-05/0.3712, allocations: 19.39 kB / 466.1 MB, free: 136.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000344/0.3715, allocations: 1.276 MB / 467.4 MB, free: 135.4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3715, allocations: 1.812 kB / 467.4 MB, free: 135.4 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004085/0.3719, allocations: 474.4 kB / 467.8 MB, free: 135.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.754e-05/0.3719, allocations: 24.39 kB / 467.9 MB, free: 135.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.612e-05/0.372, allocations: 7.641 kB / 467.9 MB, free: 135.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.3721, allocations: 9.812 kB / 467.9 MB, free: 135.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.767e-05/0.3721, allocations: 34.7 kB / 467.9 MB, free: 135.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.141e-05/0.3722, allocations: 31.45 kB / 467.9 MB, free: 135.1 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001082/0.3723, allocations: 189.9 kB / 468.1 MB, free: 135 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3723, allocations: 0 / 468.1 MB, free: 135 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003224/0.3726, allocations: 127 kB / 468.2 MB, free: 135 MB / 410.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 (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.0006682/0.3732, allocations: 1.061 MB / 469.3 MB, free: 134.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004129/0.3737, allocations: 360.2 kB / 469.7 MB, free: 134 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3737, allocations: 1.875 kB / 469.7 MB, free: 134 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001811/0.3738, allocations: 228.6 kB / 469.9 MB, free: 133.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005463/0.3744, allocations: 163.6 kB / 470 MB, free: 133.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00234/0.3767, allocations: 3.128 MB / 473.2 MB, free: 131.6 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001039/0.3768, allocations: 155.5 kB / 473.3 MB, free: 131.5 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002582/0.3771, allocations: 120.4 kB / 473.4 MB, free: 131.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001558/0.3773, allocations: 135.5 kB / 473.6 MB, free: 131.4 MB / 410.7 MB Notification: Performance of SimCode: time 5.01e-07/0.3773, allocations: 0 / 473.6 MB, free: 131.4 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02672/0.404, allocations: 12.96 MB / 486.5 MB, free: 124.9 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.906/8.31, allocations: 3.938 kB / 486.5 MB, free: 124.9 MB / 410.7 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_IdealSteam_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_IdealSteam.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe 2>&1) [Timeout 52.5] 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: 9.809858470223844]