Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.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.000807/0.000807, allocations: 87.62 kB / 21.43 MB, free: 3.125 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.003626/0.003626, allocations: 157.3 kB / 24.69 MB, free: 8.883 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.8349/0.8349, allocations: 158.6 MB / 186.5 MB, free: 3.039 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.WaterIF97_ph,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 298.5 MB, free: 3.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.221e-05/2.352e-05, allocations: 2.281 kB / 298.5 MB, free: 3.477 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph): time 0.1571/0.1571, allocations: 29.64 MB / 328.1 MB, free: 13.49 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01344/0.1706, allocations: 13.98 MB / 342.1 MB, free: 2.719 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004958/0.1711, allocations: 8.438 kB / 342.1 MB, free: 2.715 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008172/0.1719, allocations: 247.1 kB / 342.4 MB, free: 2.516 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007445/0.1726, allocations: 384 kB / 342.7 MB, free: 2.199 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01441/0.187, allocations: 5.792 MB / 348.5 MB, free: 12.77 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001127/0.1882, allocations: 1.006 MB / 349.5 MB, free: 11.76 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001793/0.1883, allocations: 85.16 kB / 349.6 MB, free: 11.67 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003333/0.1917, allocations: 2.333 MB / 351.9 MB, free: 9.312 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003276/0.192, allocations: 283.1 kB / 352.2 MB, free: 9.035 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.607e-05/0.192, allocations: 40 kB / 352.3 MB, free: 8.996 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008568/0.2006, allocations: 5.832 MB / 358.1 MB, free: 3.16 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001962/0.2008, allocations: 119.6 kB / 358.2 MB, free: 3.043 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002954/0.2011, allocations: 163.7 kB / 358.4 MB, free: 2.883 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009352/0.2105, allocations: 4.763 MB / 363.1 MB, free: 14.11 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.2105, allocations: 0 / 363.1 MB, free: 14.11 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.345e-06/0.2105, allocations: 0 / 363.1 MB, free: 14.11 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.2105, allocations: 4 kB / 363.1 MB, free: 14.11 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.00241/0.2129, allocations: 0.9711 MB / 364.1 MB, free: 13.1 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/0.2129, allocations: 11.98 kB / 364.1 MB, free: 13.09 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.664e-05/0.213, allocations: 70.72 kB / 364.2 MB, free: 13.01 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007463/0.2137, allocations: 144.6 kB / 364.3 MB, free: 12.87 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005172/0.2143, allocations: 269.1 kB / 364.6 MB, free: 12.58 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.642e-05/0.2143, allocations: 29.03 kB / 364.6 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.113e-05/0.2143, allocations: 28.38 kB / 364.6 MB, free: 12.53 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009667/0.2153, allocations: 0.7016 MB / 365.3 MB, free: 11.75 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.2153, allocations: 3.938 kB / 365.3 MB, free: 11.75 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.944e-05/0.2153, allocations: 12 kB / 365.4 MB, free: 11.73 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.846e-06/0.2154, allocations: 8 kB / 365.4 MB, free: 11.73 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007898/0.2161, allocations: 0.4942 MB / 365.9 MB, free: 11.23 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.002232/0.2184, allocations: 1.789 MB / 367.7 MB, free: 9.371 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008459/0.2192, allocations: 434.2 kB / 368.1 MB, free: 8.938 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002222/0.2194, allocations: 161.3 kB / 368.2 MB, free: 8.777 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003573/0.2198, allocations: 187.8 kB / 368.4 MB, free: 8.594 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/0.2198, allocations: 39 kB / 368.5 MB, free: 8.547 MB / 330.7 MB Notification: Performance of pre-optimization done (n=30): time 1.803e-06/0.2198, allocations: 4 kB / 368.5 MB, free: 8.543 MB / 330.7 MB Notification: Performance of matching and sorting (n=34): time 0.002665/0.2225, allocations: 1.365 MB / 369.8 MB, free: 7.141 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.2225, allocations: 55.41 kB / 369.9 MB, free: 7.074 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001989/0.2227, allocations: 261.7 kB / 370.1 MB, free: 6.809 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/0.2227, allocations: 29.7 kB / 370.2 MB, free: 6.773 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.124e-05/0.2228, allocations: 188.4 kB / 370.3 MB, free: 6.586 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.882e-05/0.2229, allocations: 115.1 kB / 370.5 MB, free: 6.473 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.188e-05/0.223, allocations: 78.14 kB / 370.5 MB, free: 6.391 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.824e-05/0.2231, allocations: 338.8 kB / 370.9 MB, free: 6.051 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002149/0.2233, allocations: 144.9 kB / 371 MB, free: 5.91 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002475/0.2235, allocations: 240 kB / 371.2 MB, free: 5.633 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004642/0.224, allocations: 386.9 kB / 371.6 MB, free: 5.215 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.224, allocations: 4 kB / 371.6 MB, free: 5.211 MB / 330.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006953/0.2247, allocations: 0.4995 MB / 372.1 MB, free: 4.695 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.2247, allocations: 7.984 kB / 372.1 MB, free: 4.688 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.2247, allocations: 4 kB / 372.1 MB, free: 4.684 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002841/0.225, allocations: 102.9 kB / 372.2 MB, free: 4.574 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001957/0.2252, allocations: 95.81 kB / 372.3 MB, free: 4.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001518/0.2267, allocations: 2.4 MB / 374.7 MB, free: 1.91 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001564/0.2269, allocations: 19.98 kB / 374.7 MB, free: 1.891 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.777e-05/0.2269, allocations: 24.86 kB / 374.8 MB, free: 1.867 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 3 (fixedMassFlowRate.medium.phase,volume.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001623/0.2271, allocations: 165.7 kB / 374.9 MB, free: 1.695 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.34e-05/0.2271, allocations: 27.8 kB / 375 MB, free: 1.668 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001156/0.2283, allocations: 1.378 MB / 376.3 MB, free: 284 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.557e-05/0.2283, allocations: 23.97 kB / 376.4 MB, free: 260 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.2283, allocations: 0.9375 kB / 376.4 MB, free: 260 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001018/0.2293, allocations: 1.47 MB / 377.8 MB, free: 14.7 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001715/0.231, allocations: 2.024 MB / 379.9 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.231, allocations: 0 / 379.9 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000223/0.2312, allocations: 91.86 kB / 379.9 MB, free: 12.53 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002522/0.2315, allocations: 68.8 kB / 380 MB, free: 12.46 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.474e-05/0.2315, allocations: 17.86 kB / 380 MB, free: 12.45 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003334/0.2319, allocations: 0.6031 MB / 380.6 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.2319, allocations: 0 / 380.6 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001442/0.2333, allocations: 1.304 MB / 381.9 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.042e-05/0.2334, allocations: 59.5 kB / 382 MB, free: 10.43 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.355e-05/0.2334, allocations: 19.89 kB / 382 MB, free: 10.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001313/0.2335, allocations: 23.92 kB / 382 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.181e-05/0.2336, allocations: 35.92 kB / 382.1 MB, free: 10.35 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.717e-05/0.2336, allocations: 12 kB / 382.1 MB, free: 10.34 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001774/0.2338, allocations: 235 kB / 382.3 MB, free: 10.11 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2338, allocations: 0 / 382.3 MB, free: 10.11 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002506/0.2363, allocations: 0.858 MB / 383.2 MB, free: 9.246 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 11 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,volume.medium.phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004596/0.2409, allocations: 2.856 MB / 386 MB, free: 6.363 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009283/0.2418, allocations: 0.634 MB / 386.7 MB, free: 5.719 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.2418, allocations: 0 / 386.7 MB, free: 5.719 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003909/0.2422, allocations: 387 kB / 387 MB, free: 5.344 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000681/0.2429, allocations: 196.8 kB / 387.2 MB, free: 5.152 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005292/0.2482, allocations: 4.554 MB / 391.8 MB, free: 432 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001633/0.2484, allocations: 273 kB / 392.1 MB, free: 132 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002925/0.2487, allocations: 154.6 kB / 392.2 MB, free: 15.98 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001655/0.2488, allocations: 188.4 kB / 392.4 MB, free: 15.8 MB / 362.7 MB Notification: Performance of SimCode: time 9.52e-07/0.2488, allocations: 0 / 392.4 MB, free: 15.8 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06516/0.314, allocations: 42.69 MB / 435.1 MB, free: 4.988 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.292/9.606, allocations: 16 kB / 435.1 MB, free: 4.973 MB / 394.7 MB " [Timeout remaining time 650] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph_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_WaterIF97_ph.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph_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/WaterIF97_ph/WaterIF97_ph.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.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: 11.507820111699402]