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.001316/0.001316, allocations: 112.1 kB / 21.19 MB, free: 0.7031 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.001407/0.001407, allocations: 208.6 kB / 24.49 MB, free: 4.055 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.467/1.467, allocations: 207.6 MB / 235.3 MB, free: 10 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.001797/0.001797, allocations: 55.94 kB / 347.2 MB, free: 10.11 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.2839, allocations: 49.16 MB / 396.4 MB, free: 8.949 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.08092/0.3648, allocations: 66.4 MB / 462.8 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008479/0.3733, allocations: 5.507 MB / 468.3 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005166/0.3738, allocations: 7.938 kB / 468.3 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001244/0.3751, allocations: 361.9 kB / 468.6 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001417/0.3765, allocations: 0.5128 MB / 469.2 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02367/0.4002, allocations: 7.162 MB / 476.3 MB, free: 3.145 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003227/0.4034, allocations: 1.583 MB / 477.9 MB, free: 1.555 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003984/0.4038, allocations: 149.4 kB / 478 MB, free: 1.395 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001685/0.4055, allocations: 0.6347 MB / 478.7 MB, free: 0.7578 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001294/0.4068, allocations: 0.6072 MB / 479.3 MB, free: 152 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001694/0.4069, allocations: 84 kB / 479.4 MB, free: 68 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02157/0.4285, allocations: 10.34 MB / 489.7 MB, free: 5.711 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005625/0.4291, allocations: 335.1 kB / 490 MB, free: 5.383 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007101/0.4298, allocations: 430.5 kB / 490.5 MB, free: 4.961 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01595/0.4457, allocations: 5.943 MB / 496.4 MB, free: 15 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.4457, allocations: 0 / 496.4 MB, free: 15 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4457, allocations: 0 / 496.4 MB, free: 15 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.199e-05/0.4457, allocations: 4 kB / 496.4 MB, free: 15 MB / 414.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.004726/0.4505, allocations: 1.522 MB / 497.9 MB, free: 13.44 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/0.4505, allocations: 11.98 kB / 497.9 MB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001433/0.4507, allocations: 110.5 kB / 498 MB, free: 13.31 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004658/0.4511, allocations: 95.5 kB / 498.1 MB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007157/0.4519, allocations: 379.2 kB / 498.5 MB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.401e-05/0.4519, allocations: 45.31 kB / 498.5 MB, free: 12.78 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001222/0.452, allocations: 67.94 kB / 498.6 MB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001784/0.4538, allocations: 0.8147 MB / 499.4 MB, free: 11.89 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.693e-05/0.4538, allocations: 0 / 499.4 MB, free: 11.89 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.519e-05/0.4539, allocations: 28 kB / 499.5 MB, free: 11.86 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.819e-05/0.4539, allocations: 16 kB / 499.5 MB, free: 11.85 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00198/0.4559, allocations: 1.04 MB / 0.4888 GB, free: 10.81 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01527/0.4712, allocations: 4.973 MB / 0.4936 GB, free: 5.621 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001964/0.4731, allocations: 0.7139 MB / 0.4943 GB, free: 4.898 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006147/0.4738, allocations: 383 kB / 0.4947 GB, free: 4.523 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01125/0.485, allocations: 2.619 MB / 0.4973 GB, free: 1.902 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.641e-05/0.4851, allocations: 43.22 kB / 0.4973 GB, free: 1.852 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 3.426e-06/0.4851, allocations: 0 / 0.4973 GB, free: 1.852 MB / 414.1 MB Notification: Performance of matching and sorting (n=88): time 0.0102/0.4953, allocations: 3.171 MB / 0.5004 GB, free: 14.64 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.395e-05/0.4953, allocations: 60.41 kB / 0.5005 GB, free: 14.57 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000597/0.4959, allocations: 348.5 kB / 0.5008 GB, free: 14.22 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001215/0.496, allocations: 45.7 kB / 0.5008 GB, free: 14.17 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002232/0.4963, allocations: 253.1 kB / 0.5011 GB, free: 13.92 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003343/0.4966, allocations: 321.2 kB / 0.5014 GB, free: 13.61 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000258/0.4969, allocations: 158.6 kB / 0.5015 GB, free: 13.44 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002636/0.4971, allocations: 362.8 kB / 0.5019 GB, free: 13.08 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006793/0.4978, allocations: 377.8 kB / 0.5022 GB, free: 12.71 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009937/0.4988, allocations: 0.4923 MB / 0.5027 GB, free: 12.19 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001813/0.5006, allocations: 0.8943 MB / 0.5036 GB, free: 11.26 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.5006, allocations: 0 / 0.5036 GB, free: 11.26 MB / 430.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002709/0.5033, allocations: 1.129 MB / 0.5047 GB, free: 10.12 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.033e-05/0.5034, allocations: 8 kB / 0.5047 GB, free: 10.11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/0.5034, allocations: 4 kB / 0.5047 GB, free: 10.11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009045/0.5043, allocations: 171.4 kB / 0.5049 GB, free: 9.926 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008617/0.5051, allocations: 183.8 kB / 0.505 GB, free: 9.746 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003775/0.5089, allocations: 3.914 MB / 0.5089 GB, free: 5.555 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005733/0.5095, allocations: 16.28 kB / 0.5089 GB, free: 5.539 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001177/0.5096, allocations: 47.98 kB / 0.5089 GB, free: 5.492 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.0004616/0.5101, allocations: 229.5 kB / 0.5091 GB, free: 5.258 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004417/0.5105, allocations: 59.67 kB / 0.5092 GB, free: 5.199 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002647/0.5132, allocations: 1.285 MB / 0.5105 GB, free: 3.875 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/0.5132, allocations: 8 kB / 0.5105 GB, free: 3.867 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.5132, allocations: 0 / 0.5105 GB, free: 3.867 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001994/0.5152, allocations: 1.32 MB / 0.5118 GB, free: 2.418 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003593/0.5188, allocations: 1.936 MB / 0.5136 GB, free: 436 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.173e-06/0.5188, allocations: 8.062 kB / 0.5137 GB, free: 428 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007396/0.5195, allocations: 155.8 kB / 0.5138 GB, free: 272 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001794/0.5213, allocations: 297.3 kB / 0.5141 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.397e-05/0.5214, allocations: 35.92 kB / 0.5141 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009494/0.5223, allocations: 1.281 MB / 0.5154 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.5223, allocations: 4.031 kB / 0.5154 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002794/0.5251, allocations: 1.429 MB / 0.5168 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001677/0.5253, allocations: 51.72 kB / 0.5168 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.5254, allocations: 20 kB / 0.5168 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005277/0.5259, allocations: 31.92 kB / 0.5169 GB, free: 13.04 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.742e-05/0.526, allocations: 60.83 kB / 0.5169 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.642e-05/0.5261, allocations: 43.95 kB / 0.517 GB, free: 12.94 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003641/0.5265, allocations: 283 kB / 0.5172 GB, free: 12.66 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5265, allocations: 0 / 0.5172 GB, free: 12.66 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004217/0.5307, allocations: 1.415 MB / 0.5186 GB, free: 11.24 MB / 446.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.009886/0.5406, allocations: 3.602 MB / 0.5221 GB, free: 7.598 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002461/0.5431, allocations: 1.101 MB / 0.5232 GB, free: 6.465 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.5431, allocations: 8.062 kB / 0.5232 GB, free: 6.457 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009993/0.5441, allocations: 483.2 kB / 0.5237 GB, free: 5.98 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002091/0.5462, allocations: 390 kB / 0.5241 GB, free: 5.594 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01484/0.561, allocations: 7.072 MB / 0.531 GB, free: 14.33 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007155/0.5617, allocations: 0.9167 MB / 0.5319 GB, free: 13.39 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008288/0.5625, allocations: 205.1 kB / 0.532 GB, free: 13.18 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004234/0.563, allocations: 231.3 kB / 0.5323 GB, free: 12.96 MB / 462.1 MB Notification: Performance of SimCode: time 1.633e-06/0.563, allocations: 0 / 0.5323 GB, free: 12.96 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3264/0.8894, allocations: 59.05 MB / 0.5899 GB, free: 129.6 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.47/16.35, allocations: 0 / 0.5899 GB, free: 129.6 MB / 478.1 MB " [Timeout remaining time 643] (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.934172692002903]