Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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.00119/0.00119, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.001559/0.001559, allocations: 174 kB / 23.94 MB, free: 0.6172 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.92/0.92, allocations: 177.1 MB / 204.2 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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.2582/0.2582, allocations: 32.79 MB / 293.5 MB, free: 1.215 MB / 266.7 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.IdealGases.Air,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 439.6 MB, free: 4.223 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.304e-05/2.505e-05, allocations: 4.391 kB / 439.6 MB, free: 4.219 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.3217/0.3217, allocations: 153.8 MB / 0.5795 GB, free: 10.76 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.005463/0.3272, allocations: 4.919 MB / 0.5843 GB, free: 5.832 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003037/0.3275, allocations: 27.75 kB / 0.5843 GB, free: 5.805 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007149/0.3282, allocations: 313.8 kB / 0.5846 GB, free: 5.496 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002126/0.3303, allocations: 1.317 MB / 0.5859 GB, free: 4.18 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00146/0.3318, allocations: 1.018 MB / 0.5869 GB, free: 3.168 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001462/0.3332, allocations: 1.875 MB / 0.5887 GB, free: 1.289 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003828/0.3336, allocations: 396.5 kB / 0.5891 GB, free: 0.8984 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00147/0.3351, allocations: 1.355 MB / 0.5904 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005809/0.3357, allocations: 0.635 MB / 0.5911 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 7.235e-05/0.3357, allocations: 64 kB / 0.5911 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007833/0.3365, allocations: 0.5576 MB / 0.5917 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003475/0.3369, allocations: 283.1 kB / 0.5919 GB, free: 14 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001962/0.3371, allocations: 291.3 kB / 0.5922 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001049/0.3381, allocations: 1.383 MB / 0.5936 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.3381, allocations: 0 / 0.5936 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3381, allocations: 0 / 0.5936 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.804e-06/0.3381, allocations: 0 / 0.5936 GB, free: 12.33 MB / 0.4948 GB 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.001316/0.3394, allocations: 1.038 MB / 0.5946 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.3395, allocations: 12.02 kB / 0.5946 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.521e-05/0.3396, allocations: 96.02 kB / 0.5947 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004086/0.34, allocations: 139.5 kB / 0.5948 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005653/0.3405, allocations: 485.3 kB / 0.5953 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.895e-05/0.3406, allocations: 151.8 kB / 0.5954 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.033e-05/0.3407, allocations: 51.98 kB / 0.5955 GB, free: 10.28 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001172/0.3419, allocations: 1.136 MB / 0.5966 GB, free: 8.988 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.3419, allocations: 4 kB / 0.5966 GB, free: 8.984 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.664e-05/0.342, allocations: 24 kB / 0.5966 GB, free: 8.961 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.702e-05/0.342, allocations: 40.92 kB / 0.5967 GB, free: 8.922 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006661/0.3427, allocations: 0.6205 MB / 0.5973 GB, free: 8.301 MB / 0.4948 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.002527/0.3452, allocations: 3.305 MB / 0.6005 GB, free: 4.883 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003956/0.3456, allocations: 339.6 kB / 0.6008 GB, free: 4.543 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001754/0.3458, allocations: 157.3 kB / 0.601 GB, free: 4.387 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.943e-05/0.3458, allocations: 16.27 kB / 0.601 GB, free: 4.371 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.3458, allocations: 41.19 kB / 0.601 GB, free: 4.324 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=34): time 1.272e-06/0.3459, allocations: 0 / 0.601 GB, free: 4.324 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39): time 0.003326/0.3492, allocations: 1.612 MB / 0.6026 GB, free: 2.664 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.961e-05/0.3492, allocations: 132.5 kB / 0.6027 GB, free: 2.504 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004689/0.3497, allocations: 0.6326 MB / 0.6033 GB, free: 1.859 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.629e-05/0.3497, allocations: 37.7 kB / 0.6034 GB, free: 1.816 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001763/0.3499, allocations: 371.8 kB / 0.6037 GB, free: 1.449 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.036e-05/0.35, allocations: 150.7 kB / 0.6039 GB, free: 1.301 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001381/0.3501, allocations: 158.6 kB / 0.604 GB, free: 1.141 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.3502, allocations: 374.8 kB / 0.6044 GB, free: 0.7656 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002405/0.3505, allocations: 205.9 kB / 0.6046 GB, free: 0.5625 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003881/0.3509, allocations: 0.588 MB / 0.6051 GB, free: 15.81 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006362/0.3515, allocations: 0.7487 MB / 0.6059 GB, free: 14.92 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.3515, allocations: 4 kB / 0.6059 GB, free: 14.92 MB / 0.5105 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0009076/0.3524, allocations: 0.8843 MB / 0.6067 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.3524, allocations: 8 kB / 0.6068 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.3524, allocations: 12 kB / 0.6068 GB, free: 14 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007352/0.3532, allocations: 311.5 kB / 0.6071 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002276/0.3534, allocations: 123.8 kB / 0.6072 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007608/0.3542, allocations: 0.938 MB / 0.6081 GB, free: 12.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002423/0.3544, allocations: 20 kB / 0.6081 GB, free: 12.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.188e-05/0.3545, allocations: 73.31 kB / 0.6082 GB, free: 12.53 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (67): * Single equations (assignments): 66 * 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,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0002249/0.3547, allocations: 250.8 kB / 0.6084 GB, free: 12.27 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.601e-05/0.3548, allocations: 75.52 kB / 0.6085 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001292/0.3561, allocations: 0.8617 MB / 0.6093 GB, free: 11.33 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.3561, allocations: 4 kB / 0.6093 GB, free: 11.32 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.3561, allocations: 4 kB / 0.6093 GB, free: 11.32 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.3561, allocations: 0 / 0.6093 GB, free: 11.32 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001217/0.3573, allocations: 1.137 MB / 0.6105 GB, free: 10.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.3573, allocations: 6.438 kB / 0.6105 GB, free: 10.11 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005474/0.3578, allocations: 215.7 kB / 0.6107 GB, free: 9.898 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.734e-05/0.3579, allocations: 20.84 kB / 0.6107 GB, free: 9.875 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.05e-05/0.3579, allocations: 23.98 kB / 0.6107 GB, free: 9.852 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001339/0.3593, allocations: 2.664 MB / 0.6133 GB, free: 6.961 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.3593, allocations: 4.031 kB / 0.6133 GB, free: 6.957 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008231/0.3601, allocations: 0.8242 MB / 0.6141 GB, free: 6.098 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000159/0.3603, allocations: 115.5 kB / 0.6142 GB, free: 5.984 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.813e-05/0.3603, allocations: 8 kB / 0.6142 GB, free: 5.977 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002007/0.3605, allocations: 15.98 kB / 0.6143 GB, free: 5.961 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.748e-05/0.3606, allocations: 51.81 kB / 0.6143 GB, free: 5.91 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.447e-05/0.3606, allocations: 47.92 kB / 0.6143 GB, free: 5.863 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003424/0.361, allocations: 439 kB / 0.6148 GB, free: 5.438 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.361, allocations: 0 / 0.6148 GB, free: 5.438 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005771/0.3615, allocations: 251.8 kB / 0.615 GB, free: 5.191 MB / 0.5105 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.001663/0.3632, allocations: 1.546 MB / 0.6165 GB, free: 3.594 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006976/0.3639, allocations: 0.5353 MB / 0.617 GB, free: 3.059 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3639, allocations: 0 / 0.617 GB, free: 3.059 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005672/0.3645, allocations: 402.4 kB / 0.6174 GB, free: 2.652 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009416/0.3654, allocations: 379.7 kB / 0.6178 GB, free: 2.305 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006205/0.3716, allocations: 6.274 MB / 0.6239 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002197/0.3718, allocations: 340.7 kB / 0.6242 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006449/0.3725, allocations: 462.6 kB / 0.6247 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004021/0.3729, allocations: 280.4 kB / 0.6249 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of SimCode: time 1.312e-06/0.3729, allocations: 0 / 0.6249 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2272/0.6001, allocations: 25.67 MB / 0.65 GB, free: 164.2 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.72/9.32, allocations: 10.59 kB / 0.65 GB, free: 164.2 MB / 0.5261 GB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_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_IdealGases_Air.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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: 11.494945241138339]