Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.000997/0.000997, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0008299/0.0008299, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8888/0.8888, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2531/0.2531, allocations: 34.25 MB / 294.9 MB, free: 0.7148 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.SimpleAir,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 442.2 MB, free: 1.645 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.362e-05/2.55e-05, allocations: 2.281 kB / 442.2 MB, free: 1.641 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.2943/0.2943, allocations: 130.2 MB / 0.559 GB, free: 14.44 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.005674/0.3, allocations: 5.172 MB / 0.564 GB, free: 9.254 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004984/0.3005, allocations: 23.75 kB / 0.564 GB, free: 9.23 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009378/0.3014, allocations: 325.8 kB / 0.5644 GB, free: 8.91 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001762/0.3032, allocations: 0.9127 MB / 0.5652 GB, free: 7.992 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002137/0.3053, allocations: 1.085 MB / 0.5663 GB, free: 6.918 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.001703/0.307, allocations: 1.824 MB / 0.5681 GB, free: 5.09 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004823/0.3075, allocations: 401.5 kB / 0.5685 GB, free: 4.691 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001092/0.3086, allocations: 0.9933 MB / 0.5694 GB, free: 3.695 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009607/0.3095, allocations: 0.6973 MB / 0.5701 GB, free: 2.996 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 8.321e-05/0.3096, allocations: 64 kB / 0.5702 GB, free: 2.934 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007924/0.3104, allocations: 494.9 kB / 0.5707 GB, free: 2.449 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002004/0.3106, allocations: 291.1 kB / 0.5709 GB, free: 2.164 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002198/0.3108, allocations: 279.4 kB / 0.5712 GB, free: 1.891 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001017/0.3118, allocations: 1.207 MB / 0.5724 GB, free: 0.6797 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3118, allocations: 0 / 0.5724 GB, free: 0.6797 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3119, allocations: 0 / 0.5724 GB, free: 0.6797 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.3119, allocations: 0 / 0.5724 GB, free: 0.6797 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001398/0.3133, allocations: 0.995 MB / 0.5733 GB, free: 15.65 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.3133, allocations: 8.031 kB / 0.5734 GB, free: 15.64 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.293e-05/0.3134, allocations: 106.6 kB / 0.5735 GB, free: 15.53 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000209/0.3136, allocations: 92.45 kB / 0.5735 GB, free: 15.44 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005809/0.3142, allocations: 482 kB / 0.574 GB, free: 14.94 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001082/0.3143, allocations: 160.4 kB / 0.5742 GB, free: 14.76 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.309e-05/0.3144, allocations: 51.75 kB / 0.5742 GB, free: 14.71 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009569/0.3153, allocations: 1.138 MB / 0.5753 GB, free: 13.43 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/0.3153, allocations: 11.88 kB / 0.5753 GB, free: 13.41 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.248e-05/0.3154, allocations: 19.98 kB / 0.5753 GB, free: 13.39 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.643e-05/0.3154, allocations: 42.48 kB / 0.5754 GB, free: 13.36 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000766/0.3162, allocations: 0.6479 MB / 0.576 GB, free: 12.71 MB / 490.7 MB 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.003048/0.3192, allocations: 3.148 MB / 0.5791 GB, free: 9.453 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000563/0.3198, allocations: 400.3 kB / 0.5795 GB, free: 9.051 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002057/0.32, allocations: 196.5 kB / 0.5797 GB, free: 8.859 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001798/0.3202, allocations: 64.27 kB / 0.5797 GB, free: 8.797 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.3202, allocations: 38.89 kB / 0.5798 GB, free: 8.75 MB / 490.7 MB Notification: Performance of pre-optimization done (n=40): time 1.723e-06/0.3202, allocations: 0 / 0.5798 GB, free: 8.75 MB / 490.7 MB Notification: Performance of matching and sorting (n=45): time 0.00207/0.3223, allocations: 1.406 MB / 0.5811 GB, free: 7.309 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.57e-05/0.3223, allocations: 132.5 kB / 0.5813 GB, free: 7.148 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004495/0.3228, allocations: 0.5809 MB / 0.5818 GB, free: 6.559 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.247e-05/0.3228, allocations: 37.7 kB / 0.5819 GB, free: 6.516 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001814/0.323, allocations: 363.9 kB / 0.5822 GB, free: 6.156 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.75e-05/0.3231, allocations: 170.5 kB / 0.5824 GB, free: 5.988 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/0.3232, allocations: 138.5 kB / 0.5825 GB, free: 5.848 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.3233, allocations: 382.8 kB / 0.5829 GB, free: 5.465 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002434/0.3236, allocations: 220.2 kB / 0.5831 GB, free: 5.25 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006785/0.3243, allocations: 0.5838 MB / 0.5837 GB, free: 4.512 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006613/0.3249, allocations: 0.7572 MB / 0.5844 GB, free: 3.625 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.3249, allocations: 4 kB / 0.5844 GB, free: 3.621 MB / 490.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001014/0.3259, allocations: 0.9104 MB / 0.5853 GB, free: 2.707 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.326, allocations: 13.72 kB / 0.5853 GB, free: 2.695 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.326, allocations: 8 kB / 0.5853 GB, free: 2.688 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007269/0.3267, allocations: 293.2 kB / 0.5856 GB, free: 2.398 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002085/0.3269, allocations: 123.8 kB / 0.5857 GB, free: 2.277 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007517/0.3276, allocations: 0.8827 MB / 0.5866 GB, free: 1.371 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003299/0.328, allocations: 27.98 kB / 0.5866 GB, free: 1.344 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.481e-05/0.328, allocations: 40 kB / 0.5866 GB, free: 1.305 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (71): * Single equations (assignments): 70 * 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 {(2,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0002753/0.3283, allocations: 242.6 kB / 0.5869 GB, free: 1.059 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.3284, allocations: 79.53 kB / 0.5869 GB, free: 0.9805 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001085/0.3295, allocations: 0.6976 MB / 0.5876 GB, free: 280 kB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.359e-05/0.3295, allocations: 4 kB / 0.5876 GB, free: 276 kB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/0.3295, allocations: 1.312 kB / 0.5876 GB, free: 276 kB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/0.3295, allocations: 3.984 kB / 0.5876 GB, free: 272 kB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001614/0.3311, allocations: 1.237 MB / 0.5888 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.3311, allocations: 0 / 0.5888 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007117/0.3319, allocations: 199.8 kB / 0.589 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.405e-05/0.3319, allocations: 33.02 kB / 0.5891 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.119e-05/0.332, allocations: 12 kB / 0.5891 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001942/0.3339, allocations: 2.663 MB / 0.5917 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.3339, allocations: 4.031 kB / 0.5917 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00115/0.3351, allocations: 0.9412 MB / 0.5926 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002137/0.3353, allocations: 127.4 kB / 0.5927 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.424e-05/0.3353, allocations: 12 kB / 0.5927 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002766/0.3356, allocations: 15.98 kB / 0.5927 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.397e-05/0.3357, allocations: 47.81 kB / 0.5928 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-05/0.3357, allocations: 19.98 kB / 0.5928 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004239/0.3362, allocations: 439.1 kB / 0.5932 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.3362, allocations: 0 / 0.5932 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0007316/0.3369, allocations: 223.8 kB / 0.5934 GB, free: 9.988 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,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 (47): * Single equations (assignments): 43 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001744/0.3386, allocations: 1.631 MB / 0.595 GB, free: 8.309 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001092/0.3397, allocations: 0.5811 MB / 0.5956 GB, free: 7.73 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.3397, allocations: 1.625 kB / 0.5956 GB, free: 7.73 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008606/0.3406, allocations: 446.6 kB / 0.596 GB, free: 7.281 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001435/0.342, allocations: 374.7 kB / 0.5964 GB, free: 6.941 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008949/0.351, allocations: 6.415 MB / 0.6026 GB, free: 144 kB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003239/0.3513, allocations: 345.4 kB / 0.603 GB, free: 15.78 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006184/0.3519, allocations: 208.5 kB / 0.6032 GB, free: 15.58 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003028/0.3522, allocations: 232.4 kB / 0.6034 GB, free: 15.36 MB / 0.5105 GB Notification: Performance of SimCode: time 1.032e-06/0.3522, allocations: 0 / 0.6034 GB, free: 15.36 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0493/0.4015, allocations: 24.12 MB / 0.627 GB, free: 7.652 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.562/8.964, allocations: 19.92 kB / 0.627 GB, free: 7.633 MB / 0.5261 GB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_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_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.csv. Warning: Get data of variable Time from file ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.24758105352521]