Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 123 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 189.2 kB / 20.73 MB, free: 2.328 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 225.6 MB / 249.1 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 51.92 kB / 365.6 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0945/0.09602, allocations: 52.14 MB / 417.8 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3666/0.4626, allocations: 151.9 MB / 0.5563 GB, free: 14.42 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002225/0.4649, allocations: 1.599 MB / 0.5579 GB, free: 12.83 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.465, allocations: 7.938 kB / 0.5579 GB, free: 12.82 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003976/0.4654, allocations: 55.7 kB / 0.5579 GB, free: 12.77 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004274/0.4658, allocations: 160.8 kB / 0.5581 GB, free: 12.61 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002946/0.4687, allocations: 1.03 MB / 0.5591 GB, free: 11.59 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004943/0.4692, allocations: 326.8 kB / 0.5594 GB, free: 11.27 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.192e-05/0.4693, allocations: 8.828 kB / 0.5594 GB, free: 11.27 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003493/0.4696, allocations: 159.4 kB / 0.5596 GB, free: 11.11 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002746/0.4699, allocations: 131.6 kB / 0.5597 GB, free: 10.98 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.77e-05/0.47, allocations: 15.94 kB / 0.5597 GB, free: 10.96 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003103/0.4731, allocations: 1.622 MB / 0.5613 GB, free: 9.34 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001467/0.4732, allocations: 75.77 kB / 0.5614 GB, free: 9.266 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001568/0.4734, allocations: 87.66 kB / 0.5614 GB, free: 9.18 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002352/0.4757, allocations: 0.9983 MB / 0.5624 GB, free: 8.18 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.4757, allocations: 0 / 0.5624 GB, free: 8.18 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.4757, allocations: 0 / 0.5624 GB, free: 8.18 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.419e-05/0.4758, allocations: 0 / 0.5624 GB, free: 8.18 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.002066/0.4778, allocations: 0.6889 MB / 0.5631 GB, free: 7.441 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.155e-05/0.4779, allocations: 12.03 kB / 0.5631 GB, free: 7.43 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.561e-05/0.478, allocations: 50.73 kB / 0.5631 GB, free: 7.371 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000149/0.4781, allocations: 20.84 kB / 0.5632 GB, free: 7.352 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003002/0.4784, allocations: 215.3 kB / 0.5634 GB, free: 7.102 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.391e-05/0.4784, allocations: 15.05 kB / 0.5634 GB, free: 7.09 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.356e-05/0.4785, allocations: 20 kB / 0.5634 GB, free: 7.07 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006288/0.4791, allocations: 265.4 kB / 0.5637 GB, free: 6.801 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.4791, allocations: 0 / 0.5637 GB, free: 6.801 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.156e-05/0.4792, allocations: 8 kB / 0.5637 GB, free: 6.793 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.259e-05/0.4792, allocations: 7.984 kB / 0.5637 GB, free: 6.785 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006905/0.4799, allocations: 259.8 kB / 0.5639 GB, free: 6.531 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.001576/0.4814, allocations: 0.7975 MB / 0.5647 GB, free: 5.656 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006974/0.4821, allocations: 217.1 kB / 0.5649 GB, free: 5.426 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003334/0.4825, allocations: 125.6 kB / 0.565 GB, free: 5.297 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004036/0.4829, allocations: 364.4 kB / 0.5654 GB, free: 4.867 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/0.4829, allocations: 42.56 kB / 0.5654 GB, free: 4.816 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 1.954e-06/0.4829, allocations: 0 / 0.5654 GB, free: 4.816 MB / 462.1 MB Notification: Performance of matching and sorting (n=36): time 0.002668/0.4856, allocations: 0.6748 MB / 0.5661 GB, free: 4.137 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.105e-05/0.4856, allocations: 81.11 kB / 0.5661 GB, free: 4.039 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.4858, allocations: 121.8 kB / 0.5663 GB, free: 3.91 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.821e-05/0.4858, allocations: 29.7 kB / 0.5663 GB, free: 3.875 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.322e-05/0.4859, allocations: 112.9 kB / 0.5664 GB, free: 3.758 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000126/0.486, allocations: 134.6 kB / 0.5665 GB, free: 3.629 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001378/0.4862, allocations: 65.69 kB / 0.5666 GB, free: 3.559 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001758/0.4863, allocations: 326.8 kB / 0.5669 GB, free: 3.23 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004178/0.4868, allocations: 139.8 kB / 0.567 GB, free: 3.094 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004544/0.4872, allocations: 203.5 kB / 0.5672 GB, free: 2.867 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008696/0.4881, allocations: 361.3 kB / 0.5676 GB, free: 2.488 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.4881, allocations: 0 / 0.5676 GB, free: 2.488 MB / 462.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001035/0.4891, allocations: 408.8 kB / 0.568 GB, free: 2.086 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.4891, allocations: 8 kB / 0.568 GB, free: 2.078 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.4891, allocations: 0 / 0.568 GB, free: 2.078 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.4892, allocations: 7.938 kB / 0.568 GB, free: 2.07 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005196/0.4897, allocations: 92.09 kB / 0.5681 GB, free: 1.98 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.4897, allocations: 4 kB / 0.5681 GB, free: 1.977 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003147/0.49, allocations: 35.8 kB / 0.5681 GB, free: 1.941 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.011e-05/0.49, allocations: 16 kB / 0.5681 GB, free: 1.926 MB / 462.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.0001599/0.4902, allocations: 146.4 kB / 0.5683 GB, free: 1.773 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.859e-05/0.4903, allocations: 15.91 kB / 0.5683 GB, free: 1.758 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003879/0.4907, allocations: 172.7 kB / 0.5684 GB, free: 1.586 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.4907, allocations: 4 kB / 0.5684 GB, free: 1.582 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.4907, allocations: 4.609 kB / 0.5684 GB, free: 1.578 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.4907, allocations: 3.938 kB / 0.5685 GB, free: 1.574 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001797/0.4925, allocations: 0.7692 MB / 0.5692 GB, free: 0.7344 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.4925, allocations: 0 / 0.5692 GB, free: 0.7344 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004411/0.493, allocations: 76.62 kB / 0.5693 GB, free: 0.6602 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.826e-06/0.493, allocations: 4 kB / 0.5693 GB, free: 0.6562 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.451e-05/0.493, allocations: 12 kB / 0.5693 GB, free: 0.6445 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.676e-06/0.493, allocations: 7.984 kB / 0.5693 GB, free: 0.6367 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.531e-06/0.493, allocations: 8.156 kB / 0.5693 GB, free: 0.6289 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001548/0.4946, allocations: 0.7036 MB / 0.57 GB, free: 15.89 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001402/0.4947, allocations: 121 kB / 0.5701 GB, free: 15.75 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.13e-05/0.4947, allocations: 12.06 kB / 0.5701 GB, free: 15.74 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003638/0.4951, allocations: 19.97 kB / 0.5701 GB, free: 15.72 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.165e-05/0.4952, allocations: 24.47 kB / 0.5702 GB, free: 15.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.326e-05/0.4952, allocations: 16 kB / 0.5702 GB, free: 15.68 MB / 478.1 MB Notification: Performance of sorting global known variables: time 7.175e-05/0.4953, allocations: 95.58 kB / 0.5703 GB, free: 15.59 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4953, allocations: 4 kB / 0.5703 GB, free: 15.59 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006212/0.4959, allocations: 147.5 kB / 0.5704 GB, free: 15.44 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.002297/0.4982, allocations: 1.374 MB / 0.5718 GB, free: 14.03 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0009776/0.4992, allocations: 328.8 kB / 0.5721 GB, free: 13.71 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.4992, allocations: 4 kB / 0.5721 GB, free: 13.7 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004495/0.4996, allocations: 168.4 kB / 0.5722 GB, free: 13.54 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007367/0.5004, allocations: 113 kB / 0.5723 GB, free: 13.44 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005242/0.5056, allocations: 2.809 MB / 0.5751 GB, free: 10.48 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004184/0.506, allocations: 0.7332 MB / 0.5758 GB, free: 9.711 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003355/0.5063, allocations: 73.91 kB / 0.5759 GB, free: 9.637 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001949/0.5065, allocations: 63.41 kB / 0.5759 GB, free: 9.574 MB / 478.1 MB Notification: Performance of SimCode: time 4.3e-07/0.5065, allocations: 4 kB / 0.5759 GB, free: 9.57 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03613/0.5427, allocations: 8.077 MB / 0.5838 GB, free: 1.613 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.585/9.128, allocations: 6.453 kB / 0.5838 GB, free: 1.609 MB / 478.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.MoistAir.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Media_Examples_MoistAir.fmu > Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.MoistAir_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 11.618445453699678]