Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001399/0.001399, allocations: 107.5 kB / 19.69 MB, free: 2.203 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.001451/0.001451, allocations: 224.6 kB / 23.01 MB, free: 5.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.491/1.491, allocations: 207.6 MB / 233.8 MB, free: 9.977 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2508/0.2508, allocations: 44.24 MB / 330.3 MB, free: 9.523 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002176/0.002176, allocations: 79.11 kB / 467.5 MB, free: 4.5 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1384, allocations: 61.03 MB / 0.5162 GB, free: 7.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.5296/0.668, allocations: 180.5 MB / 0.6925 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01206/0.68, allocations: 8.278 MB / 0.7006 GB, free: 6.863 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008153/0.6809, allocations: 27.75 kB / 0.7006 GB, free: 6.836 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001092/0.682, allocations: 314 kB / 0.7009 GB, free: 6.527 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004426/0.6864, allocations: 1.534 MB / 0.7024 GB, free: 4.996 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003391/0.6898, allocations: 1.187 MB / 0.7035 GB, free: 3.812 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002841/0.6926, allocations: 1.872 MB / 0.7054 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006929/0.6933, allocations: 401.5 kB / 0.7057 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003136/0.6964, allocations: 1.265 MB / 0.707 GB, free: 276 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001121/0.6976, allocations: 0.7007 MB / 0.7077 GB, free: 15.57 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001047/0.6977, allocations: 60 kB / 0.7077 GB, free: 15.51 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001984/0.6997, allocations: 0.8543 MB / 0.7086 GB, free: 14.65 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000313/0.7, allocations: 267.1 kB / 0.7088 GB, free: 14.39 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004762/0.7004, allocations: 406.2 kB / 0.7092 GB, free: 13.99 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002046/0.7025, allocations: 1.417 MB / 0.7106 GB, free: 12.57 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.7025, allocations: 4 kB / 0.7106 GB, free: 12.57 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.433e-06/0.7025, allocations: 0 / 0.7106 GB, free: 12.57 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.514e-05/0.7025, allocations: 0 / 0.7106 GB, free: 12.57 MB / 0.545 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.002315/0.7048, allocations: 1.084 MB / 0.7116 GB, free: 11.45 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/0.7049, allocations: 12.03 kB / 0.7117 GB, free: 11.44 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000147/0.705, allocations: 102.4 kB / 0.7118 GB, free: 11.33 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008122/0.7058, allocations: 143.5 kB / 0.7119 GB, free: 11.19 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009808/0.7068, allocations: 481.4 kB / 0.7123 GB, free: 10.69 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001535/0.707, allocations: 155.8 kB / 0.7125 GB, free: 10.51 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/0.7071, allocations: 48 kB / 0.7125 GB, free: 10.46 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001234/0.7083, allocations: 0.8097 MB / 0.7133 GB, free: 9.574 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.547e-05/0.7083, allocations: 7.938 kB / 0.7133 GB, free: 9.566 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.184e-05/0.7084, allocations: 23.98 kB / 0.7134 GB, free: 9.543 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.445e-05/0.7085, allocations: 40.98 kB / 0.7134 GB, free: 9.504 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001026/0.7095, allocations: 0.6166 MB / 0.714 GB, free: 8.887 MB / 0.545 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.004718/0.7142, allocations: 3.949 MB / 0.7179 GB, free: 4.691 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005738/0.7148, allocations: 343.6 kB / 0.7182 GB, free: 4.348 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002617/0.715, allocations: 157.3 kB / 0.7183 GB, free: 4.191 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003562/0.7154, allocations: 130.1 kB / 0.7185 GB, free: 4.066 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.771e-05/0.7154, allocations: 38.84 kB / 0.7185 GB, free: 4.02 MB / 0.545 GB Notification: Performance of pre-optimization done (n=34): time 1.723e-06/0.7154, allocations: 0 / 0.7185 GB, free: 4.02 MB / 0.545 GB Notification: Performance of matching and sorting (n=39): time 0.005827/0.7213, allocations: 1.599 MB / 0.7201 GB, free: 2.371 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/0.7214, allocations: 136.5 kB / 0.7202 GB, free: 2.207 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000841/0.7222, allocations: 0.6133 MB / 0.7208 GB, free: 1.586 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.661e-05/0.7223, allocations: 37.7 kB / 0.7208 GB, free: 1.543 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003301/0.7226, allocations: 371.9 kB / 0.7212 GB, free: 1.176 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001457/0.7227, allocations: 154.7 kB / 0.7213 GB, free: 1.023 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002232/0.723, allocations: 154.6 kB / 0.7215 GB, free: 0.8672 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002027/0.7232, allocations: 374.8 kB / 0.7218 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003494/0.7235, allocations: 205.9 kB / 0.722 GB, free: 300 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006221/0.7241, allocations: 0.5086 MB / 0.7225 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001075/0.7252, allocations: 0.7561 MB / 0.7233 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/0.7252, allocations: 4 kB / 0.7233 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001563/0.7268, allocations: 0.8722 MB / 0.7241 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.553e-05/0.7268, allocations: 12 kB / 0.7241 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/0.7268, allocations: 8 kB / 0.7241 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001474/0.7283, allocations: 312.7 kB / 0.7244 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000407/0.7287, allocations: 127.8 kB / 0.7246 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001237/0.7299, allocations: 0.9353 MB / 0.7255 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005438/0.7305, allocations: 30.48 kB / 0.7255 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001024/0.7306, allocations: 67.98 kB / 0.7256 GB, free: 12.36 MB / 0.5606 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.0003984/0.731, allocations: 249.5 kB / 0.7258 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001294/0.7311, allocations: 71.58 kB / 0.7259 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001368/0.7325, allocations: 0.6679 MB / 0.7265 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/0.7325, allocations: 4 kB / 0.7265 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.7325, allocations: 0 / 0.7265 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.7325, allocations: 5.172 kB / 0.7265 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002322/0.7348, allocations: 1.289 MB / 0.7278 GB, free: 9.973 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/0.7348, allocations: 4 kB / 0.7278 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001052/0.7359, allocations: 211.9 kB / 0.728 GB, free: 9.762 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.703e-05/0.736, allocations: 24.78 kB / 0.728 GB, free: 9.734 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.656e-05/0.736, allocations: 16 kB / 0.728 GB, free: 9.719 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002325/0.7384, allocations: 2.67 MB / 0.7306 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.7384, allocations: 0 / 0.7306 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001423/0.7398, allocations: 0.8131 MB / 0.7314 GB, free: 5.98 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003438/0.7401, allocations: 119.5 kB / 0.7316 GB, free: 5.863 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.477e-05/0.7402, allocations: 12 kB / 0.7316 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003831/0.7406, allocations: 15.98 kB / 0.7316 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.7407, allocations: 47.94 kB / 0.7316 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.648e-05/0.7408, allocations: 43.92 kB / 0.7317 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005951/0.7414, allocations: 443 kB / 0.7321 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.7414, allocations: 0 / 0.7321 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001052/0.7424, allocations: 291.7 kB / 0.7324 GB, free: 5.035 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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.002523/0.745, allocations: 1.617 MB / 0.7339 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001247/0.7462, allocations: 0.5277 MB / 0.7345 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.7462, allocations: 0 / 0.7345 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001011/0.7472, allocations: 410.4 kB / 0.7349 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001668/0.7489, allocations: 373.2 kB / 0.7352 GB, free: 2.074 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009515/0.7584, allocations: 6.314 MB / 0.7414 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006398/0.759, allocations: 0.926 MB / 0.7423 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008514/0.7599, allocations: 262 kB / 0.7425 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004768/0.7604, allocations: 271.3 kB / 0.7428 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of SimCode: time 1.052e-06/0.7604, allocations: 4 kB / 0.7428 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3094/1.07, allocations: 26.06 MB / 0.7682 GB, free: 217.3 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.84/14.91, allocations: 8.375 kB / 0.7682 GB, free: 217.3 MB / 0.5919 GB " [Timeout remaining time 645] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 18.101742599996214]