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.001898/0.001898, allocations: 120.4 kB / 17.79 MB, free: 5.285 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.002291/0.002291, allocations: 203.3 kB / 20.74 MB, free: 2.34 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.541/1.541, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.2273/0.2273, allocations: 44.91 MB / 355.1 MB, free: 12.32 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.00199/0.00199, allocations: 63.89 kB / 499.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1249, allocations: 65.43 MB / 0.5518 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.4549/0.5798, allocations: 151 MB / 0.6992 GB, free: 244 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008414/0.5882, allocations: 5.615 MB / 0.7047 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008559/0.5891, allocations: 31.69 kB / 0.7047 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001151/0.5902, allocations: 337.9 kB / 0.7051 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002365/0.5926, allocations: 0.8707 MB / 0.7059 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003192/0.5958, allocations: 1.019 MB / 0.7069 GB, free: 8.359 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002998/0.5988, allocations: 1.797 MB / 0.7087 GB, free: 6.555 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007401/0.5995, allocations: 413.4 kB / 0.7091 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001706/0.6013, allocations: 0.7786 MB / 0.7098 GB, free: 5.367 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00153/0.6028, allocations: 0.7591 MB / 0.7106 GB, free: 4.605 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001819/0.603, allocations: 64 kB / 0.7106 GB, free: 4.543 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00154/0.6045, allocations: 0.5732 MB / 0.7112 GB, free: 3.969 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003965/0.6049, allocations: 267.2 kB / 0.7114 GB, free: 3.707 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0006084/0.6055, allocations: 402.2 kB / 0.7118 GB, free: 3.312 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002195/0.6077, allocations: 1.179 MB / 0.713 GB, free: 2.133 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.6077, allocations: 0 / 0.713 GB, free: 2.133 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6077, allocations: 0 / 0.713 GB, free: 2.133 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.153e-05/0.6077, allocations: 0 / 0.713 GB, free: 2.133 MB / 0.5137 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.002681/0.6104, allocations: 1.074 MB / 0.714 GB, free: 1.004 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.682e-05/0.6105, allocations: 8.031 kB / 0.714 GB, free: 0.9961 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000163/0.6106, allocations: 94.7 kB / 0.7141 GB, free: 0.8945 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004243/0.6111, allocations: 96.41 kB / 0.7142 GB, free: 0.8008 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001095/0.6122, allocations: 0.5484 MB / 0.7147 GB, free: 224 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001602/0.6123, allocations: 101 kB / 0.7148 GB, free: 108 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.6124, allocations: 48.36 kB / 0.7149 GB, free: 60 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001406/0.6138, allocations: 0.821 MB / 0.7157 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.031e-05/0.6139, allocations: 0 / 0.7157 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.931e-05/0.6139, allocations: 27.94 kB / 0.7157 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.24e-05/0.614, allocations: 36.98 kB / 0.7157 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001137/0.6151, allocations: 0.6557 MB / 0.7164 GB, free: 14.46 MB / 0.5294 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.005387/0.6205, allocations: 3.959 MB / 0.7203 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008647/0.6214, allocations: 416.8 kB / 0.7207 GB, free: 9.809 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003425/0.6217, allocations: 189.4 kB / 0.7208 GB, free: 9.621 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007277/0.6224, allocations: 0.7288 MB / 0.7215 GB, free: 8.727 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.925e-05/0.6225, allocations: 42.89 kB / 0.7216 GB, free: 8.676 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=40): time 2.255e-06/0.6225, allocations: 0 / 0.7216 GB, free: 8.676 MB / 0.5294 GB Notification: Performance of matching and sorting (n=45): time 0.003535/0.626, allocations: 1.565 MB / 0.7231 GB, free: 7.039 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/0.6261, allocations: 132.5 kB / 0.7232 GB, free: 6.879 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007231/0.6269, allocations: 0.5694 MB / 0.7238 GB, free: 6.297 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.936e-05/0.6269, allocations: 33.7 kB / 0.7238 GB, free: 6.258 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002972/0.6272, allocations: 363.9 kB / 0.7242 GB, free: 5.898 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001496/0.6273, allocations: 166.6 kB / 0.7243 GB, free: 5.734 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002056/0.6276, allocations: 146.5 kB / 0.7245 GB, free: 5.586 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002089/0.6278, allocations: 374.8 kB / 0.7248 GB, free: 5.211 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003982/0.6282, allocations: 217.9 kB / 0.725 GB, free: 4.996 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006877/0.6288, allocations: 0.5162 MB / 0.7255 GB, free: 4.336 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001088/0.6299, allocations: 0.7562 MB / 0.7263 GB, free: 3.453 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.788e-06/0.6299, allocations: 0 / 0.7263 GB, free: 3.453 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001715/0.6317, allocations: 0.9099 MB / 0.7272 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/0.6317, allocations: 15.88 kB / 0.7272 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/0.6317, allocations: 8 kB / 0.7272 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001442/0.6331, allocations: 285.4 kB / 0.7275 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003794/0.6335, allocations: 119.8 kB / 0.7276 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001131/0.6346, allocations: 0.8864 MB / 0.7284 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004248/0.6351, allocations: 31.98 kB / 0.7285 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-05/0.6351, allocations: 36.06 kB / 0.7285 GB, free: 1.129 MB / 0.5294 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.0003457/0.6355, allocations: 258.9 kB / 0.7288 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/0.6356, allocations: 71.58 kB / 0.7288 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001391/0.637, allocations: 0.7637 MB / 0.7296 GB, free: 12 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-05/0.637, allocations: 4 kB / 0.7296 GB, free: 8 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.637, allocations: 0 / 0.7296 GB, free: 8 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-05/0.637, allocations: 11.48 kB / 0.7296 GB, free: 0 / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002125/0.6392, allocations: 1.408 MB / 0.731 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.6392, allocations: 4 kB / 0.731 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001074/0.6403, allocations: 203.8 kB / 0.7312 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.754e-05/0.6403, allocations: 29.03 kB / 0.7312 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.506e-05/0.6404, allocations: 12 kB / 0.7312 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002436/0.6428, allocations: 2.873 MB / 0.734 GB, free: 11.09 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.6428, allocations: 0 / 0.734 GB, free: 11.09 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001548/0.6444, allocations: 1.013 MB / 0.735 GB, free: 10.03 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003029/0.6447, allocations: 208.5 kB / 0.7352 GB, free: 9.805 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.253e-05/0.6447, allocations: 8 kB / 0.7352 GB, free: 9.797 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003786/0.6451, allocations: 19.98 kB / 0.7352 GB, free: 9.777 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.337e-05/0.6452, allocations: 44.77 kB / 0.7353 GB, free: 9.734 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.064e-05/0.6453, allocations: 23.98 kB / 0.7353 GB, free: 9.711 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005551/0.6458, allocations: 431 kB / 0.7357 GB, free: 9.285 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.6458, allocations: 0 / 0.7357 GB, free: 9.285 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008135/0.6466, allocations: 227.8 kB / 0.7359 GB, free: 9.062 MB / 0.545 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.002225/0.6489, allocations: 1.704 MB / 0.7376 GB, free: 7.293 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001289/0.6501, allocations: 0.5652 MB / 0.7381 GB, free: 6.73 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/0.6502, allocations: 7.938 kB / 0.7381 GB, free: 6.723 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001087/0.6512, allocations: 442.6 kB / 0.7386 GB, free: 6.277 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001703/0.6529, allocations: 373 kB / 0.7389 GB, free: 5.926 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01027/0.6632, allocations: 6.482 MB / 0.7452 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006319/0.6639, allocations: 0.9385 MB / 0.7462 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007359/0.6646, allocations: 209 kB / 0.7464 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003817/0.665, allocations: 231.4 kB / 0.7466 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of SimCode: time 7.81e-07/0.665, allocations: 7.938 kB / 0.7466 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06547/0.7304, allocations: 22.62 MB / 0.7687 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.26/13.99, allocations: 8 kB / 0.7687 GB, free: 7.281 MB / 0.5762 GB " [Timeout remaining time 646] (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: 17.242124665062875]