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.001725/0.001725, allocations: 123.4 kB / 17.79 MB, free: 5.246 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.002011/0.002011, allocations: 209.6 kB / 20.75 MB, free: 2.293 MB / 14.72 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 1.647/1.647, allocations: 230.6 MB / 254.1 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] 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.2173/0.2173, allocations: 44.9 MB / 355.1 MB, free: 12.33 MB / 286.1 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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.001929/0.001929, allocations: 71.83 kB / 499.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1252, allocations: 65.41 MB / 0.5518 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.4913/0.6165, allocations: 194.7 MB / 0.7419 GB, free: 4.387 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01101/0.6275, allocations: 7.473 MB / 0.7492 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006901/0.6282, allocations: 27.75 kB / 0.7492 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001357/0.6296, allocations: 449.5 kB / 0.7496 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006225/0.6358, allocations: 2.379 MB / 0.752 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.006087/0.6419, allocations: 2.317 MB / 0.7542 GB, free: 7.719 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003147/0.645, allocations: 2.196 MB / 0.7564 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008978/0.6459, allocations: 0.5366 MB / 0.7569 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004185/0.6501, allocations: 1.857 MB / 0.7587 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001444/0.6515, allocations: 0.9189 MB / 0.7596 GB, free: 2.176 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001593/0.6517, allocations: 96 kB / 0.7597 GB, free: 2.082 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01/0.6617, allocations: 5.389 MB / 0.765 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006905/0.6624, allocations: 438.8 kB / 0.7654 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008193/0.6632, allocations: 0.5329 MB / 0.7659 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00922/0.6724, allocations: 3.849 MB / 0.7697 GB, free: 7.859 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.6724, allocations: 0 / 0.7697 GB, free: 7.859 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.747e-06/0.6724, allocations: 3.984 kB / 0.7697 GB, free: 7.855 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.882e-05/0.6725, allocations: 4 kB / 0.7697 GB, free: 7.852 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.004527/0.677, allocations: 1.779 MB / 0.7714 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.677, allocations: 8.031 kB / 0.7714 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000185/0.6772, allocations: 126.5 kB / 0.7715 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000441/0.6777, allocations: 123.3 kB / 0.7716 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001059/0.6787, allocations: 0.6136 MB / 0.7722 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001356/0.6789, allocations: 121.4 kB / 0.7724 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001303/0.679, allocations: 68 kB / 0.7724 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00197/0.681, allocations: 1.158 MB / 0.7736 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.528e-05/0.681, allocations: 3.938 kB / 0.7736 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/0.6811, allocations: 35.98 kB / 0.7736 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.762e-05/0.6812, allocations: 65.91 kB / 0.7737 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002038/0.6832, allocations: 1.159 MB / 0.7748 GB, free: 2.43 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.007532/0.6907, allocations: 4.968 MB / 0.7796 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001862/0.6926, allocations: 0.7889 MB / 0.7804 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006918/0.6933, allocations: 410.2 kB / 0.7808 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001616/0.6949, allocations: 1.622 MB / 0.7824 GB, free: 9.957 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.732e-05/0.695, allocations: 43.12 kB / 0.7824 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=70): time 2.545e-06/0.695, allocations: 0 / 0.7824 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82): time 0.01481/0.7098, allocations: 4.019 MB / 0.7864 GB, free: 5.824 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.511e-05/0.7099, allocations: 119.5 kB / 0.7865 GB, free: 5.684 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009244/0.7108, allocations: 0.6642 MB / 0.7871 GB, free: 5.016 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001059/0.7109, allocations: 41.7 kB / 0.7872 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003286/0.7112, allocations: 408.4 kB / 0.7875 GB, free: 4.562 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002729/0.7115, allocations: 289.5 kB / 0.7878 GB, free: 4.277 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003545/0.7119, allocations: 202.5 kB / 0.788 GB, free: 4.074 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002219/0.7121, allocations: 390.7 kB / 0.7884 GB, free: 3.684 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001075/0.7132, allocations: 493.7 kB / 0.7889 GB, free: 3.199 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001409/0.7146, allocations: 0.7562 MB / 0.7896 GB, free: 2.332 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002491/0.7171, allocations: 1.285 MB / 0.7909 GB, free: 0.9492 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.247e-06/0.7171, allocations: 7.938 kB / 0.7909 GB, free: 0.9414 MB / 0.5919 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003715/0.7208, allocations: 1.653 MB / 0.7925 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/0.7208, allocations: 12.59 kB / 0.7925 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/0.7208, allocations: 8 kB / 0.7925 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007366/0.7282, allocations: 1.319 MB / 0.7938 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006562/0.7288, allocations: 151.7 kB / 0.7939 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00293/0.7318, allocations: 1.522 MB / 0.7954 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009461/0.7327, allocations: 60 kB / 0.7955 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001253/0.7328, allocations: 51.98 kB / 0.7955 GB, free: 12.12 MB / 0.6075 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.0005978/0.7334, allocations: 295.6 kB / 0.7958 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002477/0.7337, allocations: 87.48 kB / 0.7959 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003802/0.7375, allocations: 1.679 MB / 0.7975 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.541e-05/0.7375, allocations: 8 kB / 0.7975 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/0.7375, allocations: 3.938 kB / 0.7975 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.631e-05/0.7375, allocations: 7.969 kB / 0.7975 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00495/0.7425, allocations: 2.628 MB / 0.8001 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.7425, allocations: 0 / 0.8001 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001318/0.7438, allocations: 263.9 kB / 0.8004 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001796/0.7456, allocations: 376.3 kB / 0.8007 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.533e-05/0.7457, allocations: 31.98 kB / 0.8008 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00311/0.7488, allocations: 2.342 MB / 0.803 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.7488, allocations: 12.03 kB / 0.8031 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004236/0.753, allocations: 2.037 MB / 0.805 GB, free: 2.059 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000631/0.7537, allocations: 292.4 kB / 0.8053 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001516/0.7538, allocations: 24.03 kB / 0.8053 GB, free: 1.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008214/0.7546, allocations: 59.94 kB / 0.8054 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001752/0.7548, allocations: 64.84 kB / 0.8055 GB, free: 1.609 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001131/0.7549, allocations: 43.97 kB / 0.8055 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007235/0.7557, allocations: 0.499 MB / 0.806 GB, free: 1.07 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7.1e-08/0.7557, allocations: 0 / 0.806 GB, free: 1.07 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002334/0.758, allocations: 0.6896 MB / 0.8067 GB, free: 388 kB / 0.6075 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.006581/0.7646, allocations: 3.281 MB / 0.8099 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002915/0.7675, allocations: 1.186 MB / 0.811 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.7675, allocations: 0.9375 kB / 0.811 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001864/0.7694, allocations: 0.7007 MB / 0.8117 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002584/0.7719, allocations: 0.5103 MB / 0.8122 GB, free: 10.67 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01837/0.7903, allocations: 9.677 MB / 0.8217 GB, free: 0.6055 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008103/0.7911, allocations: 1.047 MB / 0.8227 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001153/0.7923, allocations: 370.5 kB / 0.823 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005553/0.7928, allocations: 335.2 kB / 0.8234 GB, free: 14.85 MB / 0.6387 GB Notification: Performance of SimCode: time 7.72e-07/0.7928, allocations: 0 / 0.8234 GB, free: 14.85 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3642/1.157, allocations: 44.05 MB / 0.8664 GB, free: 230.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.21/15.37, allocations: 11.89 kB / 0.8664 GB, free: 230.3 MB / 0.6387 GB " [Timeout remaining time 645] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","/var/lib/jenkins1/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: 18.922112709842622]