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.0008615/0.0008615, 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.008316/0.008316, allocations: 164.3 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.8488/0.8488, allocations: 158.6 MB / 186.5 MB, free: 3.051 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 1.643e-06/1.643e-06, allocations: 0 / 298.4 MB, free: 3.535 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.747e-05/1.912e-05, allocations: 6.281 kB / 298.4 MB, free: 3.527 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.1386/0.1387, allocations: 23.96 MB / 322.4 MB, free: 1.945 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00171/0.1404, allocations: 1.988 MB / 324.4 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.304e-05/0.1404, allocations: 8.719 kB / 324.4 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004251/0.1409, allocations: 63.94 kB / 324.5 MB, free: 488 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002919/0.1412, allocations: 154.8 kB / 324.6 MB, free: 364 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0129/0.1541, allocations: 6.235 MB / 330.8 MB, free: 12.14 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003887/0.1544, allocations: 315.2 kB / 331.1 MB, free: 11.98 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.017e-05/0.1545, allocations: 10.39 kB / 331.2 MB, free: 11.97 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002349/0.1547, allocations: 173.7 kB / 331.3 MB, free: 11.88 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001794/0.1549, allocations: 112.9 kB / 331.4 MB, free: 11.82 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.668e-05/0.1549, allocations: 12.12 kB / 331.4 MB, free: 11.82 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01104/0.166, allocations: 8.874 MB / 340.3 MB, free: 4.949 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001079/0.1661, allocations: 75.83 kB / 340.4 MB, free: 4.875 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001068/0.1662, allocations: 71.83 kB / 340.5 MB, free: 4.805 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01132/0.1775, allocations: 5.835 MB / 346.3 MB, free: 14.95 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.1775, allocations: 0 / 346.3 MB, free: 14.95 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.1775, allocations: 4 kB / 346.3 MB, free: 14.95 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.041e-05/0.1775, allocations: 3.938 kB / 346.3 MB, free: 14.95 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.002748/0.1803, allocations: 1.055 MB / 347.4 MB, free: 13.85 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.1803, allocations: 11.98 kB / 347.4 MB, free: 13.84 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.916e-05/0.1804, allocations: 54.73 kB / 347.4 MB, free: 13.78 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001148/0.1805, allocations: 24.41 kB / 347.5 MB, free: 13.75 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002159/0.1807, allocations: 159.8 kB / 347.6 MB, free: 13.57 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.1807, allocations: 16.31 kB / 347.6 MB, free: 13.56 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.359e-05/0.1808, allocations: 19.94 kB / 347.6 MB, free: 13.54 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000501/0.1813, allocations: 392.3 kB / 348 MB, free: 13.12 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.1813, allocations: 2.719 kB / 348 MB, free: 13.12 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.369e-05/0.1813, allocations: 8 kB / 348 MB, free: 13.11 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.721e-05/0.1813, allocations: 5.312 kB / 348 MB, free: 13.11 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004515/0.1818, allocations: 307.8 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.0009843/0.1827, allocations: 0.6948 MB / 349 MB, free: 12.06 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004349/0.1832, allocations: 237.1 kB / 349.3 MB, free: 11.81 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001754/0.1834, allocations: 126.3 kB / 349.4 MB, free: 11.68 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005392/0.1888, allocations: 2.707 MB / 352.1 MB, free: 8.973 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/0.1888, allocations: 34.56 kB / 352.1 MB, free: 8.93 MB / 314.7 MB Notification: Performance of pre-optimization done (n=29): time 1.944e-06/0.1888, allocations: 0 / 352.1 MB, free: 8.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.001608/0.1904, allocations: 0.6933 MB / 352.8 MB, free: 8.23 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.294e-05/0.1905, allocations: 85.11 kB / 352.9 MB, free: 8.129 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.917e-05/0.1906, allocations: 133.8 kB / 353 MB, free: 7.988 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.591e-05/0.1906, allocations: 29.7 kB / 353.1 MB, free: 7.953 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.675e-05/0.1907, allocations: 112.9 kB / 353.2 MB, free: 7.84 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.261e-05/0.1907, allocations: 130.8 kB / 353.3 MB, free: 7.711 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.697e-05/0.1908, allocations: 77.58 kB / 353.4 MB, free: 7.629 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.438e-05/0.1909, allocations: 326.8 kB / 353.7 MB, free: 7.301 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002136/0.1911, allocations: 131.9 kB / 353.8 MB, free: 7.172 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002762/0.1914, allocations: 211.6 kB / 354 MB, free: 6.938 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005206/0.1919, allocations: 371.2 kB / 354.4 MB, free: 6.551 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.1919, allocations: 0 / 354.4 MB, free: 6.551 MB / 314.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006379/0.1926, allocations: 417.1 kB / 354.8 MB, free: 6.137 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.1926, allocations: 8 kB / 354.8 MB, free: 6.129 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.1926, allocations: 0 / 354.8 MB, free: 6.129 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.1926, allocations: 4 kB / 354.8 MB, free: 6.125 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002274/0.1928, allocations: 92.09 kB / 354.9 MB, free: 6.035 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.627e-06/0.1928, allocations: 4 kB / 354.9 MB, free: 6.031 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001372/0.193, allocations: 35.86 kB / 354.9 MB, free: 5.996 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.593e-05/0.193, allocations: 12 kB / 355 MB, free: 5.984 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.0001108/0.1931, allocations: 149.6 kB / 355.1 MB, free: 5.828 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.07e-05/0.1932, allocations: 19.91 kB / 355.1 MB, free: 5.809 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003148/0.1935, allocations: 191 kB / 355.3 MB, free: 5.613 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.1935, allocations: 4 kB / 355.3 MB, free: 5.609 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.1935, allocations: 0 / 355.3 MB, free: 5.609 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.1935, allocations: 7.922 kB / 355.3 MB, free: 5.602 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/0.1945, allocations: 0.6964 MB / 356 MB, free: 4.84 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.1946, allocations: 0 / 356 MB, free: 4.84 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002007/0.1948, allocations: 84.03 kB / 356.1 MB, free: 4.758 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.1948, allocations: 4 kB / 356.1 MB, free: 4.754 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.133e-05/0.1948, allocations: 12 kB / 356.1 MB, free: 4.742 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.1948, allocations: 4 kB / 356.1 MB, free: 4.738 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.1948, allocations: 7.922 kB / 356.1 MB, free: 4.73 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008679/0.1957, allocations: 0.6974 MB / 356.8 MB, free: 4.004 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.97e-05/0.1957, allocations: 51.83 kB / 356.9 MB, free: 3.953 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.947e-05/0.1958, allocations: 11.98 kB / 356.9 MB, free: 3.941 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001578/0.1959, allocations: 15.98 kB / 356.9 MB, free: 3.926 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.332e-05/0.196, allocations: 36 kB / 356.9 MB, free: 3.891 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.287e-05/0.196, allocations: 23.92 kB / 357 MB, free: 3.867 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.544e-05/0.196, allocations: 99.2 kB / 357.1 MB, free: 3.77 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.196, allocations: 3.938 kB / 357.1 MB, free: 3.766 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002147/0.1982, allocations: 0.9355 MB / 358 MB, free: 2.828 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.004175/0.2023, allocations: 2.544 MB / 360.5 MB, free: 252 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006403/0.203, allocations: 335.9 kB / 360.9 MB, free: 15.91 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.203, allocations: 0 / 360.9 MB, free: 15.91 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002424/0.2032, allocations: 167.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.0004607/0.2037, allocations: 103.7 kB / 361.1 MB, free: 15.65 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003661/0.2074, allocations: 3.068 MB / 364.2 MB, free: 12.43 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001004/0.2075, allocations: 124.9 kB / 364.3 MB, free: 12.28 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002363/0.2077, allocations: 90.02 kB / 364.4 MB, free: 12.19 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001846/0.2079, allocations: 68.47 kB / 364.5 MB, free: 12.12 MB / 330.7 MB Notification: Performance of SimCode: time 8.62e-07/0.2079, allocations: 3.938 kB / 364.5 MB, free: 12.12 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05012/0.258, allocations: 35.25 MB / 399.7 MB, free: 8.762 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.478/7.736, allocations: 7.984 kB / 399.7 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-05 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.mat","/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: 9.855062708258629]