Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0009015/0.0009015, allocations: 79.7 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.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.0009417/0.0009417, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9208/0.9208, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 324.5 MB, free: 15.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.902e-05/2.041e-05, allocations: 9.031 kB / 324.5 MB, free: 15.81 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3172/0.3172, allocations: 133.3 MB / 457.9 MB, free: 5.441 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001255/0.3185, allocations: 1.442 MB / 459.3 MB, free: 5.418 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.815e-05/0.3186, allocations: 1.625 kB / 459.3 MB, free: 5.418 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002896/0.3189, allocations: 60.3 kB / 459.4 MB, free: 5.418 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003017/0.3192, allocations: 172.2 kB / 459.5 MB, free: 5.414 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001826/0.321, allocations: 1.064 MB / 460.6 MB, free: 5.383 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002816/0.3213, allocations: 362.5 kB / 460.9 MB, free: 5.383 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.772e-05/0.3213, allocations: 10.61 kB / 461 MB, free: 5.379 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002084/0.3215, allocations: 209.2 kB / 461.2 MB, free: 5.379 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001521/0.3217, allocations: 124.4 kB / 461.3 MB, free: 5.379 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.32e-05/0.3217, allocations: 13.91 kB / 461.3 MB, free: 5.379 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001418/0.3231, allocations: 1.374 MB / 462.7 MB, free: 5.355 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.335e-05/0.3232, allocations: 78.92 kB / 462.7 MB, free: 5.355 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.431e-05/0.3233, allocations: 83.17 kB / 462.8 MB, free: 5.355 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001017/0.3243, allocations: 1.129 MB / 464 MB, free: 5.293 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.3243, allocations: 2.969 kB / 464 MB, free: 5.293 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3243, allocations: 0 / 464 MB, free: 5.293 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.74e-06/0.3243, allocations: 0 / 464 MB, free: 5.293 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.001079/0.3254, allocations: 0.6288 MB / 464.6 MB, free: 4.887 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.3254, allocations: 10 kB / 464.6 MB, free: 4.887 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.089e-05/0.3254, allocations: 49.8 kB / 464.6 MB, free: 4.848 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.264e-05/0.3255, allocations: 25.53 kB / 464.7 MB, free: 4.84 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001701/0.3257, allocations: 164.9 kB / 464.8 MB, free: 4.699 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.3257, allocations: 16.67 kB / 464.8 MB, free: 4.695 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.266e-05/0.3258, allocations: 21.02 kB / 464.9 MB, free: 4.691 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003804/0.3261, allocations: 365.7 kB / 465.2 MB, free: 4.516 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.3261, allocations: 0 / 465.2 MB, free: 4.516 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.182e-05/0.3262, allocations: 6.188 kB / 465.2 MB, free: 4.516 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.999e-05/0.3262, allocations: 16.53 kB / 465.2 MB, free: 4.512 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003672/0.3266, allocations: 262.2 kB / 465.5 MB, free: 4.508 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.0008672/0.3274, allocations: 0.6589 MB / 466.2 MB, free: 4.137 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003598/0.3278, allocations: 213.8 kB / 466.4 MB, free: 4.082 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001643/0.3279, allocations: 125.5 kB / 466.5 MB, free: 4.066 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001465/0.3281, allocations: 49.36 kB / 466.5 MB, free: 4.066 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.673e-05/0.3281, allocations: 46.44 kB / 466.6 MB, free: 4.023 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 1.743e-06/0.3281, allocations: 0 / 466.6 MB, free: 4.023 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.001313/0.3294, allocations: 0.6891 MB / 467.3 MB, free: 3.934 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.405e-05/0.3295, allocations: 81.78 kB / 467.4 MB, free: 3.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.07e-05/0.3295, allocations: 146.6 kB / 467.5 MB, free: 3.738 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.3295, allocations: 32.39 kB / 467.5 MB, free: 3.707 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.956e-05/0.3296, allocations: 114.3 kB / 467.6 MB, free: 3.609 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.029e-05/0.3296, allocations: 129.4 kB / 467.8 MB, free: 3.523 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.515e-05/0.3297, allocations: 67.94 kB / 467.8 MB, free: 3.504 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.383e-05/0.3297, allocations: 332.6 kB / 468.2 MB, free: 3.191 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002004/0.3299, allocations: 134.1 kB / 468.3 MB, free: 3.188 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002231/0.3302, allocations: 205.4 kB / 468.5 MB, free: 3.113 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004247/0.3306, allocations: 363.5 kB / 468.8 MB, free: 3.035 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.3306, allocations: 3.062 kB / 468.8 MB, free: 3.035 MB / 410.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005006/0.3311, allocations: 408.5 kB / 469.2 MB, free: 2.984 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.3311, allocations: 6.219 kB / 469.3 MB, free: 2.984 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.3311, allocations: 3.062 kB / 469.3 MB, free: 2.984 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.3311, allocations: 11.66 kB / 469.3 MB, free: 2.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002325/0.3314, allocations: 87.66 kB / 469.4 MB, free: 2.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.3314, allocations: 5.188 kB / 469.4 MB, free: 2.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001356/0.3315, allocations: 28.58 kB / 469.4 MB, free: 2.973 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.355e-05/0.3315, allocations: 19.19 kB / 469.4 MB, free: 2.973 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.897e-05/0.3316, allocations: 142 kB / 469.5 MB, free: 2.855 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.24e-05/0.3316, allocations: 21.72 kB / 469.6 MB, free: 2.848 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002182/0.3319, allocations: 180.6 kB / 469.7 MB, free: 2.797 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.3319, allocations: 4.812 kB / 469.7 MB, free: 2.797 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.3319, allocations: 0 / 469.7 MB, free: 2.797 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.3319, allocations: 4 kB / 469.7 MB, free: 2.793 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008795/0.3328, allocations: 0.7133 MB / 470.5 MB, free: 2.469 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.3328, allocations: 3.438 kB / 470.5 MB, free: 2.469 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001994/0.333, allocations: 73.64 kB / 470.5 MB, free: 2.469 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.333, allocations: 6.844 kB / 470.5 MB, free: 2.465 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.921e-05/0.333, allocations: 15.38 kB / 470.6 MB, free: 2.465 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.333, allocations: 4.969 kB / 470.6 MB, free: 2.465 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.706e-06/0.333, allocations: 6.812 kB / 470.6 MB, free: 2.465 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007001/0.3337, allocations: 0.7126 MB / 471.3 MB, free: 2.188 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.513e-05/0.3338, allocations: 46.39 kB / 471.3 MB, free: 2.176 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.613e-05/0.3338, allocations: 18.84 kB / 471.3 MB, free: 2.172 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001722/0.334, allocations: 25.48 kB / 471.4 MB, free: 2.168 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.792e-05/0.334, allocations: 26.69 kB / 471.4 MB, free: 2.168 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.935e-05/0.334, allocations: 13.17 kB / 471.4 MB, free: 2.168 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.369e-05/0.334, allocations: 109.2 kB / 471.5 MB, free: 2.094 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.334, allocations: 0 / 471.5 MB, free: 2.094 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004087/0.3344, allocations: 156.3 kB / 471.7 MB, free: 2.07 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.001069/0.3355, allocations: 1.394 MB / 473.1 MB, free: 1.25 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004866/0.336, allocations: 333.7 kB / 473.4 MB, free: 1.242 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.336, allocations: 3.5 kB / 473.4 MB, free: 1.242 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000209/0.3362, allocations: 172.3 kB / 473.6 MB, free: 1.238 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004357/0.3366, allocations: 99.98 kB / 473.7 MB, free: 1.227 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002604/0.3393, allocations: 2.86 MB / 476.5 MB, free: 15.59 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.28e-05/0.3393, allocations: 132.4 kB / 476.6 MB, free: 15.5 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002225/0.3396, allocations: 77.44 kB / 476.7 MB, free: 15.48 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/0.3397, allocations: 74.59 kB / 476.8 MB, free: 15.47 MB / 426.7 MB Notification: Performance of SimCode: time 8.62e-07/0.3397, allocations: 0 / 476.8 MB, free: 15.47 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02398/0.3637, allocations: 9.714 MB / 486.5 MB, free: 13.91 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.394/7.757, allocations: 11.95 kB / 486.5 MB, free: 13.91 MB / 426.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.MoistAir.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Media_Examples_MoistAir.fmu > Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.MoistAir_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 9.56486339867115]