Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.001716/0.001716, allocations: 115.5 kB / 18.45 MB, free: 4.625 MB / 14.72 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.001824/0.001824, allocations: 211.3 kB / 21.41 MB, free: 1.672 MB / 14.72 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 1.456/1.456, allocations: 207.6 MB / 231.8 MB, free: 4.105 MB / 174.1 MB " [Timeout remaining time 178] 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.MoistAir1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001738/0.001738, allocations: 48.56 kB / 342.3 MB, free: 10.14 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09217/0.09391, allocations: 49.13 MB / 391.4 MB, free: 8.852 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.06021/0.1541, allocations: 50.93 MB / 442.3 MB, free: 5.746 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007209/0.1613, allocations: 5.211 MB / 447.6 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004221/0.1618, allocations: 7.938 kB / 447.6 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009225/0.1627, allocations: 250.6 kB / 447.8 MB, free: 268 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009686/0.1636, allocations: 373.9 kB / 448.2 MB, free: 15.89 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01706/0.1807, allocations: 6.788 MB / 455 MB, free: 9.082 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001563/0.1823, allocations: 1.091 MB / 456.1 MB, free: 7.988 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000267/0.1825, allocations: 113.5 kB / 456.2 MB, free: 7.875 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006769/0.1893, allocations: 3.617 MB / 459.8 MB, free: 4.246 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006627/0.19, allocations: 422.6 kB / 460.2 MB, free: 3.832 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001143/0.1901, allocations: 60 kB / 460.3 MB, free: 3.773 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2294/0.4195, allocations: 9.967 MB / 470.2 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000347/0.4199, allocations: 226.8 kB / 470.4 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004813/0.4203, allocations: 309.7 kB / 470.7 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01444/0.4348, allocations: 5.494 MB / 476.2 MB, free: 12.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/0.4348, allocations: 1.828 kB / 476.2 MB, free: 12.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.4348, allocations: 0 / 476.2 MB, free: 12.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.184e-05/0.4348, allocations: 0.9844 kB / 476.2 MB, free: 12.16 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.005359/0.4402, allocations: 1.389 MB / 477.6 MB, free: 11.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/0.4402, allocations: 10.62 kB / 477.6 MB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001162/0.4403, allocations: 81.97 kB / 477.7 MB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004503/0.4408, allocations: 62.2 kB / 477.8 MB, free: 11.28 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005772/0.4414, allocations: 378.4 kB / 478.1 MB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.897e-05/0.4414, allocations: 33.25 kB / 478.2 MB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.167e-05/0.4415, allocations: 42.34 kB / 478.2 MB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001224/0.4427, allocations: 0.5883 MB / 478.8 MB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/0.4427, allocations: 0 / 478.8 MB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.402e-05/0.4428, allocations: 19.06 kB / 478.8 MB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/0.4428, allocations: 13.12 kB / 478.8 MB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001202/0.444, allocations: 0.7495 MB / 479.6 MB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01434/0.4583, allocations: 11.97 MB / 491.6 MB, free: 16.33 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001122/0.4594, allocations: 0.503 MB / 492.1 MB, free: 16.3 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003096/0.4598, allocations: 246.6 kB / 492.3 MB, free: 16.29 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01512/0.4749, allocations: 11.89 MB / 0.4924 GB, free: 4.469 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.391e-05/0.4749, allocations: 39.64 kB / 0.4924 GB, free: 4.43 MB / 398.1 MB Notification: Performance of pre-optimization done (n=50): time 2.505e-06/0.4749, allocations: 0 / 0.4924 GB, free: 4.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=55): time 0.005602/0.4805, allocations: 2.12 MB / 0.4945 GB, free: 3.844 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.943e-05/0.4806, allocations: 64.53 kB / 0.4945 GB, free: 3.773 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003326/0.4809, allocations: 319 kB / 0.4949 GB, free: 3.668 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.683e-05/0.481, allocations: 34.7 kB / 0.4949 GB, free: 3.637 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.4811, allocations: 210.4 kB / 0.4951 GB, free: 3.5 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.656e-05/0.4812, allocations: 201.4 kB / 0.4953 GB, free: 3.371 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000157/0.4813, allocations: 111.5 kB / 0.4954 GB, free: 3.352 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002835/0.4816, allocations: 344.8 kB / 0.4957 GB, free: 19.04 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003277/0.482, allocations: 243 kB / 0.4959 GB, free: 19.04 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000548/0.4825, allocations: 344.5 kB / 0.4963 GB, free: 18.95 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009757/0.4835, allocations: 0.5947 MB / 0.4969 GB, free: 18.85 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.4835, allocations: 1.859 kB / 0.4969 GB, free: 18.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001666/0.4851, allocations: 0.7569 MB / 0.4976 GB, free: 18.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.4852, allocations: 5.688 kB / 0.4976 GB, free: 18.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.4852, allocations: 6.328 kB / 0.4976 GB, free: 18.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000461/0.4856, allocations: 112.1 kB / 0.4977 GB, free: 18.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004641/0.4861, allocations: 121.3 kB / 0.4978 GB, free: 18.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002592/0.4887, allocations: 3.48 MB / 0.5012 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003739/0.4891, allocations: 13.66 kB / 0.5012 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.842e-05/0.4891, allocations: 38.78 kB / 0.5013 GB, free: 15.31 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems 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 {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002982/0.4894, allocations: 188.5 kB / 0.5015 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002855/0.4897, allocations: 56.12 kB / 0.5015 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001368/0.4911, allocations: 0.8038 MB / 0.5023 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.4911, allocations: 5.688 kB / 0.5023 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.524e-06/0.4911, allocations: 0 / 0.5023 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001046/0.4921, allocations: 0.7668 MB / 0.5031 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001863/0.494, allocations: 1.303 MB / 0.5043 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.494, allocations: 3.094 kB / 0.5043 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004146/0.4944, allocations: 96.52 kB / 0.5044 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000896/0.4953, allocations: 154.5 kB / 0.5046 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.925e-05/0.4954, allocations: 15.83 kB / 0.5046 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004548/0.4958, allocations: 0.6474 MB / 0.5052 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.145e-06/0.4958, allocations: 3.984 kB / 0.5052 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001518/0.4973, allocations: 0.9046 MB / 0.5061 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001533/0.4975, allocations: 120.3 kB / 0.5062 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.665e-05/0.4976, allocations: 13.97 kB / 0.5062 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003904/0.4979, allocations: 26.12 kB / 0.5063 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.159e-05/0.498, allocations: 31.39 kB / 0.5063 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.686e-05/0.4981, allocations: 27.36 kB / 0.5063 GB, free: 12.85 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002634/0.4983, allocations: 262.2 kB / 0.5066 GB, free: 12.73 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4983, allocations: 0 / 0.5066 GB, free: 12.73 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004728/0.5031, allocations: 1.321 MB / 0.5078 GB, free: 12.52 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009775/0.5128, allocations: 3.056 MB / 0.5108 GB, free: 11.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001762/0.5146, allocations: 0.7728 MB / 0.5116 GB, free: 10.66 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.425e-06/0.5146, allocations: 6.094 kB / 0.5116 GB, free: 10.66 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005645/0.5152, allocations: 284.7 kB / 0.5119 GB, free: 10.46 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001577/0.5167, allocations: 275.7 kB / 0.5121 GB, free: 10.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01117/0.5279, allocations: 5.314 MB / 0.5173 GB, free: 4.922 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004955/0.5284, allocations: 0.8365 MB / 0.5181 GB, free: 4.059 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005986/0.529, allocations: 148.2 kB / 0.5183 GB, free: 3.91 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00029/0.5293, allocations: 155.4 kB / 0.5184 GB, free: 3.758 MB / 414.1 MB Notification: Performance of SimCode: time 9.32e-07/0.5293, allocations: 0 / 0.5184 GB, free: 3.758 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.107/0.6363, allocations: 51.92 MB / 0.5691 GB, free: 15.79 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.33/14.97, allocations: 14.06 kB / 0.5691 GB, free: 15.78 MB / 478.1 MB " [Timeout remaining time 645] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1_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_ReferenceAir_MoistAir1.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.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: 23.86759506900853]