Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002107/0.002107, allocations: 112.9 kB / 21.1 MB, free: 0.7891 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002258/0.002258, allocations: 206.1 kB / 24.38 MB, free: 4.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.47/1.47, allocations: 230.2 MB / 257.7 MB, free: 8.273 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2517/0.2517, allocations: 46.93 MB / 361.1 MB, free: 4.414 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00222/0.00222, allocations: 75.88 kB / 0.4963 GB, free: 8.109 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3743/0.3765, allocations: 66.04 MB / 0.5608 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.2297/0.6062, allocations: 149.6 MB / 0.7069 GB, free: 14.43 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.009251/0.6154, allocations: 5.591 MB / 0.7123 GB, free: 8.824 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00087/0.6163, allocations: 31.69 kB / 0.7123 GB, free: 8.793 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001351/0.6176, allocations: 333.9 kB / 0.7127 GB, free: 8.465 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003046/0.6207, allocations: 0.8863 MB / 0.7135 GB, free: 7.574 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003432/0.6241, allocations: 1.054 MB / 0.7146 GB, free: 6.527 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00285/0.627, allocations: 1.821 MB / 0.7163 GB, free: 4.699 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006534/0.6276, allocations: 397.6 kB / 0.7167 GB, free: 4.309 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001534/0.6292, allocations: 0.7863 MB / 0.7175 GB, free: 3.52 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001188/0.6303, allocations: 0.7553 MB / 0.7182 GB, free: 2.762 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001278/0.6305, allocations: 67.94 kB / 0.7183 GB, free: 2.695 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001238/0.6317, allocations: 491.1 kB / 0.7188 GB, free: 2.215 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003428/0.6321, allocations: 275.1 kB / 0.719 GB, free: 1.945 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004962/0.6326, allocations: 406.2 kB / 0.7194 GB, free: 1.547 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001749/0.6343, allocations: 1.156 MB / 0.7205 GB, free: 396 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.6343, allocations: 0 / 0.7205 GB, free: 396 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.943e-06/0.6343, allocations: 0 / 0.7205 GB, free: 396 kB / 0.545 GB Notification: Performance of Transformations before backend: time 1.715e-05/0.6343, allocations: 0 / 0.7205 GB, free: 396 kB / 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.002441/0.6368, allocations: 0.995 MB / 0.7215 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.823e-05/0.6368, allocations: 12.03 kB / 0.7215 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001531/0.637, allocations: 94.7 kB / 0.7216 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003848/0.6374, allocations: 100.4 kB / 0.7217 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/0.6384, allocations: 478.8 kB / 0.7222 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001303/0.6385, allocations: 105 kB / 0.7223 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.626e-05/0.6386, allocations: 56.11 kB / 0.7223 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001679/0.6403, allocations: 1.133 MB / 0.7234 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.079e-05/0.6403, allocations: 3.938 kB / 0.7234 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.953e-05/0.6404, allocations: 24 kB / 0.7235 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.612e-05/0.6404, allocations: 44.92 kB / 0.7235 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001095/0.6415, allocations: 0.6518 MB / 0.7241 GB, free: 12.48 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.004899/0.6464, allocations: 3.904 MB / 0.7279 GB, free: 8.309 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008463/0.6473, allocations: 410.8 kB / 0.7283 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003306/0.6476, allocations: 201.4 kB / 0.7285 GB, free: 7.699 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002785/0.6479, allocations: 64.2 kB / 0.7286 GB, free: 7.637 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.275e-05/0.6479, allocations: 34.89 kB / 0.7286 GB, free: 7.594 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=40): time 1.813e-06/0.6479, allocations: 4 kB / 0.7286 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45): time 0.003176/0.6511, allocations: 1.402 MB / 0.73 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.866e-05/0.6512, allocations: 136.5 kB / 0.7301 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006761/0.6519, allocations: 0.5655 MB / 0.7307 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.713e-05/0.6519, allocations: 37.7 kB / 0.7307 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002911/0.6522, allocations: 367.8 kB / 0.7311 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001323/0.6523, allocations: 162.6 kB / 0.7312 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001996/0.6525, allocations: 142.6 kB / 0.7314 GB, free: 4.699 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002088/0.6528, allocations: 374.8 kB / 0.7317 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003675/0.6531, allocations: 213.9 kB / 0.7319 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006906/0.6538, allocations: 0.5923 MB / 0.7325 GB, free: 3.359 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/0.6548, allocations: 0.7562 MB / 0.7332 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.6548, allocations: 4 kB / 0.7332 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001632/0.6565, allocations: 0.9138 MB / 0.7341 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.6565, allocations: 8 kB / 0.7341 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/0.6565, allocations: 8 kB / 0.7341 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001412/0.6579, allocations: 285.2 kB / 0.7344 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003974/0.6583, allocations: 127.8 kB / 0.7345 GB, free: 1.129 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001186/0.6595, allocations: 0.884 MB / 0.7354 GB, free: 224 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004825/0.66, allocations: 27.98 kB / 0.7354 GB, free: 196 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-05/0.6601, allocations: 40 kB / 0.7355 GB, free: 156 kB / 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.2725/0.9326, allocations: 245.9 kB / 0.7357 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002942/0.9329, allocations: 69.22 kB / 0.7358 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001846/0.9347, allocations: 0.6933 MB / 0.7364 GB, free: 175 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-05/0.9348, allocations: 5.547 kB / 0.7364 GB, free: 175 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/0.9348, allocations: 4.844 kB / 0.7365 GB, free: 175 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.814e-06/0.9348, allocations: 2.625 kB / 0.7365 GB, free: 175 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002844/0.9376, allocations: 1.304 MB / 0.7377 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/0.9376, allocations: 1.969 kB / 0.7377 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001183/0.9388, allocations: 206.7 kB / 0.7379 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001093/0.9389, allocations: 28.88 kB / 0.738 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.99e-05/0.939, allocations: 15.42 kB / 0.738 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001585/0.9406, allocations: 2.67 MB / 0.7406 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.9406, allocations: 6.594 kB / 0.7406 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001364/0.9419, allocations: 0.9364 MB / 0.7415 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004597/0.9424, allocations: 132.5 kB / 0.7416 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002005/0.9426, allocations: 16.72 kB / 0.7416 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005157/0.9431, allocations: 18.98 kB / 0.7417 GB, free: 171.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.9432, allocations: 41.81 kB / 0.7417 GB, free: 171.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.176e-05/0.9433, allocations: 23.72 kB / 0.7417 GB, free: 171.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006074/0.9439, allocations: 426.7 kB / 0.7421 GB, free: 170.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.9439, allocations: 0 / 0.7421 GB, free: 170.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001039/0.9449, allocations: 227.8 kB / 0.7423 GB, free: 170.9 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.001996/0.9469, allocations: 1.623 MB / 0.7439 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001312/0.9482, allocations: 0.5843 MB / 0.7445 GB, free: 169.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.9482, allocations: 2.125 kB / 0.7445 GB, free: 169.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008972/0.9491, allocations: 443.9 kB / 0.7449 GB, free: 169.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001494/0.9506, allocations: 386 kB / 0.7453 GB, free: 169.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007809/0.9584, allocations: 6.473 MB / 0.7516 GB, free: 162.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003195/0.9587, allocations: 0.9499 MB / 0.7525 GB, free: 161.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006274/0.9594, allocations: 213.2 kB / 0.7527 GB, free: 161.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002716/0.9596, allocations: 231.4 kB / 0.753 GB, free: 161.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.352e-06/0.9596, allocations: 0 / 0.753 GB, free: 161.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05451/1.014, allocations: 23.19 MB / 0.7756 GB, free: 138.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.73/14.74, allocations: 11.59 kB / 0.7756 GB, free: 138.2 MB / 0.5606 GB " [Timeout remaining time 645] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,volume.medium.T,volume.medium.p Variables in the result:time,volume.medium.T,volume.medium.p [Calling sys.exit(0), Time elapsed: 17.947468018974178]