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.001664/0.001664, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001988/0.001988, allocations: 211.9 kB / 23.73 MB, free: 4.16 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.472/1.472, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.2261/0.2261, allocations: 44.93 MB / 358.8 MB, free: 6.043 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.00234/0.00234, allocations: 75.89 kB / 0.493 GB, free: 10.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3717/0.3741, allocations: 65.46 MB / 0.557 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.2403/0.6144, allocations: 168.7 MB / 0.7218 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01191/0.6263, allocations: 6.823 MB / 0.7284 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007883/0.6271, allocations: 27.75 kB / 0.7285 GB, free: 7.289 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001251/0.6283, allocations: 409.6 kB / 0.7288 GB, free: 6.887 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006687/0.635, allocations: 2.411 MB / 0.7312 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.006459/0.6415, allocations: 2.352 MB / 0.7335 GB, free: 2.117 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.4016/1.043, allocations: 2.212 MB / 0.7357 GB, free: 3.766 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001441/1.044, allocations: 0.4999 MB / 0.7361 GB, free: 3.734 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005995/1.05, allocations: 1.876 MB / 0.738 GB, free: 3.734 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001713/1.052, allocations: 0.8967 MB / 0.7389 GB, free: 3.734 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001907/1.052, allocations: 92.34 kB / 0.7389 GB, free: 3.734 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007914/1.06, allocations: 4.268 MB / 0.7431 GB, free: 3.734 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0008169/1.061, allocations: 446.5 kB / 0.7435 GB, free: 3.734 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007653/1.062, allocations: 466.9 kB / 0.744 GB, free: 3.734 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.008003/1.07, allocations: 3.684 MB / 0.7476 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/1.07, allocations: 0 / 0.7476 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.184e-06/1.07, allocations: 2.875 kB / 0.7476 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.829e-05/1.07, allocations: 0.875 kB / 0.7476 GB, free: 3.531 MB / 0.5606 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.004234/1.074, allocations: 1.694 MB / 0.7492 GB, free: 18.68 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/1.074, allocations: 12.91 kB / 0.7492 GB, free: 18.68 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000145/1.074, allocations: 127 kB / 0.7494 GB, free: 18.64 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003944/1.075, allocations: 116.3 kB / 0.7495 GB, free: 18.59 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001047/1.076, allocations: 0.5584 MB / 0.75 GB, free: 18.38 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001397/1.076, allocations: 174.7 kB / 0.7502 GB, free: 18.25 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/1.076, allocations: 68.8 kB / 0.7503 GB, free: 18.25 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001742/1.078, allocations: 1.563 MB / 0.7518 GB, free: 17.58 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.788e-05/1.078, allocations: 11.55 kB / 0.7518 GB, free: 17.58 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.958e-05/1.078, allocations: 33.03 kB / 0.7518 GB, free: 17.58 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.904e-05/1.078, allocations: 57.17 kB / 0.7519 GB, free: 17.57 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001594/1.08, allocations: 1.153 MB / 0.753 GB, free: 17.57 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.006031/1.086, allocations: 3.792 MB / 0.7567 GB, free: 16.12 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001579/1.087, allocations: 0.789 MB / 0.7575 GB, free: 16.09 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005652/1.088, allocations: 401.5 kB / 0.7579 GB, free: 16.08 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006511/1.088, allocations: 213.4 kB / 0.7581 GB, free: 16.08 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.269e-05/1.088, allocations: 43.12 kB / 0.7581 GB, free: 16.04 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 2.925e-06/1.088, allocations: 0.8438 kB / 0.7581 GB, free: 16.04 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.01233/1.101, allocations: 3.946 MB / 0.762 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.29e-05/1.101, allocations: 115.3 kB / 0.7621 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007776/1.102, allocations: 0.6779 MB / 0.7627 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001148/1.102, allocations: 39.42 kB / 0.7628 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000234/1.102, allocations: 394.9 kB / 0.7631 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001863/1.102, allocations: 310.3 kB / 0.7634 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002761/1.102, allocations: 192.4 kB / 0.7636 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002005/1.103, allocations: 393.5 kB / 0.764 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008378/1.103, allocations: 494.3 kB / 0.7645 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001028/1.104, allocations: 0.8076 MB / 0.7653 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001916/1.106, allocations: 1.284 MB / 0.7665 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/1.106, allocations: 2.25 kB / 0.7665 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003052/1.109, allocations: 1.666 MB / 0.7681 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/1.109, allocations: 7.594 kB / 0.7682 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/1.11, allocations: 6.5 kB / 0.7682 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006513/1.116, allocations: 1.311 MB / 0.7694 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006764/1.117, allocations: 156.2 kB / 0.7696 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002528/1.119, allocations: 1.531 MB / 0.7711 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009312/1.12, allocations: 52.19 kB / 0.7711 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001061/1.12, allocations: 55.53 kB / 0.7712 GB, free: 13.3 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.0005196/1.121, allocations: 290.9 kB / 0.7715 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001932/1.121, allocations: 95.31 kB / 0.7716 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002941/1.124, allocations: 1.677 MB / 0.7732 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/1.124, allocations: 10.33 kB / 0.7732 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/1.124, allocations: 0 / 0.7732 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/1.124, allocations: 6.906 kB / 0.7732 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003827/1.128, allocations: 2.37 MB / 0.7755 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.317e-06/1.128, allocations: 12.3 kB / 0.7755 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001175/1.129, allocations: 261.4 kB / 0.7758 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001589/1.131, allocations: 374.3 kB / 0.7761 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.04e-05/1.131, allocations: 29.89 kB / 0.7762 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002553/1.133, allocations: 2.254 MB / 0.7784 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/1.133, allocations: 2.875 kB / 0.7784 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003611/1.137, allocations: 2.032 MB / 0.7804 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006721/1.137, allocations: 219.9 kB / 0.7806 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001461/1.138, allocations: 24.69 kB / 0.7806 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007662/1.138, allocations: 56.3 kB / 0.7806 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001818/1.139, allocations: 66.39 kB / 0.7807 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001089/1.139, allocations: 43.72 kB / 0.7807 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007719/1.139, allocations: 0.5019 MB / 0.7812 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/1.139, allocations: 0 / 0.7812 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002406/1.142, allocations: 0.6924 MB / 0.7819 GB, free: 10.27 MB / 0.5762 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.005715/1.148, allocations: 3.296 MB / 0.7851 GB, free: 9.344 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002535/1.15, allocations: 1.19 MB / 0.7863 GB, free: 9.316 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/1.15, allocations: 2.625 kB / 0.7863 GB, free: 9.316 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00165/1.152, allocations: 0.6921 MB / 0.787 GB, free: 9.309 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002586/1.154, allocations: 0.5305 MB / 0.7875 GB, free: 9.23 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01661/1.171, allocations: 9.687 MB / 0.797 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005112/1.171, allocations: 450.1 kB / 0.7974 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001296/1.173, allocations: 374.5 kB / 0.7977 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004793/1.173, allocations: 336.3 kB / 0.7981 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of SimCode: time 1.062e-06/1.173, allocations: 0 / 0.7981 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09521/1.268, allocations: 45.08 MB / 0.8421 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.27/15.54, allocations: 2.656 kB / 0.8421 GB, free: 15.66 MB / 0.6231 GB " [Timeout remaining time 644] (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.823639936745167]