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.0013/0.0013, allocations: 109.6 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.001555/0.001555, allocations: 212.8 kB / 24.49 MB, free: 4.031 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.34/1.34, allocations: 207.6 MB / 235.3 MB, free: 10.01 MB / 190.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.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.002715/0.002715, allocations: 59.92 kB / 347.2 MB, free: 10.13 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2358/0.2385, allocations: 49.16 MB / 396.3 MB, free: 8.957 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.1724/0.4109, allocations: 151.7 MB / 0.5352 GB, free: 11.11 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004114/0.415, allocations: 3.053 MB / 0.5382 GB, free: 8.047 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001215/0.4152, allocations: 0 / 0.5382 GB, free: 8.047 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003835/0.4155, allocations: 63.64 kB / 0.5382 GB, free: 7.984 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00278/0.4183, allocations: 1.05 MB / 0.5392 GB, free: 6.934 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000549/0.4189, allocations: 203.5 kB / 0.5394 GB, free: 6.734 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005255/0.4194, allocations: 366.6 kB / 0.5398 GB, free: 6.375 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.195e-05/0.4194, allocations: 9.266 kB / 0.5398 GB, free: 6.367 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003291/0.4198, allocations: 151.5 kB / 0.5399 GB, free: 6.219 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002342/0.42, allocations: 115.6 kB / 0.5401 GB, free: 6.105 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.648e-05/0.42, allocations: 15.94 kB / 0.5401 GB, free: 6.09 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003072/0.4231, allocations: 1.582 MB / 0.5416 GB, free: 4.504 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.4232, allocations: 75.78 kB / 0.5417 GB, free: 4.43 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001535/0.4234, allocations: 99.64 kB / 0.5418 GB, free: 4.332 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001897/0.4253, allocations: 1.006 MB / 0.5428 GB, free: 3.328 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.4253, allocations: 0 / 0.5428 GB, free: 3.328 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.4253, allocations: 0 / 0.5428 GB, free: 3.328 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.4253, allocations: 0 / 0.5428 GB, free: 3.328 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.0009454/0.4262, allocations: 493.2 kB / 0.5432 GB, free: 2.816 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.4263, allocations: 11.98 kB / 0.5432 GB, free: 2.805 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.272e-05/0.4264, allocations: 54.73 kB / 0.5433 GB, free: 2.742 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001396/0.4278, allocations: 196.6 kB / 0.5435 GB, free: 2.551 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003783/0.4281, allocations: 198.2 kB / 0.5437 GB, free: 2.332 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/0.4282, allocations: 12.5 kB / 0.5437 GB, free: 2.32 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.177e-05/0.4282, allocations: 27.95 kB / 0.5437 GB, free: 2.293 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006513/0.4289, allocations: 373.7 kB / 0.5441 GB, free: 1.918 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.4289, allocations: 3.984 kB / 0.5441 GB, free: 1.914 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.344e-05/0.4289, allocations: 12 kB / 0.5441 GB, free: 1.902 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.4289, allocations: 4 kB / 0.5441 GB, free: 1.898 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006237/0.4296, allocations: 411.7 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.001782/0.4313, allocations: 0.7883 MB / 0.5452 GB, free: 0.6602 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004224/0.4318, allocations: 221 kB / 0.5455 GB, free: 436 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001845/0.4319, allocations: 113.7 kB / 0.5456 GB, free: 316 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001536/0.4335, allocations: 301.9 kB / 0.5459 GB, free: 12 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.907e-05/0.4335, allocations: 34.56 kB / 0.5459 GB, free: 15.97 MB / 478.1 MB Notification: Performance of pre-optimization done (n=29): time 2.014e-06/0.4335, allocations: 0 / 0.5459 GB, free: 15.97 MB / 478.1 MB Notification: Performance of matching and sorting (n=29): time 0.00125/0.4348, allocations: 369.6 kB / 0.5462 GB, free: 15.6 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.36e-05/0.4348, allocations: 77.11 kB / 0.5463 GB, free: 15.51 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.4349, allocations: 117.8 kB / 0.5464 GB, free: 15.38 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.108e-05/0.435, allocations: 33.7 kB / 0.5465 GB, free: 15.34 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.65e-05/0.4351, allocations: 108.6 kB / 0.5466 GB, free: 15.23 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/0.4352, allocations: 111 kB / 0.5467 GB, free: 15.12 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/0.4353, allocations: 66.02 kB / 0.5467 GB, free: 15.05 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.4354, allocations: 330.8 kB / 0.547 GB, free: 14.72 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002023/0.4356, allocations: 96.61 kB / 0.5471 GB, free: 14.63 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002643/0.4359, allocations: 183.5 kB / 0.5473 GB, free: 14.41 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005007/0.4364, allocations: 302.6 kB / 0.5476 GB, free: 14.08 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.4364, allocations: 3.938 kB / 0.5476 GB, free: 14.08 MB / 478.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006542/0.437, allocations: 345.3 kB / 0.5479 GB, free: 13.73 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.4371, allocations: 11.94 kB / 0.5479 GB, free: 13.72 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.4371, allocations: 0 / 0.5479 GB, free: 13.72 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.4371, allocations: 4 kB / 0.5479 GB, free: 13.72 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003605/0.4374, allocations: 71.91 kB / 0.548 GB, free: 13.65 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.4375, allocations: 4 kB / 0.548 GB, free: 13.64 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002232/0.4377, allocations: 27.83 kB / 0.548 GB, free: 13.62 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.504e-05/0.4377, allocations: 20 kB / 0.5481 GB, free: 13.6 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.0001632/0.4379, allocations: 153.7 kB / 0.5482 GB, free: 13.44 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001433/0.438, allocations: 15.91 kB / 0.5482 GB, free: 13.42 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006802/0.4387, allocations: 323 kB / 0.5485 GB, free: 13.1 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.4387, allocations: 4 kB / 0.5485 GB, free: 13.1 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.4387, allocations: 0 / 0.5485 GB, free: 13.1 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.4387, allocations: 4 kB / 0.5485 GB, free: 13.09 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005849/0.4393, allocations: 306.1 kB / 0.5488 GB, free: 12.75 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.4393, allocations: 3.938 kB / 0.5488 GB, free: 12.75 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003502/0.4397, allocations: 55.97 kB / 0.5489 GB, free: 12.69 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.404e-06/0.4397, allocations: 4 kB / 0.5489 GB, free: 12.69 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.697e-05/0.4397, allocations: 8 kB / 0.5489 GB, free: 12.68 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.783e-06/0.4397, allocations: 11.98 kB / 0.5489 GB, free: 12.67 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4397, allocations: 0 / 0.5489 GB, free: 12.67 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008085/0.4405, allocations: 0.5103 MB / 0.5494 GB, free: 12.14 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.127e-05/0.4405, allocations: 19.94 kB / 0.5494 GB, free: 12.12 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.76e-05/0.4406, allocations: 8 kB / 0.5494 GB, free: 12.11 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003242/0.4409, allocations: 15.98 kB / 0.5495 GB, free: 12.1 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.652e-05/0.4409, allocations: 19.97 kB / 0.5495 GB, free: 12.08 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.784e-05/0.441, allocations: 19.98 kB / 0.5495 GB, free: 12.06 MB / 478.1 MB Notification: Performance of sorting global known variables: time 7.136e-05/0.4411, allocations: 91.27 kB / 0.5496 GB, free: 11.97 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4411, allocations: 0 / 0.5496 GB, free: 11.97 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0008154/0.4419, allocations: 223.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.002108/0.444, allocations: 1.379 MB / 0.5511 GB, free: 10.34 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.000538/0.4445, allocations: 243.8 kB / 0.5514 GB, free: 10.11 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.4445, allocations: 0 / 0.5514 GB, free: 10.11 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002393/0.4448, allocations: 127.8 kB / 0.5515 GB, free: 9.98 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006559/0.4454, allocations: 80.95 kB / 0.5516 GB, free: 9.902 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003727/0.4491, allocations: 2.675 MB / 0.5542 GB, free: 7.074 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003809/0.4495, allocations: 0.7322 MB / 0.5549 GB, free: 6.316 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003127/0.4498, allocations: 78 kB / 0.555 GB, free: 6.242 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001497/0.45, allocations: 59.42 kB / 0.555 GB, free: 6.184 MB / 478.1 MB Notification: Performance of SimCode: time 5.31e-07/0.45, allocations: 0 / 0.555 GB, free: 6.184 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1908/0.6408, allocations: 10.94 MB / 0.5657 GB, free: 163.6 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.92, allocations: 6.594 kB / 0.5657 GB, free: 163.6 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 & /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/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.2310520329047]