Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.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.0007935/0.0007935, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.001053/0.001053, allocations: 170.3 kB / 23.95 MB, free: 0.6094 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.8757/0.8757, allocations: 177.1 MB / 204.2 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2389/0.2389, allocations: 32.78 MB / 293.5 MB, free: 1.246 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_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 / 439.6 MB, free: 4.25 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.438e-05/1.577e-05, allocations: 6.281 kB / 439.6 MB, free: 4.242 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.3114/0.3115, allocations: 168.6 MB / 0.594 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.006992/0.3184, allocations: 6.823 MB / 0.6006 GB, free: 5.098 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003587/0.3188, allocations: 27.75 kB / 0.6007 GB, free: 5.07 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0009178/0.3197, allocations: 417.4 kB / 0.6011 GB, free: 4.66 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.004137/0.3239, allocations: 2.462 MB / 0.6035 GB, free: 2.191 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.004216/0.3281, allocations: 2.411 MB / 0.6058 GB, free: 15.78 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.001513/0.3296, allocations: 2.231 MB / 0.608 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004643/0.3301, allocations: 0.5162 MB / 0.6085 GB, free: 13.02 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002456/0.3325, allocations: 2.154 MB / 0.6106 GB, free: 10.86 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008886/0.3334, allocations: 0.8417 MB / 0.6114 GB, free: 10.01 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001011/0.3335, allocations: 92 kB / 0.6115 GB, free: 9.922 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004545/0.338, allocations: 4.307 MB / 0.6157 GB, free: 5.605 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0002945/0.3383, allocations: 458.8 kB / 0.6162 GB, free: 5.156 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0002972/0.3386, allocations: 399.2 kB / 0.6165 GB, free: 4.766 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.00359/0.3422, allocations: 4.111 MB / 0.6206 GB, free: 0.6445 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3422, allocations: 0 / 0.6206 GB, free: 0.6445 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.953e-06/0.3422, allocations: 0 / 0.6206 GB, free: 0.6445 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.738e-06/0.3422, allocations: 3.469 kB / 0.6206 GB, free: 0.6445 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.002444/0.3447, allocations: 1.69 MB / 0.6222 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.503e-05/0.3447, allocations: 12.03 kB / 0.6222 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001322/0.3449, allocations: 134.5 kB / 0.6223 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002555/0.3451, allocations: 119.3 kB / 0.6225 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006948/0.3458, allocations: 0.548 MB / 0.623 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001151/0.3459, allocations: 168.8 kB / 0.6232 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.445e-05/0.346, allocations: 72 kB / 0.6232 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001443/0.3475, allocations: 1.56 MB / 0.6247 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.383e-05/0.3475, allocations: 3.984 kB / 0.6248 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.944e-05/0.3476, allocations: 31.98 kB / 0.6248 GB, free: 12.06 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.893e-05/0.3476, allocations: 69.91 kB / 0.6248 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00159/0.3492, allocations: 1.151 MB / 0.626 GB, free: 10.84 MB / 0.5261 GB 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.003834/0.3531, allocations: 3.796 MB / 0.6297 GB, free: 6.949 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001163/0.3542, allocations: 0.7973 MB / 0.6305 GB, free: 6.148 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004207/0.3546, allocations: 398.6 kB / 0.6308 GB, free: 5.758 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003953/0.355, allocations: 216.5 kB / 0.631 GB, free: 5.547 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.3551, allocations: 43.22 kB / 0.6311 GB, free: 5.496 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=70): time 2.295e-06/0.3551, allocations: 4 kB / 0.6311 GB, free: 5.492 MB / 0.5261 GB Notification: Performance of matching and sorting (n=82): time 0.007534/0.3626, allocations: 3.935 MB / 0.6349 GB, free: 1.527 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.258e-05/0.3627, allocations: 115.5 kB / 0.635 GB, free: 1.391 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000544/0.3632, allocations: 0.6719 MB / 0.6357 GB, free: 0.7109 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.227e-05/0.3633, allocations: 45.7 kB / 0.6357 GB, free: 0.6602 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002042/0.3635, allocations: 388.5 kB / 0.6361 GB, free: 284 kB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.1723/0.5358, allocations: 304.3 kB / 0.6364 GB, free: 167.3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003146/0.5361, allocations: 191.3 kB / 0.6366 GB, free: 167.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.5362, allocations: 393.4 kB / 0.637 GB, free: 167 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006585/0.5369, allocations: 496 kB / 0.6374 GB, free: 167 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006788/0.5376, allocations: 0.8052 MB / 0.6382 GB, free: 166.6 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001217/0.5388, allocations: 1.297 MB / 0.6395 GB, free: 166 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.5388, allocations: 0 / 0.6395 GB, free: 166 MB / 0.5261 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.001897/0.5407, allocations: 1.661 MB / 0.6411 GB, free: 165.4 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.5407, allocations: 8.562 kB / 0.6411 GB, free: 165.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.5407, allocations: 8.922 kB / 0.6411 GB, free: 165.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00335/0.5441, allocations: 1.304 MB / 0.6424 GB, free: 165.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003142/0.5444, allocations: 162.5 kB / 0.6426 GB, free: 165.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001433/0.5458, allocations: 1.525 MB / 0.644 GB, free: 164.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004731/0.5463, allocations: 55.48 kB / 0.6441 GB, free: 164.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.574e-05/0.5464, allocations: 54.81 kB / 0.6441 GB, free: 164.3 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(3,33)} Notification: Performance of prepare postOptimizeDAE: time 0.0003558/0.5467, allocations: 289.6 kB / 0.6444 GB, free: 164.1 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000117/0.5469, allocations: 96.59 kB / 0.6445 GB, free: 164.1 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0019/0.5488, allocations: 1.681 MB / 0.6462 GB, free: 163.5 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.1e-05/0.5488, allocations: 6.656 kB / 0.6462 GB, free: 163.5 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.5488, allocations: 0 / 0.6462 GB, free: 163.5 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.5488, allocations: 7.359 kB / 0.6462 GB, free: 163.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00248/0.5513, allocations: 2.38 MB / 0.6485 GB, free: 162.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.5513, allocations: 0 / 0.6485 GB, free: 162.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006267/0.5519, allocations: 259.9 kB / 0.6487 GB, free: 162.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008234/0.5527, allocations: 376.8 kB / 0.6491 GB, free: 162.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.064e-05/0.5528, allocations: 28 kB / 0.6491 GB, free: 162.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001345/0.5541, allocations: 2.253 MB / 0.6513 GB, free: 160.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.5541, allocations: 10.97 kB / 0.6513 GB, free: 160.4 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002079/0.5562, allocations: 2.03 MB / 0.6533 GB, free: 159.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002751/0.5565, allocations: 213.6 kB / 0.6535 GB, free: 159.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.748e-05/0.5566, allocations: 29.03 kB / 0.6536 GB, free: 159.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003719/0.5569, allocations: 58.14 kB / 0.6536 GB, free: 159.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.557, allocations: 68.48 kB / 0.6537 GB, free: 159.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.369e-05/0.5571, allocations: 47.28 kB / 0.6537 GB, free: 159.4 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003861/0.5575, allocations: 0.4935 MB / 0.6542 GB, free: 159.1 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.5575, allocations: 4 kB / 0.6542 GB, free: 159.1 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001521/0.559, allocations: 0.6878 MB / 0.6549 GB, free: 159.1 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.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 (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {1} * 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): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003327/0.5623, allocations: 3.343 MB / 0.6581 GB, free: 157.6 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001426/0.5638, allocations: 1.194 MB / 0.6593 GB, free: 157.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.5638, allocations: 0 / 0.6593 GB, free: 157.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0009069/0.5647, allocations: 0.6871 MB / 0.66 GB, free: 157 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001262/0.5659, allocations: 0.5193 MB / 0.6605 GB, free: 156.9 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009209/0.5751, allocations: 9.617 MB / 0.6699 GB, free: 152.1 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003478/0.5755, allocations: 450.9 kB / 0.6703 GB, free: 151.9 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006873/0.5762, allocations: 372.6 kB / 0.6707 GB, free: 151.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003326/0.5765, allocations: 334 kB / 0.671 GB, free: 151.7 MB / 0.5261 GB Notification: Performance of SimCode: time 6.61e-07/0.5765, allocations: 1.125 kB / 0.671 GB, free: 151.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05566/0.6322, allocations: 45.19 MB / 0.7151 GB, free: 125.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.045/9.678, allocations: 3.938 kB / 0.7151 GB, free: 125.3 MB / 0.5261 GB " [Timeout remaining time 650] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.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.907787289470434]