Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.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.0008277/0.0008277, 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.004403/0.004403, allocations: 166 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.871/0.871, allocations: 158.6 MB / 186.5 MB, free: 3.043 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.ReferenceAir.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.023e-06/2.023e-06, allocations: 0 / 298.4 MB, free: 3.527 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.212e-05/2.415e-05, allocations: 2.281 kB / 298.4 MB, free: 3.523 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.1441/0.1441, allocations: 23.96 MB / 322.4 MB, free: 1.949 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001719/0.1459, allocations: 1.994 MB / 324.4 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.142e-05/0.146, allocations: 1.156 kB / 324.4 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003445/0.1463, allocations: 59.61 kB / 324.4 MB, free: 492 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003257/0.1466, allocations: 166.8 kB / 324.6 MB, free: 356 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01503/0.1616, allocations: 6.233 MB / 330.8 MB, free: 12.14 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004358/0.1621, allocations: 318.6 kB / 331.2 MB, free: 11.97 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.202e-05/0.1621, allocations: 6.469 kB / 331.2 MB, free: 11.96 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002588/0.1624, allocations: 174.3 kB / 331.3 MB, free: 11.87 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002083/0.1626, allocations: 113.6 kB / 331.4 MB, free: 11.81 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.84e-05/0.1626, allocations: 10.84 kB / 331.5 MB, free: 11.81 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0129/0.1755, allocations: 8.881 MB / 340.3 MB, free: 4.945 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001427/0.1757, allocations: 71.86 kB / 340.4 MB, free: 4.875 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001584/0.1758, allocations: 71.83 kB / 340.5 MB, free: 4.805 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.012/0.1878, allocations: 5.835 MB / 346.3 MB, free: 14.95 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.1878, allocations: 4 kB / 346.3 MB, free: 14.95 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1878, allocations: 4 kB / 346.3 MB, free: 14.94 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.1879, allocations: 0 / 346.3 MB, free: 14.94 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.003122/0.191, allocations: 1.055 MB / 347.4 MB, free: 13.85 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.191, allocations: 11.98 kB / 347.4 MB, free: 13.84 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.109e-05/0.1911, allocations: 50.73 kB / 347.4 MB, free: 13.78 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001362/0.1912, allocations: 28.36 kB / 347.5 MB, free: 13.75 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002419/0.1915, allocations: 156.9 kB / 347.6 MB, free: 13.57 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.1915, allocations: 16.31 kB / 347.6 MB, free: 13.56 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.922e-05/0.1915, allocations: 12 kB / 347.6 MB, free: 13.55 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005563/0.1921, allocations: 388.2 kB / 348 MB, free: 13.13 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.1921, allocations: 8 kB / 348 MB, free: 13.12 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.208e-05/0.1921, allocations: 4 kB / 348 MB, free: 13.12 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.117e-05/0.1921, allocations: 9.312 kB / 348 MB, free: 13.11 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004875/0.1926, allocations: 307.7 kB / 348.3 MB, free: 12.81 MB / 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.00107/0.1937, allocations: 0.6987 MB / 349 MB, free: 12.06 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004763/0.1942, allocations: 247.3 kB / 349.3 MB, free: 11.8 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001764/0.1943, allocations: 117.6 kB / 349.4 MB, free: 11.68 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005794/0.2001, allocations: 2.704 MB / 352.1 MB, free: 8.977 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.2002, allocations: 38.56 kB / 352.1 MB, free: 8.93 MB / 314.7 MB Notification: Performance of pre-optimization done (n=29): time 2.204e-06/0.2002, allocations: 0 / 352.1 MB, free: 8.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.001773/0.2019, allocations: 0.6933 MB / 352.8 MB, free: 8.23 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/0.202, allocations: 85.11 kB / 352.9 MB, free: 8.129 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.992e-05/0.2021, allocations: 126.2 kB / 353 MB, free: 7.996 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.896e-05/0.2021, allocations: 33.7 kB / 353.1 MB, free: 7.957 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.766e-05/0.2022, allocations: 112.9 kB / 353.2 MB, free: 7.844 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.312e-05/0.2022, allocations: 122.9 kB / 353.3 MB, free: 7.723 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.126e-05/0.2023, allocations: 77.58 kB / 353.4 MB, free: 7.641 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.801e-05/0.2024, allocations: 330.8 kB / 353.7 MB, free: 7.309 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002191/0.2026, allocations: 127.9 kB / 353.8 MB, free: 7.184 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000289/0.2029, allocations: 215.5 kB / 354 MB, free: 6.945 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005435/0.2035, allocations: 364.2 kB / 354.4 MB, free: 6.562 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.2035, allocations: 0 / 354.4 MB, free: 6.562 MB / 314.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000675/0.2041, allocations: 421 kB / 354.8 MB, free: 6.145 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.2042, allocations: 7.938 kB / 354.8 MB, free: 6.137 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.2042, allocations: 4 kB / 354.8 MB, free: 6.133 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.2042, allocations: 4 kB / 354.8 MB, free: 6.129 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002652/0.2045, allocations: 95.03 kB / 354.9 MB, free: 6.039 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/0.2045, allocations: 7.984 kB / 354.9 MB, free: 6.031 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001406/0.2046, allocations: 23.92 kB / 354.9 MB, free: 6.008 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.964e-05/0.2046, allocations: 19.98 kB / 355 MB, free: 5.988 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (43): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001258/0.2048, allocations: 141.7 kB / 355.1 MB, free: 5.84 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.222e-05/0.2048, allocations: 19.91 kB / 355.1 MB, free: 5.82 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003318/0.2052, allocations: 194.9 kB / 355.3 MB, free: 5.621 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.2052, allocations: 4 kB / 355.3 MB, free: 5.617 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.2052, allocations: 0 / 355.3 MB, free: 5.617 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.2052, allocations: 7.922 kB / 355.3 MB, free: 5.609 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001046/0.2062, allocations: 0.6964 MB / 356 MB, free: 4.848 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.2062, allocations: 4 kB / 356 MB, free: 4.844 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002124/0.2065, allocations: 84.03 kB / 356.1 MB, free: 4.762 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.543e-06/0.2065, allocations: 7.938 kB / 356.1 MB, free: 4.754 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.051e-05/0.2065, allocations: 11.98 kB / 356.1 MB, free: 4.742 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.2065, allocations: 4 kB / 356.1 MB, free: 4.738 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.2065, allocations: 7.938 kB / 356.1 MB, free: 4.73 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000927/0.2074, allocations: 0.7013 MB / 356.8 MB, free: 4 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.696e-05/0.2075, allocations: 47.83 kB / 356.9 MB, free: 3.953 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.041e-05/0.2075, allocations: 8 kB / 356.9 MB, free: 3.945 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004603/0.208, allocations: 15.98 kB / 356.9 MB, free: 3.93 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.201e-05/0.208, allocations: 32.02 kB / 356.9 MB, free: 3.898 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-05/0.2081, allocations: 23.92 kB / 357 MB, free: 3.875 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.016e-05/0.2081, allocations: 99.31 kB / 357.1 MB, free: 3.777 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2081, allocations: 3.938 kB / 357.1 MB, free: 3.773 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002342/0.2104, allocations: 0.9355 MB / 358 MB, free: 2.836 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005549/0.216, allocations: 2.555 MB / 360.6 MB, free: 248 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008161/0.2168, allocations: 331.8 kB / 360.9 MB, free: 15.92 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.191e-06/0.2168, allocations: 4 kB / 360.9 MB, free: 15.91 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002776/0.2171, allocations: 171.7 kB / 361 MB, free: 15.75 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005165/0.2176, allocations: 96.03 kB / 361.1 MB, free: 15.66 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004971/0.2226, allocations: 3.081 MB / 364.2 MB, free: 12.41 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001051/0.2227, allocations: 120.9 kB / 364.3 MB, free: 12.27 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002704/0.223, allocations: 86.05 kB / 364.4 MB, free: 12.19 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001471/0.2231, allocations: 68.47 kB / 364.5 MB, free: 12.12 MB / 330.7 MB Notification: Performance of SimCode: time 1.022e-06/0.2231, allocations: 0 / 364.5 MB, free: 12.12 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05375/0.2769, allocations: 35.26 MB / 399.7 MB, free: 8.758 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.765/8.042, allocations: 3.938 kB / 399.8 MB, free: 8.754 MB / 362.7 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.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.275187036022544]