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.001238/0.001238, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001321/0.001321, allocations: 203.6 kB / 23.73 MB, free: 4.379 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.454/1.454, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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.2412/0.2412, allocations: 46.97 MB / 360.9 MB, free: 4.023 MB / 286.1 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 0.001965/0.001965, allocations: 71.89 kB / 0.4961 GB, free: 7.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3607/0.3626, allocations: 66.03 MB / 0.5606 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.1796/0.5423, allocations: 130.3 MB / 0.6878 GB, free: 1.434 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.008114/0.5504, allocations: 5.168 MB / 0.6929 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00055/0.5509, allocations: 31.69 kB / 0.6929 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0009277/0.5519, allocations: 322 kB / 0.6932 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001951/0.5538, allocations: 0.8862 MB / 0.6941 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002841/0.5566, allocations: 1.055 MB / 0.6951 GB, free: 9.965 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002107/0.5588, allocations: 1.825 MB / 0.6969 GB, free: 8.133 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005603/0.5593, allocations: 393.6 kB / 0.6973 GB, free: 7.746 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001175/0.5605, allocations: 0.7941 MB / 0.698 GB, free: 6.949 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001048/0.5615, allocations: 0.7514 MB / 0.6988 GB, free: 6.195 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.000126/0.5617, allocations: 60 kB / 0.6988 GB, free: 6.137 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001073/0.5627, allocations: 495.1 kB / 0.6993 GB, free: 5.652 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002808/0.563, allocations: 275.2 kB / 0.6996 GB, free: 5.383 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003645/0.5634, allocations: 338.6 kB / 0.6999 GB, free: 5.051 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00147/0.5649, allocations: 1.16 MB / 0.701 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.5649, allocations: 0 / 0.701 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5649, allocations: 4 kB / 0.701 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.662e-05/0.5649, allocations: 0 / 0.701 GB, free: 3.883 MB / 0.5294 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.002048/0.5669, allocations: 0.995 MB / 0.702 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.567, allocations: 12.03 kB / 0.702 GB, free: 2.844 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001273/0.5671, allocations: 98.69 kB / 0.7021 GB, free: 2.738 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003375/0.5674, allocations: 100.4 kB / 0.7022 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009416/0.5684, allocations: 482.8 kB / 0.7026 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001511/0.5685, allocations: 156.4 kB / 0.7028 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.363e-05/0.5686, allocations: 52.11 kB / 0.7028 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001414/0.57, allocations: 1.137 MB / 0.704 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.23e-05/0.5701, allocations: 4 kB / 0.704 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.727e-05/0.5701, allocations: 27.98 kB / 0.704 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.696e-05/0.5702, allocations: 40.92 kB / 0.704 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001054/0.5712, allocations: 0.6479 MB / 0.7047 GB, free: 15.91 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.004483/0.5757, allocations: 3.159 MB / 0.7077 GB, free: 12.64 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007781/0.5765, allocations: 408.3 kB / 0.7081 GB, free: 12.23 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003068/0.5768, allocations: 185.4 kB / 0.7083 GB, free: 12.04 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00028/0.5771, allocations: 68.28 kB / 0.7084 GB, free: 11.98 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.451e-05/0.5771, allocations: 38.89 kB / 0.7084 GB, free: 11.93 MB / 0.545 GB Notification: Performance of pre-optimization done (n=40): time 2.645e-06/0.5771, allocations: 4 kB / 0.7084 GB, free: 11.93 MB / 0.545 GB Notification: Performance of matching and sorting (n=45): time 0.003134/0.5803, allocations: 1.394 MB / 0.7098 GB, free: 10.5 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.25e-05/0.5803, allocations: 132.5 kB / 0.7099 GB, free: 10.34 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007041/0.5811, allocations: 0.5926 MB / 0.7105 GB, free: 9.734 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.515e-05/0.5811, allocations: 37.7 kB / 0.7105 GB, free: 9.691 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002778/0.5814, allocations: 359.9 kB / 0.7109 GB, free: 9.336 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000161/0.5815, allocations: 166.6 kB / 0.711 GB, free: 9.172 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000199/0.5817, allocations: 138.6 kB / 0.7112 GB, free: 9.031 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001952/0.5819, allocations: 378.8 kB / 0.7115 GB, free: 8.652 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003703/0.5823, allocations: 213.9 kB / 0.7117 GB, free: 8.441 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00069/0.583, allocations: 0.5876 MB / 0.7123 GB, free: 7.695 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001118/0.5841, allocations: 0.764 MB / 0.713 GB, free: 6.805 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.5841, allocations: 4 kB / 0.713 GB, free: 6.801 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0018/0.5859, allocations: 0.9027 MB / 0.7139 GB, free: 5.887 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.616e-05/0.586, allocations: 12.06 kB / 0.7139 GB, free: 5.875 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.875e-05/0.586, allocations: 12.05 kB / 0.7139 GB, free: 5.863 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001391/0.5874, allocations: 291.2 kB / 0.7142 GB, free: 5.578 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000384/0.5877, allocations: 119.8 kB / 0.7143 GB, free: 5.461 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001078/0.5888, allocations: 0.8878 MB / 0.7152 GB, free: 4.547 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004603/0.5893, allocations: 32.06 kB / 0.7152 GB, free: 4.516 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-05/0.5894, allocations: 43.92 kB / 0.7153 GB, free: 4.473 MB / 0.545 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.0004072/0.5898, allocations: 241.5 kB / 0.7155 GB, free: 4.227 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000146/0.5899, allocations: 71.52 kB / 0.7156 GB, free: 4.156 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001341/0.5913, allocations: 0.6957 MB / 0.7163 GB, free: 3.457 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.388e-05/0.5913, allocations: 7.984 kB / 0.7163 GB, free: 3.449 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.5913, allocations: 0 / 0.7163 GB, free: 3.449 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.5913, allocations: 3.938 kB / 0.7163 GB, free: 3.445 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002081/0.5934, allocations: 1.226 MB / 0.7175 GB, free: 2.145 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.658e-06/0.5934, allocations: 12.17 kB / 0.7175 GB, free: 2.133 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001004/0.5944, allocations: 199.8 kB / 0.7177 GB, free: 1.938 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.9e-05/0.5945, allocations: 20.84 kB / 0.7177 GB, free: 1.914 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.48e-05/0.5945, allocations: 12 kB / 0.7177 GB, free: 1.902 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002276/0.5968, allocations: 2.67 MB / 0.7203 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.5968, allocations: 4.031 kB / 0.7203 GB, free: 15 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001512/0.5983, allocations: 0.9463 MB / 0.7212 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003438/0.5986, allocations: 135.4 kB / 0.7214 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.959e-05/0.5987, allocations: 16 kB / 0.7214 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003594/0.5991, allocations: 15.98 kB / 0.7214 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.866e-05/0.5992, allocations: 43.81 kB / 0.7214 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-05/0.5992, allocations: 23.98 kB / 0.7215 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005455/0.5998, allocations: 431 kB / 0.7219 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.5998, allocations: 0 / 0.7219 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008147/0.6006, allocations: 219.8 kB / 0.7221 GB, free: 13.15 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.002084/0.6027, allocations: 1.637 MB / 0.7237 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00128/0.604, allocations: 0.568 MB / 0.7242 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.604, allocations: 8 kB / 0.7242 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00104/0.605, allocations: 442.2 kB / 0.7247 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001681/0.6067, allocations: 385.5 kB / 0.725 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009673/0.6164, allocations: 6.476 MB / 0.7314 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003636/0.6167, allocations: 341.4 kB / 0.7317 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00067/0.6174, allocations: 205.1 kB / 0.7319 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003356/0.6177, allocations: 243.4 kB / 0.7321 GB, free: 2.426 MB / 0.5606 GB Notification: Performance of SimCode: time 7.61e-07/0.6177, allocations: 3.938 kB / 0.7321 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3174/0.9352, allocations: 24.3 MB / 0.7558 GB, free: 157.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.33/14.26, allocations: 4.062 kB / 0.7558 GB, free: 157.1 MB / 0.5606 GB " [Timeout remaining time 646] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/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: 17.35247275599977]