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.001349/0.001349, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.00166/0.00166, allocations: 216.5 kB / 23.75 MB, free: 4.668 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.481/1.481, allocations: 230.6 MB / 257.5 MB, free: 7.984 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.224/0.224, allocations: 44.9 MB / 358.8 MB, free: 6.273 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.002077/0.002077, allocations: 67.91 kB / 0.4931 GB, free: 10.69 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3511/0.3531, allocations: 65.46 MB / 0.557 GB, free: 7.543 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.6287/0.9818, allocations: 195 MB / 0.7475 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008005/0.9898, allocations: 7.517 MB / 0.7548 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009224/0.9907, allocations: 27.59 kB / 0.7548 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001135/0.9919, allocations: 453 kB / 0.7553 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005573/0.9974, allocations: 2.415 MB / 0.7576 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.006146/1.004, allocations: 2.368 MB / 0.76 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002732/1.006, allocations: 2.231 MB / 0.7621 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007452/1.007, allocations: 0.5097 MB / 0.7626 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004045/1.011, allocations: 1.877 MB / 0.7645 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001401/1.013, allocations: 0.9132 MB / 0.7654 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001894/1.013, allocations: 93.56 kB / 0.7654 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008975/1.022, allocations: 5.465 MB / 0.7708 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0008628/1.023, allocations: 442.8 kB / 0.7712 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0009612/1.023, allocations: 0.5328 MB / 0.7717 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01038/1.034, allocations: 3.848 MB / 0.7755 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/1.034, allocations: 0 / 0.7755 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.335e-06/1.034, allocations: 1.031 kB / 0.7755 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.503e-05/1.034, allocations: 0 / 0.7755 GB, free: 1.223 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.00581/1.04, allocations: 1.701 MB / 0.7771 GB, free: 16.37 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.706e-05/1.04, allocations: 9.75 kB / 0.7772 GB, free: 16.37 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000217/1.04, allocations: 125.4 kB / 0.7773 GB, free: 16.33 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000637/1.041, allocations: 114.5 kB / 0.7774 GB, free: 16.29 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001446/1.042, allocations: 0.5566 MB / 0.7779 GB, free: 16.07 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000173/1.042, allocations: 169.7 kB / 0.7781 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001305/1.042, allocations: 81.66 kB / 0.7782 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002419/1.045, allocations: 1.154 MB / 0.7793 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.702e-05/1.045, allocations: 3.406 kB / 0.7793 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001381/1.045, allocations: 30.92 kB / 0.7793 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001138/1.045, allocations: 64.97 kB / 0.7794 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002567/1.048, allocations: 1.166 MB / 0.7805 GB, free: 15.74 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.00991/1.058, allocations: 4.92 MB / 0.7853 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002254/1.06, allocations: 0.786 MB / 0.7861 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008897/1.061, allocations: 413.8 kB / 0.7865 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008602/1.062, allocations: 222.6 kB / 0.7867 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.497e-05/1.062, allocations: 45.94 kB / 0.7867 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 3.406e-06/1.062, allocations: 2.781 kB / 0.7868 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.01702/1.079, allocations: 3.936 MB / 0.7906 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/1.079, allocations: 112 kB / 0.7907 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001047/1.08, allocations: 0.6657 MB / 0.7914 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001423/1.08, allocations: 41.83 kB / 0.7914 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003475/1.08, allocations: 395.1 kB / 0.7918 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003299/1.081, allocations: 300.8 kB / 0.7921 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003914/1.081, allocations: 199.1 kB / 0.7922 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002736/1.081, allocations: 399.4 kB / 0.7926 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001264/1.083, allocations: 489.2 kB / 0.7931 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001552/1.084, allocations: 0.7527 MB / 0.7938 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00307/1.087, allocations: 1.286 MB / 0.7951 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.083e-05/1.087, allocations: 4.125 kB / 0.7951 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.005045/1.092, allocations: 1.659 MB / 0.7967 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.13e-05/1.092, allocations: 9.688 kB / 0.7967 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.882e-05/1.092, allocations: 8.5 kB / 0.7967 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009471/1.102, allocations: 1.306 MB / 0.798 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009644/1.103, allocations: 153.9 kB / 0.7981 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003883/1.107, allocations: 1.539 MB / 0.7996 GB, free: 9.656 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001328/1.108, allocations: 57.56 kB / 0.7997 GB, free: 9.641 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001656/1.108, allocations: 50.95 kB / 0.7998 GB, free: 9.637 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.0007197/1.109, allocations: 298.2 kB / 0.8 GB, free: 9.496 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003283/1.109, allocations: 90.39 kB / 0.8001 GB, free: 9.449 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004404/1.114, allocations: 1.682 MB / 0.8018 GB, free: 8.996 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.816e-05/1.114, allocations: 10.84 kB / 0.8018 GB, free: 8.996 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/1.114, allocations: 0 / 0.8018 GB, free: 8.996 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.017e-05/1.114, allocations: 3.984 kB / 0.8018 GB, free: 8.992 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00623/1.12, allocations: 2.531 MB / 0.8043 GB, free: 8.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.225e-05/1.12, allocations: 2.688 kB / 0.8043 GB, free: 8.16 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001821/1.122, allocations: 258.4 kB / 0.8045 GB, free: 8.109 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002295/1.124, allocations: 375.3 kB / 0.8049 GB, free: 7.93 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001509/1.124, allocations: 37.3 kB / 0.8049 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003995/1.128, allocations: 2.256 MB / 0.8071 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/1.128, allocations: 0 / 0.8071 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00587/1.134, allocations: 2.04 MB / 0.8091 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009945/1.135, allocations: 216.7 kB / 0.8093 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002278/1.135, allocations: 22.38 kB / 0.8093 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001128/1.136, allocations: 55.06 kB / 0.8094 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002179/1.137, allocations: 67.3 kB / 0.8094 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001477/1.137, allocations: 47.77 kB / 0.8095 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001077/1.138, allocations: 0.4949 MB / 0.81 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/1.138, allocations: 0 / 0.81 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003258/1.141, allocations: 0.6936 MB / 0.8106 GB, free: 2.93 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.009354/1.15, allocations: 3.308 MB / 0.8139 GB, free: 48 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004301/1.155, allocations: 1.184 MB / 0.815 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.627e-05/1.155, allocations: 8.188 kB / 0.815 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002727/1.157, allocations: 0.6882 MB / 0.8157 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00391/1.161, allocations: 0.5126 MB / 0.8162 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0227/1.184, allocations: 9.696 MB / 0.8257 GB, free: 3.703 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001022/1.185, allocations: 1.047 MB / 0.8267 GB, free: 2.625 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001251/1.186, allocations: 366.9 kB / 0.827 GB, free: 2.273 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006158/1.187, allocations: 328.4 kB / 0.8274 GB, free: 1.953 MB / 0.5919 GB Notification: Performance of SimCode: time 1.112e-06/1.187, allocations: 0 / 0.8274 GB, free: 1.953 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1054/1.292, allocations: 45.02 MB / 0.8713 GB, free: 5.27 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.95/16.24, allocations: 4 kB / 0.8713 GB, free: 5.266 MB / 0.6387 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: 19.611635084998852]