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.001107/0.001107, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001109/0.001109, allocations: 149.1 kB / 23.93 MB, free: 0.6328 MB / 18.57 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 0.8691/0.8691, allocations: 173.4 MB / 200.4 MB, free: 9.461 MB / 186.7 MB " [Timeout remaining time 179] 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 1.573e-06/1.573e-06, allocations: 0 / 318.4 MB, free: 6.402 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.847e-05/2.005e-05, allocations: 2.281 kB / 318.4 MB, free: 6.398 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.1068/0.1068, allocations: 130.3 MB / 448.7 MB, free: 3.578 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001238/0.1081, allocations: 1.429 MB / 450.1 MB, free: 2.141 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.114e-05/0.1081, allocations: 0 / 450.1 MB, free: 2.141 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003402/0.1085, allocations: 51.67 kB / 450.2 MB, free: 2.09 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003048/0.1088, allocations: 170.9 kB / 450.4 MB, free: 1.922 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002051/0.1108, allocations: 1.056 MB / 451.4 MB, free: 0.8672 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003362/0.1112, allocations: 338.7 kB / 451.7 MB, free: 0.5352 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.188e-05/0.1112, allocations: 5.641 kB / 451.7 MB, free: 0.5312 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002447/0.1115, allocations: 207.3 kB / 451.9 MB, free: 336 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001697/0.1116, allocations: 119.7 kB / 452.1 MB, free: 216 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.1117, allocations: 12 kB / 452.1 MB, free: 204 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1793/0.2909, allocations: 1.323 MB / 453.4 MB, free: 6.434 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001152/0.291, allocations: 76.94 kB / 453.5 MB, free: 6.434 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001323/0.2912, allocations: 71.53 kB / 453.5 MB, free: 6.434 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001321/0.2925, allocations: 1.092 MB / 454.6 MB, free: 6.406 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.2925, allocations: 0 / 454.6 MB, free: 6.406 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2925, allocations: 0 / 454.6 MB, free: 6.406 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.461e-06/0.2925, allocations: 1.203 kB / 454.6 MB, free: 6.406 MB / 410.7 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.00107/0.2936, allocations: 0.5976 MB / 455.2 MB, free: 6.027 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.2936, allocations: 12.58 kB / 455.2 MB, free: 6.027 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.015e-05/0.2936, allocations: 55.19 kB / 455.3 MB, free: 5.988 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.082e-05/0.2937, allocations: 20.77 kB / 455.3 MB, free: 5.98 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001646/0.2939, allocations: 156.7 kB / 455.5 MB, free: 5.844 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.2939, allocations: 17.84 kB / 455.5 MB, free: 5.844 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.203e-05/0.2939, allocations: 20.75 kB / 455.5 MB, free: 5.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003555/0.2943, allocations: 365.6 kB / 455.9 MB, free: 5.664 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.2943, allocations: 0 / 455.9 MB, free: 5.664 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.183e-05/0.2943, allocations: 10.92 kB / 455.9 MB, free: 5.664 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.74e-05/0.2943, allocations: 8.172 kB / 455.9 MB, free: 5.664 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003341/0.2947, allocations: 260.5 kB / 456.1 MB, free: 5.664 MB / 410.7 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.0008282/0.2955, allocations: 0.6557 MB / 456.8 MB, free: 5.293 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003586/0.2959, allocations: 205.8 kB / 457 MB, free: 5.246 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001543/0.296, allocations: 130.1 kB / 457.1 MB, free: 5.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001373/0.2962, allocations: 44.83 kB / 457.2 MB, free: 5.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/0.2962, allocations: 41.98 kB / 457.2 MB, free: 5.191 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 1.563e-06/0.2962, allocations: 0 / 457.2 MB, free: 5.191 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.001246/0.2974, allocations: 0.6792 MB / 457.9 MB, free: 5.113 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.405e-05/0.2974, allocations: 85.86 kB / 458 MB, free: 5.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.255e-05/0.2975, allocations: 119.8 kB / 458.1 MB, free: 4.922 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.2975, allocations: 34.7 kB / 458.1 MB, free: 4.891 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.017e-05/0.2975, allocations: 111 kB / 458.2 MB, free: 4.789 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.663e-05/0.2976, allocations: 136.4 kB / 458.4 MB, free: 4.703 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.015e-05/0.2977, allocations: 65.23 kB / 458.4 MB, free: 4.688 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.019e-05/0.2977, allocations: 329.6 kB / 458.8 MB, free: 4.375 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001876/0.2979, allocations: 138.4 kB / 458.9 MB, free: 4.371 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002018/0.2981, allocations: 202.1 kB / 459.1 MB, free: 4.297 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003968/0.2985, allocations: 359.2 kB / 459.4 MB, free: 4.223 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.2985, allocations: 0 / 459.4 MB, free: 4.223 MB / 410.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004791/0.299, allocations: 419.4 kB / 459.8 MB, free: 4.172 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.299, allocations: 6.031 kB / 459.8 MB, free: 4.172 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.299, allocations: 3.75 kB / 459.9 MB, free: 4.172 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.299, allocations: 4.906 kB / 459.9 MB, free: 4.172 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002189/0.2992, allocations: 86.66 kB / 459.9 MB, free: 4.172 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.2992, allocations: 9.406 kB / 460 MB, free: 4.172 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001263/0.2994, allocations: 26.94 kB / 460 MB, free: 4.172 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.313e-05/0.2994, allocations: 13.48 kB / 460 MB, free: 4.172 MB / 410.7 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 7.751e-05/0.2995, allocations: 148.7 kB / 460.1 MB, free: 4.051 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.048e-05/0.2995, allocations: 16.47 kB / 460.2 MB, free: 4.043 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002271/0.2997, allocations: 173.1 kB / 460.3 MB, free: 4.008 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.2997, allocations: 6.125 kB / 460.3 MB, free: 4.008 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.2997, allocations: 3.594 kB / 460.3 MB, free: 4.008 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.2997, allocations: 2.625 kB / 460.3 MB, free: 4.008 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008133/0.3005, allocations: 0.6866 MB / 461 MB, free: 3.695 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.3006, allocations: 5.906 kB / 461 MB, free: 3.695 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001892/0.3007, allocations: 83.55 kB / 461.1 MB, free: 3.695 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.3007, allocations: 2.688 kB / 461.1 MB, free: 3.695 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.79e-05/0.3008, allocations: 11.73 kB / 461.1 MB, free: 3.695 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.3008, allocations: 7.5 kB / 461.1 MB, free: 3.691 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.3008, allocations: 2.812 kB / 461.1 MB, free: 3.691 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006865/0.3015, allocations: 0.7108 MB / 461.8 MB, free: 3.426 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.197e-05/0.3015, allocations: 44.55 kB / 461.9 MB, free: 3.414 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.714e-05/0.3015, allocations: 7.594 kB / 461.9 MB, free: 3.414 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001616/0.3017, allocations: 26.98 kB / 461.9 MB, free: 3.41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.831e-05/0.3017, allocations: 27.69 kB / 461.9 MB, free: 3.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.3018, allocations: 13.86 kB / 462 MB, free: 3.41 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.805e-05/0.3018, allocations: 101.5 kB / 462.1 MB, free: 3.332 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3018, allocations: 0 / 462.1 MB, free: 3.332 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004867/0.3023, allocations: 147.1 kB / 462.2 MB, free: 3.312 MB / 410.7 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.001092/0.3034, allocations: 1.371 MB / 463.6 MB, free: 2.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004751/0.3038, allocations: 331.9 kB / 463.9 MB, free: 2.492 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3038, allocations: 2.172 kB / 463.9 MB, free: 2.492 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001924/0.304, allocations: 168.7 kB / 464.1 MB, free: 2.492 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004272/0.3045, allocations: 95.97 kB / 464.2 MB, free: 2.484 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002359/0.3068, allocations: 2.772 MB / 466.9 MB, free: 0.9023 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.226e-05/0.3069, allocations: 127.8 kB / 467.1 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002336/0.3071, allocations: 76.23 kB / 467.1 MB, free: 0.8242 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.3073, allocations: 62.73 kB / 467.2 MB, free: 0.8164 MB / 410.7 MB Notification: Performance of SimCode: time 1.873e-06/0.3073, allocations: 0.7188 kB / 467.2 MB, free: 0.8164 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02301/0.3303, allocations: 9.103 MB / 476.3 MB, free: 15.55 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.906/7.237, allocations: 5.594 kB / 476.3 MB, free: 15.55 MB / 426.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins/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: 8.98597179632634]