Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.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.001737/0.001737, allocations: 109.6 kB / 21.18 MB, free: 0.6992 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.002236/0.002236, allocations: 216.7 kB / 24.5 MB, free: 4.027 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.362/1.362, 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.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_MoistAir",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.001711/0.001711, allocations: 47.92 kB / 347.2 MB, free: 10.06 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2795/0.2812, allocations: 49.16 MB / 396.3 MB, free: 8.977 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.1913/0.4725, allocations: 153.2 MB / 0.5367 GB, free: 9.555 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009659/0.4735, allocations: 0.6003 MB / 0.5373 GB, free: 8.953 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.376e-05/0.4736, allocations: 0 / 0.5373 GB, free: 8.953 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003768/0.4739, allocations: 67.64 kB / 0.5373 GB, free: 8.887 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003924/0.4743, allocations: 163.1 kB / 0.5375 GB, free: 8.727 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003542/0.4779, allocations: 1.097 MB / 0.5386 GB, free: 7.629 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004711/0.4783, allocations: 338.8 kB / 0.5389 GB, free: 7.297 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.776e-05/0.4784, allocations: 5.641 kB / 0.5389 GB, free: 7.293 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002853/0.4787, allocations: 155.5 kB / 0.539 GB, free: 7.141 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002402/0.4789, allocations: 123.6 kB / 0.5391 GB, free: 7.02 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.957e-05/0.4789, allocations: 12 kB / 0.5392 GB, free: 7.008 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002891/0.4818, allocations: 1.68 MB / 0.5408 GB, free: 5.324 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.4819, allocations: 71.77 kB / 0.5409 GB, free: 5.254 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001205/0.4821, allocations: 91.66 kB / 0.541 GB, free: 5.164 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001634/0.4837, allocations: 0.9983 MB / 0.5419 GB, free: 4.168 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.4837, allocations: 4 kB / 0.5419 GB, free: 4.164 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.4837, allocations: 3.938 kB / 0.5419 GB, free: 4.16 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.4837, allocations: 0 / 0.5419 GB, free: 4.16 MB / 462.1 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.001786/0.4855, allocations: 0.6097 MB / 0.5425 GB, free: 3.52 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.4855, allocations: 11.98 kB / 0.5425 GB, free: 3.508 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.084e-05/0.4856, allocations: 58.67 kB / 0.5426 GB, free: 3.441 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001293/0.4857, allocations: 24.78 kB / 0.5426 GB, free: 3.418 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002597/0.486, allocations: 153.7 kB / 0.5428 GB, free: 3.242 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.336e-05/0.486, allocations: 16.33 kB / 0.5428 GB, free: 3.227 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.518e-05/0.4861, allocations: 16 kB / 0.5428 GB, free: 3.211 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005797/0.4866, allocations: 261.5 kB / 0.5431 GB, free: 2.945 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.4867, allocations: 0 / 0.5431 GB, free: 2.945 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.012e-05/0.4867, allocations: 8 kB / 0.5431 GB, free: 2.938 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.972e-05/0.4867, allocations: 7.938 kB / 0.5431 GB, free: 2.93 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007202/0.4874, allocations: 271.7 kB / 0.5433 GB, free: 2.664 MB / 462.1 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.001491/0.4889, allocations: 0.7533 MB / 0.5441 GB, free: 1.84 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000628/0.4896, allocations: 221.8 kB / 0.5443 GB, free: 1.605 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003074/0.4899, allocations: 125.6 kB / 0.5444 GB, free: 1.477 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001906/0.49, allocations: 51.95 kB / 0.5444 GB, free: 1.426 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.4901, allocations: 38.5 kB / 0.5445 GB, free: 1.379 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 1.522e-06/0.4901, allocations: 0 / 0.5445 GB, free: 1.379 MB / 462.1 MB Notification: Performance of matching and sorting (n=36): time 0.002395/0.4925, allocations: 0.6745 MB / 0.5451 GB, free: 0.6992 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.7e-05/0.4925, allocations: 81.11 kB / 0.5452 GB, free: 0.6016 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.4927, allocations: 125.8 kB / 0.5453 GB, free: 480 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.6e-05/0.4927, allocations: 33.7 kB / 0.5454 GB, free: 440 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.921e-05/0.4928, allocations: 108.9 kB / 0.5455 GB, free: 324 kB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/0.4929, allocations: 126.9 kB / 0.5456 GB, free: 196 kB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.493, allocations: 73.59 kB / 0.5457 GB, free: 116 kB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.4931, allocations: 322.8 kB / 0.546 GB, free: 15.79 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003739/0.4935, allocations: 139.9 kB / 0.5461 GB, free: 15.65 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004144/0.4939, allocations: 207.6 kB / 0.5463 GB, free: 15.42 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007918/0.4947, allocations: 359.5 kB / 0.5466 GB, free: 15.04 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.4947, allocations: 0 / 0.5466 GB, free: 15.04 MB / 478.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009429/0.4957, allocations: 409.3 kB / 0.547 GB, free: 14.64 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.4957, allocations: 4 kB / 0.547 GB, free: 14.63 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.4957, allocations: 4.219 kB / 0.547 GB, free: 14.63 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.4957, allocations: 8 kB / 0.5471 GB, free: 14.62 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004854/0.4962, allocations: 87.88 kB / 0.5471 GB, free: 14.54 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.4962, allocations: 7.938 kB / 0.5471 GB, free: 14.53 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003057/0.4965, allocations: 27.91 kB / 0.5472 GB, free: 14.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.008e-05/0.4965, allocations: 19.92 kB / 0.5472 GB, free: 14.48 MB / 478.1 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.0001519/0.4967, allocations: 145.8 kB / 0.5473 GB, free: 14.33 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.682e-05/0.4968, allocations: 19.91 kB / 0.5473 GB, free: 14.31 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003713/0.4971, allocations: 175.6 kB / 0.5475 GB, free: 14.13 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.4971, allocations: 4 kB / 0.5475 GB, free: 14.12 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.4971, allocations: 4 kB / 0.5475 GB, free: 14.12 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.363e-06/0.4972, allocations: 4 kB / 0.5475 GB, free: 14.12 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001687/0.4988, allocations: 0.7355 MB / 0.5482 GB, free: 13.32 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.4988, allocations: 0 / 0.5482 GB, free: 13.32 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004381/0.4993, allocations: 83.88 kB / 0.5483 GB, free: 13.23 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.4993, allocations: 4.156 kB / 0.5483 GB, free: 13.23 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.901e-05/0.4993, allocations: 12 kB / 0.5483 GB, free: 13.22 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/0.4993, allocations: 8 kB / 0.5483 GB, free: 13.21 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.4993, allocations: 3.938 kB / 0.5484 GB, free: 13.21 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001377/0.5007, allocations: 0.7143 MB / 0.549 GB, free: 12.46 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.5008, allocations: 39.89 kB / 0.5491 GB, free: 12.42 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.265e-05/0.5009, allocations: 11.94 kB / 0.5491 GB, free: 12.41 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003528/0.5012, allocations: 19.98 kB / 0.5491 GB, free: 12.39 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.265e-05/0.5013, allocations: 27.89 kB / 0.5491 GB, free: 12.36 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.37e-05/0.5013, allocations: 19.98 kB / 0.5492 GB, free: 12.34 MB / 478.1 MB Notification: Performance of sorting global known variables: time 6.469e-05/0.5014, allocations: 95.33 kB / 0.5493 GB, free: 12.25 MB / 478.1 MB Notification: Performance of sort global known variables: time 6e-08/0.5014, allocations: 0 / 0.5493 GB, free: 12.25 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005709/0.5019, allocations: 147.7 kB / 0.5494 GB, free: 12.11 MB / 478.1 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 (38): * Single equations (assignments): 38 * 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.002/0.5039, allocations: 1.379 MB / 0.5507 GB, free: 10.68 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008867/0.5048, allocations: 331.9 kB / 0.5511 GB, free: 10.36 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.5048, allocations: 0 / 0.5511 GB, free: 10.36 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000398/0.5052, allocations: 159.8 kB / 0.5512 GB, free: 10.2 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006935/0.5059, allocations: 104.4 kB / 0.5513 GB, free: 10.1 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004555/0.5105, allocations: 2.831 MB / 0.5541 GB, free: 7.102 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003722/0.5108, allocations: 0.7332 MB / 0.5548 GB, free: 6.34 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003192/0.5111, allocations: 86.03 kB / 0.5549 GB, free: 6.25 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001683/0.5113, allocations: 63.41 kB / 0.5549 GB, free: 6.188 MB / 478.1 MB Notification: Performance of SimCode: time 4.91e-07/0.5113, allocations: 0 / 0.5549 GB, free: 6.188 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2119/0.7233, allocations: 8.642 MB / 0.5634 GB, free: 163.9 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/12.35, allocations: 3.281 kB / 0.5634 GB, free: 163.9 MB / 478.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.MoistAir.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.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_MoistAir.fmu > Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.MoistAir_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.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: 14.811583889000758]