Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.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.001289/0.001289, allocations: 115.5 kB / 18.45 MB, free: 4.609 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.001404/0.001404, allocations: 215.3 kB / 21.41 MB, free: 1.648 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.459/1.459, allocations: 207.6 MB / 231.8 MB, free: 4.07 MB / 174.1 MB " [Timeout remaining time 178] 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(Modelica.Media.Examples.TestOnly.MixIdealGasAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.MixIdealGasAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_MixIdealGasAir",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.001784/0.001784, allocations: 51.92 kB / 342.3 MB, free: 10 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09782/0.09961, allocations: 49.13 MB / 391.4 MB, free: 8.711 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.3858/0.4854, allocations: 151.6 MB / 0.5303 GB, free: 10.78 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004653/0.49, allocations: 3.062 MB / 0.5333 GB, free: 8.02 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001737/0.4902, allocations: 0 / 0.5333 GB, free: 8.02 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004049/0.4906, allocations: 63.64 kB / 0.5334 GB, free: 7.957 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002888/0.4935, allocations: 1.007 MB / 0.5343 GB, free: 6.945 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005863/0.4941, allocations: 203.5 kB / 0.5345 GB, free: 6.746 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005559/0.4946, allocations: 350.7 kB / 0.5349 GB, free: 6.402 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.119e-05/0.4947, allocations: 5.125 kB / 0.5349 GB, free: 6.398 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003409/0.495, allocations: 156.4 kB / 0.535 GB, free: 6.246 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002449/0.4953, allocations: 111.6 kB / 0.5351 GB, free: 6.137 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.908e-05/0.4953, allocations: 12 kB / 0.5351 GB, free: 6.125 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003395/0.4987, allocations: 1.534 MB / 0.5366 GB, free: 4.59 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001608/0.4989, allocations: 79.72 kB / 0.5367 GB, free: 4.512 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001868/0.4991, allocations: 107.6 kB / 0.5368 GB, free: 4.406 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002397/0.5015, allocations: 0.9858 MB / 0.5378 GB, free: 3.418 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.5015, allocations: 4 kB / 0.5378 GB, free: 3.414 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.5015, allocations: 0 / 0.5378 GB, free: 3.414 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.457e-06/0.5015, allocations: 0 / 0.5378 GB, free: 3.414 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001195/0.5027, allocations: 0.5556 MB / 0.5383 GB, free: 2.812 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.5027, allocations: 8.031 kB / 0.5383 GB, free: 2.805 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.132e-05/0.5028, allocations: 54.73 kB / 0.5384 GB, free: 2.742 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001494/0.5043, allocations: 196.6 kB / 0.5386 GB, free: 2.551 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003852/0.5047, allocations: 248.1 kB / 0.5388 GB, free: 2.27 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/0.5047, allocations: 16.69 kB / 0.5388 GB, free: 2.254 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.853e-05/0.5048, allocations: 35.81 kB / 0.5389 GB, free: 2.219 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006497/0.5054, allocations: 373.5 kB / 0.5392 GB, free: 1.844 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.5054, allocations: 0 / 0.5392 GB, free: 1.844 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.712e-05/0.5055, allocations: 12 kB / 0.5392 GB, free: 1.832 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.5055, allocations: 4 kB / 0.5392 GB, free: 1.828 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006135/0.5061, allocations: 411.7 kB / 0.5396 GB, free: 1.426 MB / 414.1 MB 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.001721/0.5078, allocations: 0.8126 MB / 0.5404 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004116/0.5082, allocations: 217.1 kB / 0.5406 GB, free: 336 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001882/0.5084, allocations: 121.6 kB / 0.5407 GB, free: 208 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001893/0.5103, allocations: 0.893 MB / 0.5416 GB, free: 15.16 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.401e-05/0.5104, allocations: 38.56 kB / 0.5417 GB, free: 15.12 MB / 430.1 MB Notification: Performance of pre-optimization done (n=29): time 1.783e-06/0.5104, allocations: 0 / 0.5417 GB, free: 15.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=29): time 0.001313/0.5117, allocations: 367.2 kB / 0.542 GB, free: 14.75 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.897e-05/0.5118, allocations: 81.11 kB / 0.5421 GB, free: 14.66 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.5119, allocations: 116.4 kB / 0.5422 GB, free: 14.54 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.551e-05/0.5119, allocations: 33.7 kB / 0.5422 GB, free: 14.5 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.23e-05/0.512, allocations: 112.5 kB / 0.5423 GB, free: 14.38 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.436e-05/0.5121, allocations: 107.1 kB / 0.5424 GB, free: 14.28 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.5122, allocations: 66.02 kB / 0.5425 GB, free: 14.21 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.5124, allocations: 330.8 kB / 0.5428 GB, free: 13.88 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001979/0.5126, allocations: 96.59 kB / 0.5429 GB, free: 13.78 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00027/0.5128, allocations: 187.4 kB / 0.5431 GB, free: 13.56 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005014/0.5133, allocations: 303.3 kB / 0.5434 GB, free: 13.23 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.5133, allocations: 0 / 0.5434 GB, free: 13.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000644/0.514, allocations: 346.5 kB / 0.5437 GB, free: 12.89 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.514, allocations: 7.938 kB / 0.5437 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.514, allocations: 4 kB / 0.5437 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.514, allocations: 4 kB / 0.5437 GB, free: 12.87 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003559/0.5144, allocations: 75.84 kB / 0.5438 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/0.5144, allocations: 7.984 kB / 0.5438 GB, free: 12.79 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002212/0.5146, allocations: 28.66 kB / 0.5438 GB, free: 12.76 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.331e-05/0.5147, allocations: 16 kB / 0.5438 GB, free: 12.75 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001572/0.5148, allocations: 141.7 kB / 0.544 GB, free: 12.6 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/0.5149, allocations: 19.94 kB / 0.544 GB, free: 12.58 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006924/0.5156, allocations: 331.9 kB / 0.5443 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.5156, allocations: 4 kB / 0.5443 GB, free: 12.24 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.5156, allocations: 0 / 0.5443 GB, free: 12.24 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.5156, allocations: 0 / 0.5443 GB, free: 12.24 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006029/0.5162, allocations: 334.7 kB / 0.5446 GB, free: 11.87 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.5162, allocations: 0 / 0.5446 GB, free: 11.87 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003415/0.5166, allocations: 55.91 kB / 0.5447 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/0.5166, allocations: 4 kB / 0.5447 GB, free: 11.81 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.923e-05/0.5166, allocations: 11.98 kB / 0.5447 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.5166, allocations: 0 / 0.5447 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.5166, allocations: 8 kB / 0.5447 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008215/0.5174, allocations: 0.5068 MB / 0.5452 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.458e-05/0.5175, allocations: 89 kB / 0.5453 GB, free: 11.16 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.072e-05/0.5175, allocations: 12.06 kB / 0.5453 GB, free: 11.15 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003209/0.5179, allocations: 11.98 kB / 0.5453 GB, free: 11.14 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.076e-05/0.5179, allocations: 19.97 kB / 0.5453 GB, free: 11.12 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.284e-05/0.5179, allocations: 19.98 kB / 0.5454 GB, free: 11.1 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.598e-05/0.518, allocations: 87.28 kB / 0.5454 GB, free: 11.02 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.518, allocations: 0 / 0.5454 GB, free: 11.02 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000867/0.5189, allocations: 231.4 kB / 0.5457 GB, free: 10.79 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium.p,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 (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002197/0.5211, allocations: 1.375 MB / 0.547 GB, free: 9.387 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005682/0.5216, allocations: 248.5 kB / 0.5472 GB, free: 9.145 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.5216, allocations: 0 / 0.5472 GB, free: 9.145 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002349/0.5219, allocations: 127.8 kB / 0.5474 GB, free: 9.02 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006619/0.5225, allocations: 78.72 kB / 0.5474 GB, free: 8.945 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003663/0.5262, allocations: 2.68 MB / 0.55 GB, free: 6.121 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004029/0.5266, allocations: 0.7322 MB / 0.5508 GB, free: 5.363 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003091/0.5269, allocations: 71.23 kB / 0.5508 GB, free: 5.297 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001534/0.5271, allocations: 63.41 kB / 0.5509 GB, free: 5.234 MB / 430.1 MB Notification: Performance of SimCode: time 5.21e-07/0.5271, allocations: 0 / 0.5509 GB, free: 5.234 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03841/0.5655, allocations: 10.65 MB / 0.5613 GB, free: 10.51 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.424/8.99, allocations: 3.938 kB / 0.5613 GB, free: 10.51 MB / 446.1 MB " [Timeout remaining time 651] (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 Modelica_3_2_3_Modelica_Media_Examples_TestOnly_MixIdealGasAir.fmu > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable medium2.p in file Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir_res.csv. Warning: Get data of variable medium2.p from file Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.525442105994443]