Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.00161/0.00161, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.002037/0.002037, allocations: 209.8 kB / 23.74 MB, free: 4.691 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.505/1.505, allocations: 230.6 MB / 257.5 MB, free: 8.008 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.2157/0.2157, allocations: 44.91 MB / 358.8 MB, free: 6.277 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.SimpleAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",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.002/0.002, allocations: 67.89 kB / 0.4931 GB, free: 10.69 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3318/0.3338, allocations: 65.47 MB / 0.557 GB, free: 7.395 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.1911/0.5249, allocations: 151.2 MB / 0.7047 GB, free: 15.88 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.009512/0.5344, allocations: 5.642 MB / 0.7102 GB, free: 10.22 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007592/0.5352, allocations: 27.75 kB / 0.7102 GB, free: 10.2 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001087/0.5363, allocations: 341.9 kB / 0.7105 GB, free: 9.859 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002279/0.5386, allocations: 0.8824 MB / 0.7114 GB, free: 8.973 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002805/0.5414, allocations: 1.051 MB / 0.7124 GB, free: 7.926 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00241/0.5438, allocations: 1.828 MB / 0.7142 GB, free: 6.09 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006462/0.5444, allocations: 393.6 kB / 0.7146 GB, free: 5.703 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001382/0.5458, allocations: 0.7864 MB / 0.7153 GB, free: 4.914 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001229/0.547, allocations: 0.7553 MB / 0.7161 GB, free: 4.156 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001182/0.5472, allocations: 64 kB / 0.7161 GB, free: 4.094 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001281/0.5484, allocations: 0.5888 MB / 0.7167 GB, free: 3.504 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003025/0.5487, allocations: 279.1 kB / 0.717 GB, free: 3.23 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004498/0.5492, allocations: 394.2 kB / 0.7174 GB, free: 2.844 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001624/0.5508, allocations: 1.18 MB / 0.7185 GB, free: 1.66 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.5508, allocations: 0 / 0.7185 GB, free: 1.66 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.924e-06/0.5508, allocations: 0 / 0.7185 GB, free: 1.66 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.979e-06/0.5508, allocations: 0 / 0.7185 GB, free: 1.66 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.002147/0.553, allocations: 0.995 MB / 0.7195 GB, free: 0.6328 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.553, allocations: 12.03 kB / 0.7195 GB, free: 0.6211 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001281/0.5531, allocations: 98.69 kB / 0.7196 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003486/0.5535, allocations: 104.3 kB / 0.7197 GB, free: 424 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009494/0.5544, allocations: 466.8 kB / 0.7201 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000166/0.5546, allocations: 164.3 kB / 0.7203 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.917e-05/0.5547, allocations: 48.12 kB / 0.7203 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001312/0.556, allocations: 0.811 MB / 0.7211 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.343e-05/0.556, allocations: 7.938 kB / 0.7211 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.642e-05/0.5561, allocations: 27.92 kB / 0.7212 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.928e-05/0.5562, allocations: 40.97 kB / 0.7212 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001086/0.5572, allocations: 0.6479 MB / 0.7218 GB, free: 14.1 MB / 0.5606 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.004931/0.5622, allocations: 3.916 MB / 0.7257 GB, free: 9.914 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008268/0.563, allocations: 411.5 kB / 0.7261 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003264/0.5633, allocations: 189.4 kB / 0.7262 GB, free: 9.316 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002959/0.5636, allocations: 60.27 kB / 0.7263 GB, free: 9.258 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.781e-05/0.5637, allocations: 50.83 kB / 0.7263 GB, free: 9.199 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=40): time 1.974e-06/0.5637, allocations: 0 / 0.7263 GB, free: 9.199 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45): time 0.003235/0.5669, allocations: 1.398 MB / 0.7277 GB, free: 7.77 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.429e-05/0.567, allocations: 132.5 kB / 0.7278 GB, free: 7.605 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007017/0.5677, allocations: 0.5733 MB / 0.7284 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.669e-05/0.5677, allocations: 33.7 kB / 0.7284 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003002/0.568, allocations: 363.8 kB / 0.7288 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001491/0.5682, allocations: 166.6 kB / 0.7289 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001909/0.5684, allocations: 138.6 kB / 0.7291 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002061/0.5686, allocations: 378.8 kB / 0.7294 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003762/0.569, allocations: 217.9 kB / 0.7296 GB, free: 5.723 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007028/0.5697, allocations: 0.5123 MB / 0.7301 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001169/0.5708, allocations: 0.764 MB / 0.7309 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.5708, allocations: 7.938 kB / 0.7309 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001801/0.5726, allocations: 0.9066 MB / 0.7318 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/0.5727, allocations: 8 kB / 0.7318 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.57e-05/0.5727, allocations: 12 kB / 0.7318 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001427/0.5741, allocations: 284.7 kB / 0.7321 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004058/0.5745, allocations: 123.8 kB / 0.7322 GB, free: 2.832 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001093/0.5756, allocations: 0.8863 MB / 0.733 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004387/0.5761, allocations: 32.06 kB / 0.7331 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.253e-05/0.5761, allocations: 36 kB / 0.7331 GB, free: 1.855 MB / 0.5606 GB 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.0003703/0.5765, allocations: 253.4 kB / 0.7334 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/0.5766, allocations: 67.58 kB / 0.7334 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001324/0.5779, allocations: 0.6921 MB / 0.7341 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.812e-05/0.5779, allocations: 4 kB / 0.7341 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.578, allocations: 0 / 0.7341 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.578, allocations: 7.922 kB / 0.7341 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2811/0.8591, allocations: 1.306 MB / 0.7354 GB, free: 177.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.247e-06/0.8591, allocations: 2.078 kB / 0.7354 GB, free: 177.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001309/0.8604, allocations: 207.9 kB / 0.7356 GB, free: 177.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001291/0.8605, allocations: 27.05 kB / 0.7356 GB, free: 177.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.852e-05/0.8606, allocations: 11.02 kB / 0.7356 GB, free: 177.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001872/0.8624, allocations: 2.676 MB / 0.7382 GB, free: 175 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.8624, allocations: 5 kB / 0.7382 GB, free: 175 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002002/0.8645, allocations: 0.9382 MB / 0.7391 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004961/0.8649, allocations: 134.1 kB / 0.7393 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/0.8651, allocations: 9.875 kB / 0.7393 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000432/0.8655, allocations: 17.88 kB / 0.7393 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001307/0.8656, allocations: 41.12 kB / 0.7393 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.948e-05/0.8657, allocations: 27.17 kB / 0.7394 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006469/0.8663, allocations: 425.8 kB / 0.7398 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.8663, allocations: 0 / 0.7398 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009058/0.8672, allocations: 229.7 kB / 0.74 GB, free: 174.2 MB / 0.5606 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.001822/0.8691, allocations: 1.624 MB / 0.7416 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001252/0.8703, allocations: 0.5849 MB / 0.7421 GB, free: 173 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.8703, allocations: 0 / 0.7421 GB, free: 173 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00095/0.8713, allocations: 451.5 kB / 0.7426 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001799/0.8731, allocations: 380.6 kB / 0.7429 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008078/0.8811, allocations: 6.493 MB / 0.7493 GB, free: 166.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003211/0.8815, allocations: 0.9421 MB / 0.7502 GB, free: 165.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000644/0.8821, allocations: 209.4 kB / 0.7504 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002627/0.8824, allocations: 235.4 kB / 0.7506 GB, free: 165.5 MB / 0.5606 GB Notification: Performance of SimCode: time 1.543e-06/0.8824, allocations: 0 / 0.7506 GB, free: 165.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05558/0.9379, allocations: 23.18 MB / 0.7733 GB, free: 142.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.41/15.34, allocations: 10.42 kB / 0.7733 GB, free: 142.6 MB / 0.5606 GB " [Timeout remaining time 645] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.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_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.46999423899979]