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_pT.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.001109/0.001109, allocations: 83.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.004801/0.004801, allocations: 165.6 kB / 24.7 MB, free: 8.887 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.8483/0.8483, 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.WaterIF97_pT,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 298.5 MB, free: 3.465 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.559e-05/1.702e-05, allocations: 6.281 kB / 298.5 MB, free: 3.457 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.1378/0.1378, allocations: 29.63 MB / 328.1 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01246/0.1503, allocations: 13.98 MB / 342.1 MB, free: 2.688 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003196/0.1506, allocations: 8.812 kB / 342.1 MB, free: 2.684 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006707/0.1513, allocations: 239.2 kB / 342.4 MB, free: 2.492 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006943/0.152, allocations: 382.5 kB / 342.7 MB, free: 2.176 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01427/0.1663, allocations: 5.794 MB / 348.5 MB, free: 12.74 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001184/0.1675, allocations: 0.9928 MB / 349.5 MB, free: 11.75 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002229/0.1677, allocations: 77.17 kB / 349.6 MB, free: 11.67 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003325/0.171, allocations: 2.318 MB / 351.9 MB, free: 9.324 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003509/0.1713, allocations: 271.2 kB / 352.2 MB, free: 9.059 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.666e-05/0.1714, allocations: 39.94 kB / 352.2 MB, free: 9.02 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004913/0.1763, allocations: 3.5 MB / 355.7 MB, free: 5.516 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001239/0.1764, allocations: 111.6 kB / 355.8 MB, free: 5.406 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001621/0.1766, allocations: 163.7 kB / 356 MB, free: 5.246 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003546/0.1801, allocations: 2.931 MB / 358.9 MB, free: 2.309 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.1801, allocations: 3.984 kB / 358.9 MB, free: 2.305 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1801, allocations: 0 / 358.9 MB, free: 2.305 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.1802, allocations: 0 / 358.9 MB, free: 2.305 MB / 314.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.001024/0.1812, allocations: 0.7575 MB / 359.7 MB, free: 1.516 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.1812, allocations: 15.98 kB / 359.7 MB, free: 1.5 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.755e-05/0.1813, allocations: 70.72 kB / 359.8 MB, free: 1.422 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004029/0.1817, allocations: 84.66 kB / 359.8 MB, free: 1.34 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003617/0.182, allocations: 241.2 kB / 360.1 MB, free: 1.078 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.1821, allocations: 25.03 kB / 360.1 MB, free: 1.055 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.585e-05/0.1821, allocations: 28.38 kB / 360.1 MB, free: 1.027 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005546/0.1827, allocations: 0.591 MB / 360.7 MB, free: 360 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.1827, allocations: 8.906 kB / 360.7 MB, free: 352 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.707e-05/0.1827, allocations: 20 kB / 360.7 MB, free: 332 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.1827, allocations: 11.98 kB / 360.8 MB, free: 320 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003675/0.1831, allocations: 310.2 kB / 361.1 MB, free: 12 kB / 314.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.00184/0.1849, allocations: 1.904 MB / 363 MB, free: 14.02 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003653/0.1853, allocations: 238.5 kB / 363.2 MB, free: 13.78 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.1854, allocations: 96.83 kB / 363.3 MB, free: 13.68 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01499/0.2004, allocations: 8.342 MB / 371.6 MB, free: 5.332 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.766e-05/0.2004, allocations: 38.06 kB / 371.7 MB, free: 5.289 MB / 330.7 MB Notification: Performance of pre-optimization done (n=25): time 2.034e-06/0.2004, allocations: 0 / 371.7 MB, free: 5.289 MB / 330.7 MB Notification: Performance of matching and sorting (n=30): time 0.002834/0.2032, allocations: 1.159 MB / 372.8 MB, free: 4.09 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.639e-05/0.2033, allocations: 59.34 kB / 372.9 MB, free: 4.02 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002246/0.2035, allocations: 277.7 kB / 373.2 MB, free: 3.742 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.2035, allocations: 33.7 kB / 373.2 MB, free: 3.703 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.606e-05/0.2036, allocations: 196.4 kB / 373.4 MB, free: 3.504 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.351e-05/0.2037, allocations: 111.1 kB / 373.5 MB, free: 3.395 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.005e-05/0.2038, allocations: 82.14 kB / 373.6 MB, free: 3.309 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.034e-05/0.2038, allocations: 334.8 kB / 373.9 MB, free: 2.973 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/0.204, allocations: 101 kB / 374 MB, free: 2.875 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001736/0.2041, allocations: 223.5 kB / 374.2 MB, free: 2.602 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003423/0.2045, allocations: 358.4 kB / 374.6 MB, free: 2.199 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.2045, allocations: 8 kB / 374.6 MB, free: 2.191 MB / 330.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005115/0.205, allocations: 435.2 kB / 375 MB, free: 1.754 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.205, allocations: 8 kB / 375 MB, free: 1.746 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.205, allocations: 11.94 kB / 375 MB, free: 1.734 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001538/0.2066, allocations: 265.3 kB / 375.3 MB, free: 1.469 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000194/0.2068, allocations: 75.91 kB / 375.4 MB, free: 1.395 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001437/0.2082, allocations: 1.871 MB / 377.2 MB, free: 15.38 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001293/0.2083, allocations: 12.88 kB / 377.2 MB, free: 15.37 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/0.2084, allocations: 16 kB / 377.3 MB, free: 15.36 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * 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 {(2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001646/0.2085, allocations: 165.7 kB / 377.4 MB, free: 15.18 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.759e-05/0.2086, allocations: 35.75 kB / 377.4 MB, free: 15.15 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008008/0.2094, allocations: 0.979 MB / 378.4 MB, free: 14.16 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/0.2094, allocations: 16.05 kB / 378.4 MB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.953e-06/0.2094, allocations: 0 / 378.4 MB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006857/0.2101, allocations: 1.153 MB / 379.6 MB, free: 12.9 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001259/0.2113, allocations: 1.505 MB / 381.1 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.012e-06/0.2113, allocations: 5.875 kB / 381.1 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/0.2115, allocations: 43.97 kB / 381.1 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008233/0.2123, allocations: 296.4 kB / 381.4 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.875e-05/0.2123, allocations: 7.984 kB / 381.4 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003711/0.2127, allocations: 0.6772 MB / 382.1 MB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.2127, allocations: 4.062 kB / 382.1 MB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007887/0.2135, allocations: 0.9698 MB / 383.1 MB, free: 9.305 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.474e-05/0.2135, allocations: 39.69 kB / 383.1 MB, free: 9.266 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.368e-05/0.2136, allocations: 23.8 kB / 383.2 MB, free: 9.242 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.703e-05/0.2137, allocations: 8 kB / 383.2 MB, free: 9.234 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.944e-05/0.2137, allocations: 20.05 kB / 383.2 MB, free: 9.215 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.719e-05/0.2137, allocations: 11.98 kB / 383.2 MB, free: 9.203 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001856/0.2139, allocations: 247 kB / 383.4 MB, free: 8.957 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.2139, allocations: 0 / 383.4 MB, free: 8.957 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001579/0.2155, allocations: 0.4916 MB / 383.9 MB, free: 8.465 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.T) * Number of discrete variables: 4 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002429/0.2179, allocations: 2.011 MB / 385.9 MB, free: 6.426 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006517/0.2186, allocations: 0.5111 MB / 386.5 MB, free: 5.906 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2186, allocations: 4 kB / 386.5 MB, free: 5.902 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002637/0.2188, allocations: 288.2 kB / 386.7 MB, free: 5.617 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006278/0.2194, allocations: 184.8 kB / 386.9 MB, free: 5.438 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003792/0.2232, allocations: 3.916 MB / 390.8 MB, free: 1.316 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001444/0.2234, allocations: 221.3 kB / 391.1 MB, free: 1.086 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005549/0.2239, allocations: 115.1 kB / 391.2 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001323/0.2241, allocations: 148.5 kB / 391.3 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of SimCode: time 9.32e-07/0.2241, allocations: 0 / 391.3 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04128/0.2653, allocations: 24.47 MB / 415.8 MB, free: 8.273 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.179/8.445, allocations: 11.73 kB / 415.8 MB, free: 8.262 MB / 378.7 MB " [Timeout remaining time 651] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_pT_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_pT.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT_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/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.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.099114635027945]