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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.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(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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 103.8 kB / 16.41 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 192.1 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.371/1.371, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2003/0.2003, allocations: 43.52 MB / 314.1 MB, free: 476 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001598/0.001598, allocations: 63.91 kB / 441.3 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1212, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.5034/0.6246, allocations: 196.4 MB / 0.6792 GB, free: 6.316 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01659/0.6412, allocations: 10.29 MB / 0.6893 GB, free: 12 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00127/0.6425, allocations: 19.88 kB / 0.6893 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001728/0.6444, allocations: 437.4 kB / 0.6897 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.009732/0.6541, allocations: 2.579 MB / 0.6922 GB, free: 8.965 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00843/0.6626, allocations: 2.646 MB / 0.6948 GB, free: 6.312 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003829/0.6664, allocations: 2.193 MB / 0.697 GB, free: 4.113 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001223/0.6677, allocations: 0.5962 MB / 0.6975 GB, free: 3.504 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00506/0.6728, allocations: 1.97 MB / 0.6995 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001777/0.6746, allocations: 0.8605 MB / 0.7003 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0003919/0.675, allocations: 92 kB / 0.7004 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01173/0.6867, allocations: 5.737 MB / 0.706 GB, free: 10.83 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000771/0.6875, allocations: 430.9 kB / 0.7064 GB, free: 10.41 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001352/0.6889, allocations: 0.5329 MB / 0.7069 GB, free: 9.871 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00982/0.6987, allocations: 4.077 MB / 0.7109 GB, free: 5.785 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.6987, allocations: 0 / 0.7109 GB, free: 5.785 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.823e-06/0.6988, allocations: 0 / 0.7109 GB, free: 5.785 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.135e-05/0.6988, allocations: 0 / 0.7109 GB, free: 5.785 MB / 0.545 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.006158/0.705, allocations: 1.796 MB / 0.7127 GB, free: 3.941 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.705, allocations: 15.89 kB / 0.7127 GB, free: 3.926 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000243/0.7053, allocations: 126.5 kB / 0.7128 GB, free: 3.793 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005097/0.7058, allocations: 114.8 kB / 0.7129 GB, free: 3.68 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001486/0.7073, allocations: 0.6171 MB / 0.7135 GB, free: 3.023 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001315/0.7075, allocations: 121.4 kB / 0.7136 GB, free: 2.891 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001506/0.7076, allocations: 75.89 kB / 0.7137 GB, free: 2.816 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002403/0.71, allocations: 1.166 MB / 0.7148 GB, free: 1.602 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.132e-05/0.7101, allocations: 3.938 kB / 0.7148 GB, free: 1.598 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.956e-05/0.7102, allocations: 31.98 kB / 0.7149 GB, free: 1.566 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.528e-05/0.7103, allocations: 65.97 kB / 0.7149 GB, free: 1.5 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002213/0.7125, allocations: 1.175 MB / 0.7161 GB, free: 336 kB / 0.545 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.007644/0.7202, allocations: 4.982 MB / 0.7209 GB, free: 11 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001768/0.7219, allocations: 0.834 MB / 0.7218 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006528/0.7226, allocations: 422.3 kB / 0.7222 GB, free: 9.75 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001705/0.7243, allocations: 1.896 MB / 0.724 GB, free: 7.465 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/0.7244, allocations: 43.94 kB / 0.7241 GB, free: 7.41 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=70): time 2.485e-06/0.7244, allocations: 0 / 0.7241 GB, free: 7.41 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82): time 0.01395/0.7384, allocations: 4.02 MB / 0.728 GB, free: 3.336 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.782e-05/0.7385, allocations: 111.5 kB / 0.7281 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0011/0.7396, allocations: 0.668 MB / 0.7287 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001803/0.7398, allocations: 45.7 kB / 0.7288 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003392/0.7401, allocations: 379.6 kB / 0.7291 GB, free: 2.098 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003598/0.7405, allocations: 287.8 kB / 0.7294 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004869/0.741, allocations: 202.4 kB / 0.7296 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002643/0.7413, allocations: 394.7 kB / 0.73 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001151/0.7424, allocations: 493.7 kB / 0.7305 GB, free: 0.7305 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001338/0.7438, allocations: 0.7532 MB / 0.7312 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002546/0.7464, allocations: 1.281 MB / 0.7325 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/0.7464, allocations: 4 kB / 0.7325 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003885/0.7503, allocations: 1.696 MB / 0.7341 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/0.7503, allocations: 8.062 kB / 0.7341 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-05/0.7503, allocations: 12 kB / 0.7341 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007196/0.7575, allocations: 1.324 MB / 0.7354 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006413/0.7582, allocations: 159.7 kB / 0.7356 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003076/0.7613, allocations: 1.541 MB / 0.7371 GB, free: 9.695 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009347/0.7623, allocations: 52.89 kB / 0.7371 GB, free: 9.645 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001687/0.7624, allocations: 67.91 kB / 0.7372 GB, free: 9.578 MB / 0.5762 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.0005855/0.763, allocations: 293.5 kB / 0.7375 GB, free: 9.281 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003215/0.7634, allocations: 86.97 kB / 0.7376 GB, free: 9.195 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003565/0.7669, allocations: 1.628 MB / 0.7391 GB, free: 7.543 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.729e-05/0.767, allocations: 16 kB / 0.7392 GB, free: 7.527 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.215e-05/0.767, allocations: 7.938 kB / 0.7392 GB, free: 7.52 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.767, allocations: 3.984 kB / 0.7392 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005348/0.7724, allocations: 2.547 MB / 0.7417 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/0.7724, allocations: 3.938 kB / 0.7417 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001369/0.7738, allocations: 267.8 kB / 0.7419 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001822/0.7756, allocations: 372.4 kB / 0.7423 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001006/0.7757, allocations: 31.97 kB / 0.7423 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003586/0.7793, allocations: 2.359 MB / 0.7446 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.7793, allocations: 0 / 0.7446 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003962/0.7833, allocations: 2.027 MB / 0.7466 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007377/0.7841, allocations: 287.9 kB / 0.7469 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002087/0.7843, allocations: 24 kB / 0.7469 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008857/0.7852, allocations: 55.95 kB / 0.7469 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001607/0.7854, allocations: 60.91 kB / 0.747 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001268/0.7855, allocations: 51.97 kB / 0.747 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007134/0.7862, allocations: 0.499 MB / 0.7475 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7862, allocations: 0 / 0.7475 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002456/0.7887, allocations: 0.7026 MB / 0.7482 GB, free: 13.96 MB / 0.5919 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.007262/0.796, allocations: 3.371 MB / 0.7515 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002933/0.7989, allocations: 1.248 MB / 0.7527 GB, free: 9.297 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/0.7989, allocations: 0 / 0.7527 GB, free: 9.297 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001817/0.8008, allocations: 0.7172 MB / 0.7534 GB, free: 8.586 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002777/0.8036, allocations: 0.5186 MB / 0.7539 GB, free: 8.066 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2752/1.079, allocations: 9.676 MB / 0.7634 GB, free: 223.8 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007557/1.08, allocations: 1.049 MB / 0.7644 GB, free: 223.1 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00137/1.081, allocations: 310.6 kB / 0.7647 GB, free: 223 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005991/1.082, allocations: 341.3 kB / 0.765 GB, free: 223 MB / 0.5919 GB Notification: Performance of SimCode: time 8.52e-07/1.082, allocations: 1.688 kB / 0.765 GB, free: 223 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07609/1.158, allocations: 46.08 MB / 0.81 GB, free: 197 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.71/14.87, allocations: 19.45 kB / 0.81 GB, free: 197 MB / 0.5919 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches