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.001326/0.001326, allocations: 87.67 kB / 21.43 MB, free: 3.117 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.008032/0.008032, allocations: 155.3 kB / 24.69 MB, free: 9.426 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.8608/0.8608, allocations: 158.6 MB / 186.5 MB, free: 3.055 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 2.294e-06/2.294e-06, allocations: 0 / 298.5 MB, free: 3.469 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.303e-05/2.533e-05, allocations: 2.281 kB / 298.5 MB, free: 3.465 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.2486/0.2486, allocations: 150.2 MB / 448.6 MB, free: 8.184 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002624/0.2512, allocations: 2.932 MB / 451.6 MB, free: 5.238 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001897/0.2514, allocations: 4 kB / 451.6 MB, free: 5.234 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005125/0.2519, allocations: 178.8 kB / 451.8 MB, free: 5.059 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007357/0.2526, allocations: 423.2 kB / 452.2 MB, free: 4.645 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007327/0.2534, allocations: 358.5 kB / 452.5 MB, free: 4.297 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000972/0.2543, allocations: 0.9105 MB / 453.4 MB, free: 3.383 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002073/0.2546, allocations: 64.89 kB / 453.5 MB, free: 3.324 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002066/0.2566, allocations: 0.9344 MB / 454.4 MB, free: 2.387 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003106/0.2569, allocations: 247.2 kB / 454.7 MB, free: 2.145 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.291e-05/0.257, allocations: 32 kB / 454.7 MB, free: 2.113 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002504/0.2572, allocations: 119.8 kB / 454.8 MB, free: 1.996 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.728e-05/0.2573, allocations: 103.7 kB / 454.9 MB, free: 1.895 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001256/0.2574, allocations: 143.7 kB / 455.1 MB, free: 1.754 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005491/0.258, allocations: 0.5453 MB / 455.6 MB, free: 1.207 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.258, allocations: 4 kB / 455.6 MB, free: 1.203 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.258, allocations: 0 / 455.6 MB, free: 1.203 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.323e-06/0.258, allocations: 0 / 455.6 MB, free: 1.203 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.0006813/0.2587, allocations: 0.5128 MB / 456.1 MB, free: 0.6602 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.2587, allocations: 15.98 kB / 456.1 MB, free: 0.6445 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.753e-05/0.2588, allocations: 62.53 kB / 456.2 MB, free: 0.5742 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001776/0.259, allocations: 43.8 kB / 456.2 MB, free: 0.5312 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003686/0.2593, allocations: 237.2 kB / 456.5 MB, free: 280 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.2594, allocations: 16.5 kB / 456.5 MB, free: 264 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.461e-05/0.2594, allocations: 24 kB / 456.5 MB, free: 240 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1194/0.3787, allocations: 0.5364 MB / 457 MB, free: 142.9 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.511e-05/0.3788, allocations: 1.938 kB / 457 MB, free: 142.9 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.816e-05/0.3788, allocations: 10.06 kB / 457.1 MB, free: 142.9 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.3788, allocations: 9.5 kB / 457.1 MB, free: 142.9 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002723/0.3791, allocations: 201.4 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.001268/0.3804, allocations: 1.192 MB / 458.5 MB, free: 142 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002546/0.3806, allocations: 162.3 kB / 458.6 MB, free: 142 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001065/0.3807, allocations: 89.3 kB / 458.7 MB, free: 141.9 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.715e-05/0.3808, allocations: 6.516 kB / 458.7 MB, free: 141.9 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.3808, allocations: 33.19 kB / 458.7 MB, free: 141.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 3.376e-06/0.3808, allocations: 3.25 kB / 458.7 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.003284/0.3841, allocations: 1.329 MB / 460.1 MB, free: 141.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.62e-05/0.3841, allocations: 57.67 kB / 460.1 MB, free: 141.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002206/0.3843, allocations: 259 kB / 460.4 MB, free: 141.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.3843, allocations: 32.3 kB / 460.4 MB, free: 141 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.616e-05/0.3844, allocations: 176.5 kB / 460.6 MB, free: 140.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.13e-05/0.3845, allocations: 101.8 kB / 460.7 MB, free: 140.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.638e-05/0.3846, allocations: 80.34 kB / 460.8 MB, free: 140.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.824e-05/0.3846, allocations: 341.7 kB / 461.1 MB, free: 140.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001221/0.3847, allocations: 89.67 kB / 461.2 MB, free: 140.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001574/0.3849, allocations: 194.8 kB / 461.4 MB, free: 140.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003048/0.3852, allocations: 301.4 kB / 461.7 MB, free: 140.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.3852, allocations: 1.062 kB / 461.7 MB, free: 140.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005381/0.3857, allocations: 399.2 kB / 462.1 MB, free: 139.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.591e-05/0.3858, allocations: 7.344 kB / 462.1 MB, free: 139.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.3858, allocations: 2.969 kB / 462.1 MB, free: 139.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002067/0.386, allocations: 73.77 kB / 462.1 MB, free: 139.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002338/0.3862, allocations: 85.47 kB / 462.2 MB, free: 139.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008456/0.3871, allocations: 1.848 MB / 464.1 MB, free: 138 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001572/0.3872, allocations: 13.34 kB / 464.1 MB, free: 138 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-05/0.3873, allocations: 40.12 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 0.0001389/0.3874, allocations: 158.5 kB / 464.3 MB, free: 137.9 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.298e-05/0.3875, allocations: 30.47 kB / 464.3 MB, free: 137.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005534/0.388, allocations: 442.4 kB / 464.7 MB, free: 137.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.388, allocations: 6.656 kB / 464.7 MB, free: 137.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.388, allocations: 3.625 kB / 464.8 MB, free: 137.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002961/0.3883, allocations: 0.5619 MB / 465.3 MB, free: 137.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007305/0.389, allocations: 0.6658 MB / 466 MB, free: 136.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.389, allocations: 1.25 kB / 466 MB, free: 136.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001933/0.3892, allocations: 67.31 kB / 466 MB, free: 136.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.145e-05/0.3893, allocations: 24.12 kB / 466.1 MB, free: 136.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.442e-05/0.3893, allocations: 14.53 kB / 466.1 MB, free: 136.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004487/0.3898, allocations: 1.278 MB / 467.4 MB, free: 135.4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.3898, allocations: 1.312 kB / 467.4 MB, free: 135.4 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004639/0.3902, allocations: 476.8 kB / 467.8 MB, free: 135.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.399e-05/0.3903, allocations: 29.33 kB / 467.9 MB, free: 135.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.674e-05/0.3903, allocations: 6.562 kB / 467.9 MB, free: 135.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/0.3904, allocations: 9.797 kB / 467.9 MB, free: 135.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.835e-05/0.3905, allocations: 30.41 kB / 467.9 MB, free: 135.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.395e-05/0.3905, allocations: 31.64 kB / 467.9 MB, free: 135.1 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001349/0.3907, allocations: 194.5 kB / 468.1 MB, free: 135 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3907, allocations: 0 / 468.1 MB, free: 135 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004217/0.3911, allocations: 119.4 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.000821/0.3919, allocations: 1.055 MB / 469.3 MB, free: 134.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005363/0.3924, allocations: 365.6 kB / 469.7 MB, free: 134 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.3924, allocations: 0 / 469.7 MB, free: 134 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001604/0.3926, allocations: 228.9 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.0006088/0.3932, allocations: 173.1 kB / 470 MB, free: 133.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002926/0.3961, allocations: 3.13 MB / 473.2 MB, free: 131.6 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001532/0.3963, allocations: 159 kB / 473.3 MB, free: 131.5 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003851/0.3967, allocations: 120.7 kB / 473.4 MB, free: 131.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001721/0.3968, allocations: 122.2 kB / 473.6 MB, free: 131.4 MB / 410.7 MB Notification: Performance of SimCode: time 8.62e-07/0.3968, allocations: 1.219 kB / 473.6 MB, free: 131.4 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03081/0.4277, allocations: 12.96 MB / 486.5 MB, free: 124.9 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.471/8.899, allocations: 3.938 kB / 486.5 MB, free: 124.9 MB / 410.7 MB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 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.csv","/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: 10.600693223066628]