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.001809/0.001809, allocations: 108.2 kB / 21.18 MB, free: 0.6992 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.002244/0.002244, allocations: 216.7 kB / 24.5 MB, free: 4.027 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.334/1.334, allocations: 207.6 MB / 235.3 MB, free: 10.02 MB / 190.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.001758/0.001758, allocations: 51.92 kB / 347.2 MB, free: 10.05 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2448/0.2466, allocations: 49.16 MB / 396.3 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.1717/0.4183, allocations: 151.7 MB / 0.5352 GB, free: 11.11 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003843/0.4221, allocations: 3.049 MB / 0.5382 GB, free: 8.051 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.408e-05/0.4222, allocations: 7.938 kB / 0.5382 GB, free: 8.043 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003367/0.4225, allocations: 63.64 kB / 0.5382 GB, free: 7.98 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002467/0.425, allocations: 1.042 MB / 0.5392 GB, free: 6.938 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005068/0.4255, allocations: 207.5 kB / 0.5394 GB, free: 6.734 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004476/0.426, allocations: 362.6 kB / 0.5398 GB, free: 6.379 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.618e-05/0.426, allocations: 13.2 kB / 0.5398 GB, free: 6.367 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002599/0.4263, allocations: 159.4 kB / 0.5399 GB, free: 6.211 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002001/0.4265, allocations: 111.6 kB / 0.5401 GB, free: 6.102 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.714e-05/0.4265, allocations: 16 kB / 0.5401 GB, free: 6.086 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002995/0.4295, allocations: 1.578 MB / 0.5416 GB, free: 4.504 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001207/0.4296, allocations: 79.78 kB / 0.5417 GB, free: 4.426 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001372/0.4297, allocations: 103.6 kB / 0.5418 GB, free: 4.324 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001625/0.4314, allocations: 0.9986 MB / 0.5428 GB, free: 3.328 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.4314, allocations: 4 kB / 0.5428 GB, free: 3.324 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.4314, allocations: 0 / 0.5428 GB, free: 3.324 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.164e-05/0.4314, allocations: 4 kB / 0.5428 GB, free: 3.32 MB / 462.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.0008615/0.4322, allocations: 485.2 kB / 0.5432 GB, free: 2.816 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.4323, allocations: 11.98 kB / 0.5432 GB, free: 2.805 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.26e-05/0.4323, allocations: 54.73 kB / 0.5433 GB, free: 2.742 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001344/0.4337, allocations: 204.6 kB / 0.5435 GB, free: 2.543 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003626/0.4341, allocations: 186.3 kB / 0.5437 GB, free: 2.336 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.4341, allocations: 16.5 kB / 0.5437 GB, free: 2.32 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.539e-05/0.4341, allocations: 23.95 kB / 0.5437 GB, free: 2.297 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006134/0.4348, allocations: 377.7 kB / 0.5441 GB, free: 1.918 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.4348, allocations: 0 / 0.5441 GB, free: 1.918 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.205e-05/0.4348, allocations: 12 kB / 0.5441 GB, free: 1.906 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.4348, allocations: 4 kB / 0.5441 GB, free: 1.902 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006304/0.4354, allocations: 415.8 kB / 0.5445 GB, free: 1.496 MB / 462.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.001681/0.4371, allocations: 0.7844 MB / 0.5452 GB, free: 0.6641 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004056/0.4375, allocations: 225 kB / 0.5455 GB, free: 436 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001776/0.4377, allocations: 113.7 kB / 0.5456 GB, free: 316 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001507/0.4392, allocations: 297.9 kB / 0.5459 GB, free: 16 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.578e-05/0.4393, allocations: 38.56 kB / 0.5459 GB, free: 15.97 MB / 478.1 MB Notification: Performance of pre-optimization done (n=29): time 2.064e-06/0.4393, allocations: 4 kB / 0.5459 GB, free: 15.96 MB / 478.1 MB Notification: Performance of matching and sorting (n=29): time 0.001201/0.4405, allocations: 363.7 kB / 0.5462 GB, free: 15.61 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.227e-05/0.4405, allocations: 85.05 kB / 0.5463 GB, free: 15.5 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.4406, allocations: 121.8 kB / 0.5464 GB, free: 15.38 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.57e-05/0.4407, allocations: 29.7 kB / 0.5465 GB, free: 15.34 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.864e-05/0.4407, allocations: 108.6 kB / 0.5466 GB, free: 15.23 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/0.4408, allocations: 119 kB / 0.5467 GB, free: 15.11 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.87e-05/0.4409, allocations: 66.02 kB / 0.5467 GB, free: 15.04 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.4411, allocations: 318.8 kB / 0.547 GB, free: 14.72 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001912/0.4413, allocations: 96.61 kB / 0.5471 GB, free: 14.63 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002587/0.4415, allocations: 183.5 kB / 0.5473 GB, free: 14.41 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004688/0.442, allocations: 306.6 kB / 0.5476 GB, free: 14.08 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.442, allocations: 3.938 kB / 0.5476 GB, free: 14.07 MB / 478.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006289/0.4426, allocations: 349.7 kB / 0.5479 GB, free: 13.73 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.4426, allocations: 8 kB / 0.548 GB, free: 13.72 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/0.4426, allocations: 4 kB / 0.548 GB, free: 13.71 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/0.4427, allocations: 4 kB / 0.548 GB, free: 13.71 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003703/0.443, allocations: 71.91 kB / 0.548 GB, free: 13.64 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.443, allocations: 7.938 kB / 0.548 GB, free: 13.63 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002102/0.4433, allocations: 27.83 kB / 0.5481 GB, free: 13.61 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.87e-05/0.4433, allocations: 16 kB / 0.5481 GB, free: 13.59 MB / 478.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.0001474/0.4434, allocations: 153.8 kB / 0.5482 GB, free: 13.43 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.869e-05/0.4435, allocations: 15.91 kB / 0.5482 GB, free: 13.41 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006678/0.4442, allocations: 322.3 kB / 0.5485 GB, free: 13.09 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.4442, allocations: 4 kB / 0.5486 GB, free: 13.09 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.4442, allocations: 0 / 0.5486 GB, free: 13.09 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.4442, allocations: 0 / 0.5486 GB, free: 13.09 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005663/0.4448, allocations: 310.1 kB / 0.5488 GB, free: 12.74 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.4448, allocations: 0 / 0.5488 GB, free: 12.74 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000331/0.4451, allocations: 55.91 kB / 0.5489 GB, free: 12.69 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.4451, allocations: 4 kB / 0.5489 GB, free: 12.68 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.982e-05/0.4452, allocations: 12 kB / 0.5489 GB, free: 12.67 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.4452, allocations: 3.984 kB / 0.5489 GB, free: 12.67 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.4452, allocations: 0 / 0.5489 GB, free: 12.67 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007428/0.4459, allocations: 0.5025 MB / 0.5494 GB, free: 12.15 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.619e-05/0.4459, allocations: 19.88 kB / 0.5494 GB, free: 12.13 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.534e-05/0.446, allocations: 8 kB / 0.5494 GB, free: 12.12 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003038/0.4463, allocations: 19.98 kB / 0.5495 GB, free: 12.1 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.196e-05/0.4463, allocations: 23.95 kB / 0.5495 GB, free: 12.08 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.908e-05/0.4464, allocations: 19.98 kB / 0.5495 GB, free: 12.06 MB / 478.1 MB Notification: Performance of sorting global known variables: time 5.857e-05/0.4464, allocations: 87.27 kB / 0.5496 GB, free: 11.97 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4464, allocations: 0 / 0.5496 GB, free: 11.97 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0007993/0.4472, allocations: 227.4 kB / 0.5498 GB, free: 11.75 MB / 478.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.001942/0.4492, allocations: 1.371 MB / 0.5511 GB, free: 10.35 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0005282/0.4497, allocations: 248 kB / 0.5514 GB, free: 10.11 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4497, allocations: 4 kB / 0.5514 GB, free: 10.11 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002133/0.4499, allocations: 119.9 kB / 0.5515 GB, free: 9.988 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006377/0.4505, allocations: 81.33 kB / 0.5516 GB, free: 9.91 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003504/0.454, allocations: 2.687 MB / 0.5542 GB, free: 7.07 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003723/0.4544, allocations: 0.7283 MB / 0.5549 GB, free: 6.316 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003206/0.4547, allocations: 74.02 kB / 0.555 GB, free: 6.246 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001393/0.4549, allocations: 59.42 kB / 0.555 GB, free: 6.188 MB / 478.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4549, allocations: 4 kB / 0.555 GB, free: 6.184 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2053/0.6602, allocations: 10.94 MB / 0.5657 GB, free: 163.9 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/12.22, allocations: 6.688 kB / 0.5657 GB, free: 163.9 MB / 478.1 MB " [Timeout remaining time 648] (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: 14.65184596600011]