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.001351/0.001351, allocations: 107.5 kB / 19.69 MB, free: 2.203 MB / 14.72 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.001714/0.001714, allocations: 227.2 kB / 23.01 MB, free: 5.039 MB / 14.72 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 1.457/1.457, allocations: 207.6 MB / 233.8 MB, free: 9.988 MB / 190.1 MB " [Timeout remaining time 178] 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.2331/0.2331, allocations: 44.25 MB / 330.3 MB, free: 9.594 MB / 270.1 MB " [Timeout remaining time 179] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002844/0.002844, allocations: 67.89 kB / 467.5 MB, free: 4.5 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1415, allocations: 61.04 MB / 0.5162 GB, free: 7.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.5365/0.678, allocations: 197.5 MB / 0.709 GB, free: 14.16 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01591/0.6939, allocations: 10.39 MB / 0.7192 GB, free: 3.738 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001072/0.695, allocations: 27.75 kB / 0.7192 GB, free: 3.711 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001601/0.6966, allocations: 457.5 kB / 0.7196 GB, free: 3.262 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.008948/0.7055, allocations: 2.637 MB / 0.7222 GB, free: 0.625 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.008614/0.7141, allocations: 2.713 MB / 0.7249 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003899/0.718, allocations: 2.212 MB / 0.727 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001023/0.719, allocations: 0.525 MB / 0.7275 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006375/0.7254, allocations: 2.009 MB / 0.7295 GB, free: 9.129 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002209/0.7276, allocations: 0.9073 MB / 0.7304 GB, free: 8.219 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.00024/0.7279, allocations: 96 kB / 0.7305 GB, free: 8.125 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01306/0.7409, allocations: 5.96 MB / 0.7363 GB, free: 2.156 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000961/0.7419, allocations: 438.8 kB / 0.7367 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0009395/0.7428, allocations: 0.5329 MB / 0.7372 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01191/0.7547, allocations: 4.094 MB / 0.7412 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.7547, allocations: 0 / 0.7412 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.853e-06/0.7548, allocations: 0 / 0.7412 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.893e-05/0.7548, allocations: 0 / 0.7412 GB, free: 13.09 MB / 0.5762 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.005164/0.7599, allocations: 1.771 MB / 0.743 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.556e-05/0.76, allocations: 8.031 kB / 0.743 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002139/0.7602, allocations: 130.5 kB / 0.7431 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004473/0.7607, allocations: 115.3 kB / 0.7432 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001252/0.7619, allocations: 0.5557 MB / 0.7437 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001798/0.7621, allocations: 176.8 kB / 0.7439 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001509/0.7622, allocations: 75.94 kB / 0.744 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002073/0.7643, allocations: 1.162 MB / 0.7451 GB, free: 8.949 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.201e-05/0.7643, allocations: 3.938 kB / 0.7451 GB, free: 8.945 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001084/0.7644, allocations: 39.97 kB / 0.7452 GB, free: 8.906 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.425e-05/0.7645, allocations: 53.97 kB / 0.7452 GB, free: 8.852 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001996/0.7665, allocations: 1.179 MB / 0.7464 GB, free: 7.676 MB / 0.5762 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.007538/0.7741, allocations: 4.962 MB / 0.7512 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001782/0.7759, allocations: 0.8055 MB / 0.752 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006754/0.7765, allocations: 406.5 kB / 0.7524 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000994/0.7775, allocations: 326.3 kB / 0.7527 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.431e-05/0.7776, allocations: 43.22 kB / 0.7527 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 2.925e-06/0.7776, allocations: 0 / 0.7527 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.01412/0.7917, allocations: 3.97 MB / 0.7566 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.346e-05/0.7918, allocations: 111.5 kB / 0.7567 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009851/0.7928, allocations: 0.6642 MB / 0.7574 GB, free: 12 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001205/0.7929, allocations: 41.7 kB / 0.7574 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003482/0.7933, allocations: 388.5 kB / 0.7578 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003015/0.7936, allocations: 305.4 kB / 0.7581 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003356/0.7939, allocations: 206.5 kB / 0.7583 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002139/0.7941, allocations: 390.7 kB / 0.7586 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001022/0.7951, allocations: 497.7 kB / 0.7591 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001361/0.7965, allocations: 0.7562 MB / 0.7599 GB, free: 9.305 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002425/0.7989, allocations: 1.285 MB / 0.7611 GB, free: 7.91 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.7989, allocations: 0 / 0.7611 GB, free: 7.91 MB / 0.5919 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003838/0.8028, allocations: 1.673 MB / 0.7627 GB, free: 6.23 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.127e-05/0.8028, allocations: 8 kB / 0.7628 GB, free: 6.223 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.296e-05/0.8028, allocations: 11.98 kB / 0.7628 GB, free: 6.211 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007328/0.8101, allocations: 1.336 MB / 0.7641 GB, free: 4.871 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007609/0.8109, allocations: 159.7 kB / 0.7642 GB, free: 4.715 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002888/0.8138, allocations: 1.533 MB / 0.7657 GB, free: 3.156 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001052/0.8148, allocations: 49.95 kB / 0.7658 GB, free: 3.109 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000147/0.815, allocations: 63.97 kB / 0.7658 GB, free: 3.047 MB / 0.5919 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.0006341/0.8156, allocations: 293.5 kB / 0.7661 GB, free: 2.75 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002326/0.8159, allocations: 87.48 kB / 0.7662 GB, free: 2.664 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003469/0.8193, allocations: 1.635 MB / 0.7678 GB, free: 1 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.662e-05/0.8193, allocations: 8 kB / 0.7678 GB, free: 0.9922 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.115e-05/0.8193, allocations: 7.938 kB / 0.7678 GB, free: 0.9844 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/0.8194, allocations: 3.984 kB / 0.7678 GB, free: 0.9805 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2558/1.075, allocations: 2.524 MB / 0.7703 GB, free: 213 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.887e-06/1.075, allocations: 1.125 kB / 0.7703 GB, free: 213 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001502/1.077, allocations: 261 kB / 0.7705 GB, free: 213 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001796/1.078, allocations: 370.8 kB / 0.7709 GB, free: 213 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001056/1.079, allocations: 35.84 kB / 0.7709 GB, free: 213 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002297/1.081, allocations: 2.253 MB / 0.7731 GB, free: 211.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/1.081, allocations: 2.859 kB / 0.7731 GB, free: 211.2 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003994/1.085, allocations: 2.03 MB / 0.7751 GB, free: 210.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007113/1.086, allocations: 220.8 kB / 0.7753 GB, free: 210.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001532/1.086, allocations: 29.42 kB / 0.7753 GB, free: 210.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007994/1.087, allocations: 52.58 kB / 0.7754 GB, free: 210.7 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001663/1.087, allocations: 67.08 kB / 0.7754 GB, free: 210.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001131/1.087, allocations: 56.52 kB / 0.7755 GB, free: 210.7 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007256/1.088, allocations: 0.4955 MB / 0.776 GB, free: 210.5 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/1.088, allocations: 0 / 0.776 GB, free: 210.5 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002413/1.09, allocations: 0.7144 MB / 0.7767 GB, free: 210.4 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.00647/1.096, allocations: 3.374 MB / 0.78 GB, free: 209 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002811/1.099, allocations: 1.197 MB / 0.7811 GB, free: 208.7 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/1.099, allocations: 1.469 kB / 0.7811 GB, free: 208.7 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001735/1.101, allocations: 0.6923 MB / 0.7818 GB, free: 208.5 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002503/1.103, allocations: 0.5234 MB / 0.7823 GB, free: 208.4 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01789/1.121, allocations: 9.706 MB / 0.7918 GB, free: 203.6 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006151/1.122, allocations: 1.042 MB / 0.7928 GB, free: 202.8 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001255/1.123, allocations: 315.3 kB / 0.7931 GB, free: 202.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000509/1.124, allocations: 339.1 kB / 0.7935 GB, free: 202.6 MB / 0.5919 GB Notification: Performance of SimCode: time 1.322e-06/1.124, allocations: 1.312 kB / 0.7935 GB, free: 202.6 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08926/1.213, allocations: 46.68 MB / 0.839 GB, free: 167.7 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.67/15.88, allocations: 3.859 kB / 0.839 GB, free: 167.7 MB / 0.5919 GB " [Timeout remaining time 644] (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/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 19.354757624998456]