Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.001846/0.001846, allocations: 107.6 kB / 21.18 MB, free: 0.5859 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.002253/0.002253, allocations: 215.3 kB / 24.48 MB, free: 3.875 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.396/1.396, allocations: 207.7 MB / 235.3 MB, free: 9.785 MB / 190.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.MoistAir2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir2",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.002945/0.002945, allocations: 51.92 kB / 347.2 MB, free: 9.961 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2645/0.2674, allocations: 49.15 MB / 396.4 MB, free: 8.863 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.06927/0.3367, allocations: 59.01 MB / 455.4 MB, free: 7.961 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0071/0.3438, allocations: 4.963 MB / 460.3 MB, free: 2.984 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000329/0.3441, allocations: 7.938 kB / 460.3 MB, free: 2.977 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001012/0.3451, allocations: 334 kB / 460.7 MB, free: 2.648 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00102/0.3462, allocations: 0.5206 MB / 461.2 MB, free: 2.125 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01972/0.3659, allocations: 7.123 MB / 468.3 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002306/0.3682, allocations: 1.559 MB / 469.9 MB, free: 9.418 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003349/0.3685, allocations: 145.3 kB / 470 MB, free: 9.266 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001202/0.3697, allocations: 0.6425 MB / 470.7 MB, free: 8.621 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009099/0.3706, allocations: 0.5682 MB / 471.2 MB, free: 8.051 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001578/0.3708, allocations: 84 kB / 471.3 MB, free: 7.969 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01862/0.3894, allocations: 9.404 MB / 480.7 MB, free: 14.55 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004869/0.3899, allocations: 327.2 kB / 481 MB, free: 14.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000581/0.3905, allocations: 382.7 kB / 481.4 MB, free: 13.86 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01288/0.4034, allocations: 5.846 MB / 487.2 MB, free: 7.996 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.4034, allocations: 0 / 487.2 MB, free: 7.996 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4034, allocations: 4 kB / 487.3 MB, free: 7.992 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.577e-05/0.4034, allocations: 0 / 487.3 MB, free: 7.992 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.003655/0.407, allocations: 1.518 MB / 488.8 MB, free: 6.438 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.4071, allocations: 11.98 kB / 488.8 MB, free: 6.426 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001411/0.4072, allocations: 110.5 kB / 488.9 MB, free: 6.309 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004248/0.4076, allocations: 91.5 kB / 489 MB, free: 6.219 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007344/0.4084, allocations: 383.2 kB / 489.4 MB, free: 5.816 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.544e-05/0.4084, allocations: 45.31 kB / 489.4 MB, free: 5.773 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001169/0.4085, allocations: 64 kB / 489.5 MB, free: 5.711 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002015/0.4106, allocations: 1.224 MB / 490.7 MB, free: 4.379 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.384e-05/0.4106, allocations: 0 / 490.7 MB, free: 4.379 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.252e-05/0.4107, allocations: 28 kB / 490.7 MB, free: 4.352 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.721e-05/0.4107, allocations: 16 kB / 490.7 MB, free: 4.336 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002006/0.4127, allocations: 1.028 MB / 491.8 MB, free: 3.309 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01383/0.4265, allocations: 4.144 MB / 495.9 MB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001747/0.4283, allocations: 0.7105 MB / 496.6 MB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006102/0.4289, allocations: 391 kB / 497 MB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01064/0.4395, allocations: 2.616 MB / 499.6 MB, free: 11.4 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.005e-05/0.4396, allocations: 51.22 kB / 499.7 MB, free: 11.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 2.615e-06/0.4396, allocations: 0 / 499.7 MB, free: 11.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=88): time 0.009983/0.4496, allocations: 3.163 MB / 0.491 GB, free: 8.141 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.477e-05/0.4496, allocations: 60.41 kB / 0.4911 GB, free: 8.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000491/0.4501, allocations: 364.5 kB / 0.4914 GB, free: 7.703 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.059e-05/0.4502, allocations: 41.7 kB / 0.4915 GB, free: 7.656 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001907/0.4504, allocations: 237.2 kB / 0.4917 GB, free: 7.422 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002731/0.4507, allocations: 329.2 kB / 0.492 GB, free: 7.098 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002472/0.4509, allocations: 162.6 kB / 0.4922 GB, free: 6.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001867/0.4511, allocations: 358.8 kB / 0.4925 GB, free: 6.57 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006/0.4517, allocations: 377.8 kB / 0.4929 GB, free: 6.203 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009547/0.4527, allocations: 496.2 kB / 0.4934 GB, free: 5.688 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001776/0.4544, allocations: 0.9098 MB / 0.4942 GB, free: 4.742 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.4544, allocations: 0 / 0.4942 GB, free: 4.742 MB / 414.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002649/0.4571, allocations: 1.121 MB / 0.4953 GB, free: 3.602 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.4571, allocations: 8 kB / 0.4953 GB, free: 3.594 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/0.4571, allocations: 4.281 kB / 0.4953 GB, free: 3.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008058/0.4579, allocations: 167.3 kB / 0.4955 GB, free: 3.414 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007473/0.4587, allocations: 191.8 kB / 0.4957 GB, free: 3.227 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003229/0.4619, allocations: 3.902 MB / 0.4995 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003951/0.4623, allocations: 20 kB / 0.4995 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.583e-05/0.4624, allocations: 43.98 kB / 0.4996 GB, free: 14.99 MB / 430.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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {2, 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.0003698/0.4628, allocations: 233.9 kB / 0.4998 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003733/0.4631, allocations: 63.67 kB / 0.4998 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002485/0.4656, allocations: 1.281 MB / 0.5011 GB, free: 13.37 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/0.4656, allocations: 8 kB / 0.5011 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-06/0.4656, allocations: 0 / 0.5011 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001956/0.4676, allocations: 1.32 MB / 0.5024 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003327/0.4709, allocations: 1.796 MB / 0.5041 GB, free: 10.06 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.864e-06/0.4709, allocations: 12.02 kB / 0.5042 GB, free: 10.05 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006989/0.4716, allocations: 159.8 kB / 0.5043 GB, free: 9.891 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00175/0.4734, allocations: 305.2 kB / 0.5046 GB, free: 9.586 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.989e-05/0.4734, allocations: 27.98 kB / 0.5046 GB, free: 9.559 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009253/0.4744, allocations: 1.289 MB / 0.5059 GB, free: 8.223 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4744, allocations: 8.125 kB / 0.5059 GB, free: 8.215 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002725/0.4771, allocations: 1.418 MB / 0.5073 GB, free: 6.766 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001317/0.4772, allocations: 47.66 kB / 0.5073 GB, free: 6.719 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/0.4773, allocations: 24.06 kB / 0.5073 GB, free: 6.695 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005233/0.4778, allocations: 31.97 kB / 0.5074 GB, free: 6.664 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.541e-05/0.4779, allocations: 56.83 kB / 0.5074 GB, free: 6.609 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.029e-05/0.478, allocations: 43.97 kB / 0.5075 GB, free: 6.566 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003455/0.4784, allocations: 283 kB / 0.5077 GB, free: 6.289 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4784, allocations: 0 / 0.5077 GB, free: 6.289 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00364/0.482, allocations: 1.419 MB / 0.5091 GB, free: 4.867 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008701/0.4907, allocations: 3.618 MB / 0.5127 GB, free: 1.207 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002257/0.493, allocations: 1.109 MB / 0.5137 GB, free: 72 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.493, allocations: 0 / 0.5137 GB, free: 72 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009542/0.4939, allocations: 475.2 kB / 0.5142 GB, free: 15.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001957/0.4959, allocations: 386.2 kB / 0.5146 GB, free: 15.21 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01278/0.5087, allocations: 7.083 MB / 0.5215 GB, free: 7.949 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003491/0.509, allocations: 310 kB / 0.5218 GB, free: 7.617 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007728/0.5098, allocations: 205.2 kB / 0.522 GB, free: 7.414 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003826/0.5102, allocations: 231.3 kB / 0.5222 GB, free: 7.188 MB / 446.1 MB Notification: Performance of SimCode: time 1.253e-06/0.5102, allocations: 0 / 0.5222 GB, free: 7.188 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2713/0.7815, allocations: 60.51 MB / 0.5813 GB, free: 147.5 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.21/15.99, allocations: 11.52 kB / 0.5813 GB, free: 147.5 MB / 478.1 MB " [Timeout remaining time 644] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2_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_MoistAir2.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable volume1.medium.p in file Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.csv. Warning: Get data of variable volume1.medium.p from file Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 31.74997399095446]