Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0008218/0.0008218, allocations: 80.48 kB / 19.92 MB, free: 4.633 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.0009168/0.0009168, allocations: 169.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8717/0.8717, allocations: 158.6 MB / 185 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1332/0.1332, allocations: 32.36 MB / 269.6 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 406.9 MB, free: 2.199 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.732e-05/1.912e-05, allocations: 5.938 kB / 406.9 MB, free: 2.195 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.3178/0.3178, allocations: 170.4 MB / 0.5638 GB, free: 13.77 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.008875/0.3267, allocations: 9.399 MB / 0.573 GB, free: 6.496 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008011/0.3275, allocations: 30.22 kB / 0.573 GB, free: 6.477 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000946/0.3285, allocations: 418.8 kB / 0.5734 GB, free: 6.141 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005251/0.3337, allocations: 2.672 MB / 0.576 GB, free: 4.215 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00479/0.3385, allocations: 2.754 MB / 0.5787 GB, free: 2.254 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.002122/0.3406, allocations: 2.243 MB / 0.5809 GB, free: 0.9609 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007816/0.3414, allocations: 0.5138 MB / 0.5814 GB, free: 0.5781 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003662/0.3451, allocations: 2.276 MB / 0.5836 GB, free: 14.34 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009418/0.346, allocations: 0.8464 MB / 0.5844 GB, free: 13.49 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001218/0.3461, allocations: 92 kB / 0.5845 GB, free: 13.4 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006936/0.3531, allocations: 4.787 MB / 0.5892 GB, free: 8.602 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005601/0.3536, allocations: 462.8 kB / 0.5896 GB, free: 8.148 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005647/0.3542, allocations: 403.2 kB / 0.59 GB, free: 7.754 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007512/0.3617, allocations: 4.449 MB / 0.5944 GB, free: 3.293 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3617, allocations: 0 / 0.5944 GB, free: 3.293 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3617, allocations: 0 / 0.5944 GB, free: 3.293 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.551e-05/0.3617, allocations: 0 / 0.5944 GB, free: 3.293 MB / 474.7 MB 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.002747/0.3645, allocations: 1.755 MB / 0.5961 GB, free: 1.496 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.3645, allocations: 15.12 kB / 0.5961 GB, free: 1.484 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001208/0.3646, allocations: 126.5 kB / 0.5962 GB, free: 1.352 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002696/0.3649, allocations: 119.3 kB / 0.5963 GB, free: 1.234 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007393/0.3656, allocations: 0.5675 MB / 0.5969 GB, free: 0.6367 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001105/0.3658, allocations: 161.8 kB / 0.597 GB, free: 468 kB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.752e-05/0.3658, allocations: 71.98 kB / 0.5971 GB, free: 396 kB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001353/0.3672, allocations: 1.593 MB / 0.5987 GB, free: 14.63 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/0.3672, allocations: 3.984 kB / 0.5987 GB, free: 14.63 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.647e-05/0.3673, allocations: 39.92 kB / 0.5987 GB, free: 14.59 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.266e-05/0.3673, allocations: 57.97 kB / 0.5988 GB, free: 14.54 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00123/0.3686, allocations: 1.155 MB / 0.5999 GB, free: 13.38 MB / 490.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.004017/0.3726, allocations: 3.831 MB / 0.6036 GB, free: 9.449 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001101/0.3737, allocations: 0.785 MB / 0.6044 GB, free: 8.656 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004136/0.3741, allocations: 403.4 kB / 0.6048 GB, free: 8.262 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005553/0.3746, allocations: 334.7 kB / 0.6051 GB, free: 7.934 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.3747, allocations: 50.33 kB / 0.6051 GB, free: 7.879 MB / 490.7 MB Notification: Performance of pre-optimization done (n=70): time 2.274e-06/0.3747, allocations: 11.94 kB / 0.6052 GB, free: 7.867 MB / 490.7 MB Notification: Performance of matching and sorting (n=82): time 0.007344/0.382, allocations: 3.954 MB / 0.609 GB, free: 3.898 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.403e-05/0.3821, allocations: 111.5 kB / 0.6091 GB, free: 3.766 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005797/0.3827, allocations: 0.6796 MB / 0.6098 GB, free: 3.074 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.484e-05/0.3827, allocations: 45.7 kB / 0.6098 GB, free: 3.023 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001943/0.3829, allocations: 388.5 kB / 0.6102 GB, free: 2.641 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001587/0.3831, allocations: 297.4 kB / 0.6105 GB, free: 2.348 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002094/0.3833, allocations: 198.5 kB / 0.6107 GB, free: 2.148 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.3834, allocations: 398.7 kB / 0.6111 GB, free: 1.75 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006012/0.384, allocations: 493.6 kB / 0.6115 GB, free: 1.266 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007393/0.3847, allocations: 0.8103 MB / 0.6123 GB, free: 336 kB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001387/0.3861, allocations: 1.289 MB / 0.6136 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.3861, allocations: 0 / 0.6136 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002175/0.3883, allocations: 1.673 MB / 0.6152 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/0.3883, allocations: 11.94 kB / 0.6152 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.3884, allocations: 8 kB / 0.6152 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003507/0.3919, allocations: 1.337 MB / 0.6165 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003687/0.3922, allocations: 155.7 kB / 0.6167 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001675/0.3939, allocations: 1.525 MB / 0.6182 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005343/0.3944, allocations: 56.02 kB / 0.6182 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.199e-05/0.3945, allocations: 59.97 kB / 0.6183 GB, free: 10.08 MB / 0.4948 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.0004263/0.395, allocations: 300.5 kB / 0.6186 GB, free: 9.777 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001419/0.3951, allocations: 87.48 kB / 0.6187 GB, free: 9.691 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002043/0.3971, allocations: 1.637 MB / 0.6203 GB, free: 8.035 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/0.3972, allocations: 8 kB / 0.6203 GB, free: 8.027 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.3972, allocations: 0 / 0.6203 GB, free: 8.027 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.717e-06/0.3972, allocations: 3.984 kB / 0.6203 GB, free: 8.023 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002927/0.4001, allocations: 2.383 MB / 0.6226 GB, free: 5.574 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.225e-06/0.4001, allocations: 12.48 kB / 0.6226 GB, free: 5.562 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006369/0.4007, allocations: 263.8 kB / 0.6229 GB, free: 5.305 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008266/0.4016, allocations: 369 kB / 0.6232 GB, free: 4.941 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.47e-05/0.4016, allocations: 35.98 kB / 0.6232 GB, free: 4.906 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001491/0.4031, allocations: 2.248 MB / 0.6254 GB, free: 2.523 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.4031, allocations: 8.016 kB / 0.6254 GB, free: 2.516 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00249/0.4056, allocations: 2.012 MB / 0.6274 GB, free: 484 kB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004111/0.406, allocations: 227.2 kB / 0.6276 GB, free: 256 kB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.374e-05/0.4061, allocations: 23.94 kB / 0.6276 GB, free: 232 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003927/0.4065, allocations: 56.03 kB / 0.6277 GB, free: 176 kB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.4066, allocations: 68.88 kB / 0.6278 GB, free: 108 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.563e-05/0.4067, allocations: 55.95 kB / 0.6278 GB, free: 52 kB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004469/0.4071, allocations: 0.499 MB / 0.6283 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.4071, allocations: 0 / 0.6283 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001704/0.4088, allocations: 0.713 MB / 0.629 GB, free: 14.84 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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.00416/0.413, allocations: 3.434 MB / 0.6324 GB, free: 11.36 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001678/0.4147, allocations: 1.19 MB / 0.6335 GB, free: 10.17 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.73e-06/0.4147, allocations: 4 kB / 0.6335 GB, free: 10.17 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0009642/0.4156, allocations: 0.6853 MB / 0.6342 GB, free: 9.484 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001349/0.417, allocations: 0.5185 MB / 0.6347 GB, free: 8.98 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01131/0.4283, allocations: 9.624 MB / 0.6441 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/0.4286, allocations: 451.7 kB / 0.6445 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0007664/0.4294, allocations: 319.8 kB / 0.6448 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004131/0.4298, allocations: 344.4 kB / 0.6452 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of SimCode: time 1.573e-06/0.4298, allocations: 0 / 0.6452 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2556/0.6854, allocations: 46.84 MB / 0.6909 GB, free: 113.7 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.16/9.845, allocations: 15.34 kB / 0.6909 GB, free: 113.7 MB / 0.5417 GB " [Timeout remaining time 650] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 12.129113830626011]