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.0008466/0.0008466, 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.003789/0.003789, allocations: 162.5 kB / 24.69 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.8646/0.8646, allocations: 158.6 MB / 186.5 MB, free: 3.031 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.403e-06/1.403e-06, allocations: 3.938 kB / 298.5 MB, free: 3.461 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.036e-05/2.176e-05, allocations: 6.281 kB / 298.5 MB, free: 3.453 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph): time 0.149/0.1491, allocations: 29.63 MB / 328.1 MB, free: 13.47 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0141/0.1632, allocations: 13.98 MB / 342.1 MB, free: 2.691 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003372/0.1635, allocations: 9.438 kB / 342.1 MB, free: 2.688 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007187/0.1642, allocations: 246.4 kB / 342.4 MB, free: 2.488 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007314/0.165, allocations: 375.4 kB / 342.7 MB, free: 2.18 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01357/0.1785, allocations: 5.798 MB / 348.5 MB, free: 12.74 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001101/0.1796, allocations: 1.006 MB / 349.5 MB, free: 11.73 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001917/0.1798, allocations: 81.16 kB / 349.6 MB, free: 11.65 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003652/0.1835, allocations: 2.333 MB / 351.9 MB, free: 9.289 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003656/0.1838, allocations: 283.1 kB / 352.2 MB, free: 9.012 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.91e-05/0.1839, allocations: 44 kB / 352.3 MB, free: 8.969 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008495/0.1924, allocations: 5.832 MB / 358.1 MB, free: 3.133 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001927/0.1926, allocations: 119.6 kB / 358.2 MB, free: 3.016 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003108/0.1929, allocations: 163.7 kB / 358.4 MB, free: 2.855 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008749/0.2016, allocations: 4.759 MB / 363.1 MB, free: 14.09 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.2016, allocations: 0 / 363.1 MB, free: 14.09 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2016, allocations: 8 kB / 363.1 MB, free: 14.08 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.2016, allocations: 3.938 kB / 363.1 MB, free: 14.07 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.002172/0.2038, allocations: 0.9628 MB / 364.1 MB, free: 13.08 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.2039, allocations: 11.98 kB / 364.1 MB, free: 13.07 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.801e-05/0.2039, allocations: 66.73 kB / 364.2 MB, free: 12.99 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007267/0.2047, allocations: 152.6 kB / 364.3 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000411/0.2051, allocations: 261.1 kB / 364.6 MB, free: 12.56 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.858e-05/0.2051, allocations: 33.03 kB / 364.6 MB, free: 12.53 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.963e-05/0.2051, allocations: 28.38 kB / 364.7 MB, free: 12.5 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009287/0.2061, allocations: 0.6977 MB / 365.3 MB, free: 11.73 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.2061, allocations: 3.938 kB / 365.4 MB, free: 11.73 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.898e-05/0.2061, allocations: 16 kB / 365.4 MB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.2061, allocations: 11.98 kB / 365.4 MB, free: 11.7 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001061/0.2072, allocations: 0.4941 MB / 365.9 MB, free: 11.21 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.00193/0.2091, allocations: 1.782 MB / 367.7 MB, free: 9.348 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009093/0.21, allocations: 438.2 kB / 368.1 MB, free: 8.91 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002339/0.2103, allocations: 156.8 kB / 368.2 MB, free: 8.754 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003468/0.2106, allocations: 195.8 kB / 368.4 MB, free: 8.562 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.2106, allocations: 35 kB / 368.5 MB, free: 8.52 MB / 330.7 MB Notification: Performance of pre-optimization done (n=30): time 2.194e-06/0.2106, allocations: 0 / 368.5 MB, free: 8.52 MB / 330.7 MB Notification: Performance of matching and sorting (n=34): time 0.002757/0.2134, allocations: 1.373 MB / 369.8 MB, free: 7.109 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.032e-05/0.2134, allocations: 55.41 kB / 369.9 MB, free: 7.043 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001877/0.2136, allocations: 261.7 kB / 370.1 MB, free: 6.777 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.2136, allocations: 29.7 kB / 370.2 MB, free: 6.742 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.834e-05/0.2137, allocations: 184.5 kB / 370.4 MB, free: 6.559 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.085e-05/0.2138, allocations: 115.1 kB / 370.5 MB, free: 6.445 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.022e-05/0.2139, allocations: 78.14 kB / 370.5 MB, free: 6.363 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.23e-05/0.214, allocations: 342.8 kB / 370.9 MB, free: 6.02 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002192/0.2142, allocations: 136.9 kB / 371 MB, free: 5.887 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002485/0.2144, allocations: 240.1 kB / 371.2 MB, free: 5.609 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004933/0.2149, allocations: 394.8 kB / 371.6 MB, free: 5.184 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.2149, allocations: 0 / 371.6 MB, free: 5.184 MB / 330.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006982/0.2156, allocations: 0.4995 MB / 372.1 MB, free: 4.668 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.2156, allocations: 4 kB / 372.1 MB, free: 4.664 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.2156, allocations: 4 kB / 372.1 MB, free: 4.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002945/0.2159, allocations: 110.8 kB / 372.2 MB, free: 4.543 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001922/0.2161, allocations: 91.81 kB / 372.3 MB, free: 4.453 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001499/0.2176, allocations: 2.4 MB / 374.7 MB, free: 1.883 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001439/0.2178, allocations: 19.98 kB / 374.8 MB, free: 1.863 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.72e-05/0.2178, allocations: 24.86 kB / 374.8 MB, free: 1.84 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.0001351/0.2179, allocations: 170 kB / 374.9 MB, free: 1.664 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.379e-05/0.218, allocations: 27.8 kB / 375 MB, free: 1.637 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001132/0.2191, allocations: 1.378 MB / 376.4 MB, free: 252 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.281e-05/0.2191, allocations: 19.92 kB / 376.4 MB, free: 232 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.2191, allocations: 0.9375 kB / 376.4 MB, free: 232 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001017/0.2201, allocations: 1.478 MB / 377.8 MB, free: 14.66 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001665/0.2218, allocations: 2.024 MB / 379.9 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.2218, allocations: 0 / 379.9 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002003/0.222, allocations: 87.86 kB / 380 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000448/0.2225, allocations: 72.8 kB / 380 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.14e-05/0.2225, allocations: 15.3 kB / 380 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000249/0.2227, allocations: 0.5992 MB / 380.6 MB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.2227, allocations: 0 / 380.6 MB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001168/0.2239, allocations: 1.304 MB / 381.9 MB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.55e-05/0.224, allocations: 55.52 kB / 382 MB, free: 10.4 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.631e-05/0.224, allocations: 19.88 kB / 382 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001444/0.2241, allocations: 27.92 kB / 382 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.572e-05/0.2242, allocations: 36 kB / 382.1 MB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.987e-05/0.2242, allocations: 15.98 kB / 382.1 MB, free: 10.3 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001804/0.2244, allocations: 235 kB / 382.3 MB, free: 10.07 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2244, allocations: 0 / 382.3 MB, free: 10.07 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002005/0.2264, allocations: 0.8579 MB / 383.2 MB, free: 9.215 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.003989/0.2304, allocations: 2.855 MB / 386 MB, free: 6.332 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008931/0.2313, allocations: 0.6385 MB / 386.7 MB, free: 5.684 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.2313, allocations: 0 / 386.7 MB, free: 5.684 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003984/0.2317, allocations: 382.4 kB / 387.1 MB, free: 5.312 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006616/0.2324, allocations: 197.5 kB / 387.2 MB, free: 5.121 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005265/0.2376, allocations: 4.544 MB / 391.8 MB, free: 412 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001738/0.2378, allocations: 277 kB / 392.1 MB, free: 108 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003027/0.2381, allocations: 155.9 kB / 392.2 MB, free: 15.96 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000172/0.2383, allocations: 188.4 kB / 392.4 MB, free: 15.77 MB / 362.7 MB Notification: Performance of SimCode: time 1.072e-06/0.2383, allocations: 0 / 392.4 MB, free: 15.77 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06327/0.3016, allocations: 42.69 MB / 435.1 MB, free: 4.957 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.079/9.38, allocations: 12 kB / 435.1 MB, free: 4.945 MB / 394.7 MB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_ph_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_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.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_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.320874750614166]