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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001446/0.001446, allocations: 115.9 kB / 18.45 MB, free: 4.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 190.9 kB / 21.39 MB, free: 1.652 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.335/1.335, allocations: 207.6 MB / 231.8 MB, free: 4.207 MB / 174.1 MB " [Timeout remaining time 179] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001635/0.001635, allocations: 51.92 kB / 342.3 MB, free: 10.03 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08057/0.0822, allocations: 49.13 MB / 391.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.3226/0.4048, allocations: 151.6 MB / 0.5303 GB, free: 10.79 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003704/0.4085, allocations: 3.042 MB / 0.5333 GB, free: 8.086 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.332e-05/0.4086, allocations: 7.875 kB / 0.5333 GB, free: 8.078 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003277/0.409, allocations: 63.64 kB / 0.5333 GB, free: 8.016 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002208/0.4112, allocations: 1.019 MB / 0.5343 GB, free: 6.992 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004715/0.4117, allocations: 188.7 kB / 0.5345 GB, free: 6.809 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003986/0.412, allocations: 354.7 kB / 0.5348 GB, free: 6.461 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.591e-05/0.4121, allocations: 13.11 kB / 0.5348 GB, free: 6.449 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000229/0.4123, allocations: 151.5 kB / 0.535 GB, free: 6.301 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001786/0.4125, allocations: 115.6 kB / 0.5351 GB, free: 6.188 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.757e-05/0.4125, allocations: 12 kB / 0.5351 GB, free: 6.176 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002543/0.4151, allocations: 1.53 MB / 0.5366 GB, free: 4.645 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.911e-05/0.4152, allocations: 71.78 kB / 0.5367 GB, free: 4.574 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001253/0.4153, allocations: 107.6 kB / 0.5368 GB, free: 4.469 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001417/0.4167, allocations: 0.9897 MB / 0.5377 GB, free: 3.477 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.4167, allocations: 0 / 0.5377 GB, free: 3.477 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.4167, allocations: 4 kB / 0.5377 GB, free: 3.473 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.4167, allocations: 2.438 kB / 0.5377 GB, free: 3.473 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.0008804/0.4176, allocations: 0.5529 MB / 0.5383 GB, free: 2.871 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.4176, allocations: 8.031 kB / 0.5383 GB, free: 2.863 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.313e-05/0.4177, allocations: 54.73 kB / 0.5383 GB, free: 2.801 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001317/0.419, allocations: 204.6 kB / 0.5385 GB, free: 2.602 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003821/0.4194, allocations: 244.1 kB / 0.5388 GB, free: 2.324 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.4194, allocations: 17.62 kB / 0.5388 GB, free: 2.309 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.683e-05/0.4195, allocations: 23.89 kB / 0.5388 GB, free: 2.285 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006011/0.4201, allocations: 373.5 kB / 0.5392 GB, free: 1.91 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.4201, allocations: 4 kB / 0.5392 GB, free: 1.906 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.735e-05/0.4201, allocations: 8 kB / 0.5392 GB, free: 1.898 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.343e-06/0.4202, allocations: 4 kB / 0.5392 GB, free: 1.895 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005872/0.4207, allocations: 423.5 kB / 0.5396 GB, free: 1.48 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.0017/0.4224, allocations: 0.8126 MB / 0.5404 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003885/0.4228, allocations: 217 kB / 0.5406 GB, free: 392 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001789/0.423, allocations: 121.2 kB / 0.5407 GB, free: 268 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001767/0.4248, allocations: 0.8931 MB / 0.5416 GB, free: 15.22 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.4248, allocations: 38.56 kB / 0.5416 GB, free: 15.18 MB / 430.1 MB Notification: Performance of pre-optimization done (n=29): time 1.413e-06/0.4248, allocations: 0 / 0.5416 GB, free: 15.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=29): time 0.001158/0.426, allocations: 374.7 kB / 0.542 GB, free: 14.8 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.379e-05/0.426, allocations: 77.11 kB / 0.542 GB, free: 14.71 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.984e-05/0.4261, allocations: 109.8 kB / 0.5422 GB, free: 14.59 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.715e-05/0.4262, allocations: 37.7 kB / 0.5422 GB, free: 14.55 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.676e-05/0.4262, allocations: 116.5 kB / 0.5423 GB, free: 14.43 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.723e-05/0.4263, allocations: 115 kB / 0.5424 GB, free: 14.32 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.779e-05/0.4264, allocations: 58.03 kB / 0.5425 GB, free: 14.26 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.4266, allocations: 326.8 kB / 0.5428 GB, free: 13.93 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001872/0.4268, allocations: 100.5 kB / 0.5429 GB, free: 13.83 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000252/0.427, allocations: 183.5 kB / 0.543 GB, free: 13.62 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004587/0.4275, allocations: 303.3 kB / 0.5433 GB, free: 13.29 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.4275, allocations: 4 kB / 0.5433 GB, free: 13.28 MB / 430.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006157/0.4281, allocations: 341.7 kB / 0.5437 GB, free: 12.94 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.4281, allocations: 8 kB / 0.5437 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.4281, allocations: 0 / 0.5437 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.4281, allocations: 4 kB / 0.5437 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000328/0.4284, allocations: 76.2 kB / 0.5438 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.4285, allocations: 8 kB / 0.5438 GB, free: 12.85 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002062/0.4287, allocations: 31.72 kB / 0.5438 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-05/0.4287, allocations: 20 kB / 0.5438 GB, free: 12.8 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.000138/0.4288, allocations: 145.6 kB / 0.5439 GB, free: 12.64 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.492e-05/0.4289, allocations: 19.91 kB / 0.544 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006799/0.4296, allocations: 320.5 kB / 0.5443 GB, free: 12.3 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/0.4296, allocations: 4 kB / 0.5443 GB, free: 12.3 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.4296, allocations: 0 / 0.5443 GB, free: 12.3 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.4296, allocations: 3.984 kB / 0.5443 GB, free: 12.3 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005576/0.4302, allocations: 331.1 kB / 0.5446 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.4302, allocations: 4 kB / 0.5446 GB, free: 11.92 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003296/0.4305, allocations: 51.97 kB / 0.5446 GB, free: 11.87 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.4305, allocations: 0 / 0.5446 GB, free: 11.87 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.969e-05/0.4306, allocations: 15.98 kB / 0.5447 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.4306, allocations: 7.938 kB / 0.5447 GB, free: 11.85 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4306, allocations: 0 / 0.5447 GB, free: 11.85 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007511/0.4313, allocations: 0.5068 MB / 0.5452 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.876e-05/0.4314, allocations: 89 kB / 0.5453 GB, free: 11.22 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.716e-05/0.4314, allocations: 11.69 kB / 0.5453 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003033/0.4317, allocations: 15.97 kB / 0.5453 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.429e-05/0.4318, allocations: 23.97 kB / 0.5453 GB, free: 11.17 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-05/0.4318, allocations: 11.98 kB / 0.5453 GB, free: 11.16 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.467e-05/0.4319, allocations: 87.28 kB / 0.5454 GB, free: 11.07 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4319, allocations: 0 / 0.5454 GB, free: 11.07 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007369/0.4326, allocations: 235.3 kB / 0.5456 GB, free: 10.84 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.001917/0.4345, allocations: 1.375 MB / 0.547 GB, free: 9.441 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004929/0.435, allocations: 248.3 kB / 0.5472 GB, free: 9.199 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.435, allocations: 0 / 0.5472 GB, free: 9.199 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002188/0.4352, allocations: 124.4 kB / 0.5473 GB, free: 9.078 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006056/0.4358, allocations: 91.58 kB / 0.5474 GB, free: 8.992 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003484/0.4393, allocations: 2.671 MB / 0.55 GB, free: 6.176 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003774/0.4397, allocations: 0.7361 MB / 0.5507 GB, free: 5.414 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003087/0.44, allocations: 73.97 kB / 0.5508 GB, free: 5.344 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001283/0.4401, allocations: 59.41 kB / 0.5509 GB, free: 5.285 MB / 430.1 MB Notification: Performance of SimCode: time 6.61e-07/0.4401, allocations: 0 / 0.5509 GB, free: 5.285 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03734/0.4775, allocations: 10.66 MB / 0.5613 GB, free: 10.56 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.061/8.538, allocations: 4.062 kB / 0.5613 GB, free: 10.55 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_TestOnly_MixIdealGasAir_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.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: 10.793235288001597]