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.001482/0.001482, allocations: 119.7 kB / 19.17 MB, free: 3.898 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.001582/0.001582, allocations: 207.3 kB / 22.12 MB, free: 0.9609 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.309/1.309, allocations: 207.6 MB / 232.5 MB, free: 3.949 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.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.MixIdealGasAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_MixIdealGasAir",fmuType="cs",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.001624/0.001624, allocations: 52.56 kB / 343 MB, free: 10 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08519/0.08681, allocations: 49.13 MB / 392.1 MB, free: 8.707 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.3484/0.4352, allocations: 151.6 MB / 0.531 GB, free: 10.96 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003689/0.4389, allocations: 3.046 MB / 0.534 GB, free: 8.18 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.973e-05/0.4389, allocations: 4 kB / 0.534 GB, free: 8.176 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003802/0.4393, allocations: 67.58 kB / 0.534 GB, free: 8.109 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002368/0.4417, allocations: 1.011 MB / 0.535 GB, free: 7.094 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005068/0.4422, allocations: 192.8 kB / 0.5352 GB, free: 6.906 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004337/0.4426, allocations: 354.7 kB / 0.5356 GB, free: 6.559 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.053e-05/0.4427, allocations: 5.125 kB / 0.5356 GB, free: 6.555 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000234/0.4429, allocations: 155.4 kB / 0.5357 GB, free: 6.402 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002014/0.4431, allocations: 119.6 kB / 0.5358 GB, free: 6.285 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.795e-05/0.4432, allocations: 16 kB / 0.5358 GB, free: 6.27 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002467/0.4456, allocations: 1.526 MB / 0.5373 GB, free: 4.742 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.4457, allocations: 83.7 kB / 0.5374 GB, free: 4.66 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001188/0.4459, allocations: 103.6 kB / 0.5375 GB, free: 4.559 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001326/0.4472, allocations: 0.9858 MB / 0.5385 GB, free: 3.57 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.4472, allocations: 0 / 0.5385 GB, free: 3.57 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.4472, allocations: 0 / 0.5385 GB, free: 3.57 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.4472, allocations: 9.438 kB / 0.5385 GB, free: 3.562 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.0009553/0.4481, allocations: 0.5413 MB / 0.539 GB, free: 2.973 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.4482, allocations: 12.03 kB / 0.539 GB, free: 2.961 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.669e-05/0.4482, allocations: 8.562 kB / 0.539 GB, free: 2.953 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.282e-05/0.4483, allocations: 54.73 kB / 0.5391 GB, free: 2.891 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001332/0.4496, allocations: 200.6 kB / 0.5393 GB, free: 2.695 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003168/0.4499, allocations: 244.3 kB / 0.5395 GB, free: 2.418 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/0.4499, allocations: 24.3 kB / 0.5395 GB, free: 2.395 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.567e-05/0.45, allocations: 19.95 kB / 0.5395 GB, free: 2.375 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005938/0.4506, allocations: 381.4 kB / 0.5399 GB, free: 1.988 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.4506, allocations: 0 / 0.5399 GB, free: 1.988 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.164e-05/0.4506, allocations: 19.92 kB / 0.5399 GB, free: 1.969 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.4506, allocations: 4 kB / 0.5399 GB, free: 1.965 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005744/0.4512, allocations: 411.7 kB / 0.5403 GB, free: 1.562 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.001594/0.4528, allocations: 0.8087 MB / 0.5411 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003994/0.4532, allocations: 221 kB / 0.5413 GB, free: 476 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001804/0.4534, allocations: 122.3 kB / 0.5414 GB, free: 348 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00178/0.4552, allocations: 0.8853 MB / 0.5423 GB, free: 15.31 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/0.4552, allocations: 46.5 kB / 0.5423 GB, free: 15.25 MB / 430.1 MB Notification: Performance of pre-optimization done (n=29): time 1.884e-06/0.4552, allocations: 0 / 0.5423 GB, free: 15.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=29): time 0.00121/0.4564, allocations: 371.1 kB / 0.5427 GB, free: 14.89 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.734e-05/0.4565, allocations: 81.11 kB / 0.5428 GB, free: 14.79 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.114e-05/0.4566, allocations: 112.2 kB / 0.5429 GB, free: 14.67 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.508e-05/0.4566, allocations: 33.7 kB / 0.5429 GB, free: 14.63 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.981e-05/0.4567, allocations: 116.5 kB / 0.543 GB, free: 14.52 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.378e-05/0.4568, allocations: 115 kB / 0.5431 GB, free: 14.4 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.4569, allocations: 58.03 kB / 0.5432 GB, free: 14.34 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.457, allocations: 330.8 kB / 0.5435 GB, free: 14.01 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001876/0.4572, allocations: 93.36 kB / 0.5436 GB, free: 13.92 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002552/0.4574, allocations: 183.5 kB / 0.5438 GB, free: 13.7 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004728/0.4579, allocations: 298.8 kB / 0.5441 GB, free: 13.38 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.4579, allocations: 3.938 kB / 0.5441 GB, free: 13.37 MB / 430.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006133/0.4585, allocations: 345.7 kB / 0.5444 GB, free: 13.03 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.4586, allocations: 4 kB / 0.5444 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.4586, allocations: 4 kB / 0.5444 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.4586, allocations: 4.5 kB / 0.5444 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003494/0.4589, allocations: 79.83 kB / 0.5445 GB, free: 12.94 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.292e-05/0.4589, allocations: 7.938 kB / 0.5445 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002125/0.4592, allocations: 32.09 kB / 0.5445 GB, free: 12.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.797e-05/0.4592, allocations: 23.61 kB / 0.5445 GB, free: 12.88 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.0001461/0.4594, allocations: 141.7 kB / 0.5447 GB, free: 12.73 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.676e-05/0.4594, allocations: 15.91 kB / 0.5447 GB, free: 12.71 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006684/0.4601, allocations: 327.8 kB / 0.545 GB, free: 12.39 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.4601, allocations: 4 kB / 0.545 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.4601, allocations: 3.984 kB / 0.545 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.4601, allocations: 3.984 kB / 0.545 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005485/0.4607, allocations: 331.1 kB / 0.5453 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.4607, allocations: 0 / 0.5453 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003323/0.461, allocations: 55.91 kB / 0.5454 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.461, allocations: 4 kB / 0.5454 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.816e-05/0.4611, allocations: 15.94 kB / 0.5454 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.4611, allocations: 0 / 0.5454 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.4611, allocations: 4 kB / 0.5454 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007622/0.4618, allocations: 0.5075 MB / 0.5459 GB, free: 11.4 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.666e-05/0.4619, allocations: 93 kB / 0.546 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.548e-05/0.4619, allocations: 12.05 kB / 0.546 GB, free: 11.28 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003099/0.4622, allocations: 8 kB / 0.546 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.284e-05/0.4623, allocations: 19.97 kB / 0.546 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.66e-05/0.4623, allocations: 15.98 kB / 0.546 GB, free: 11.24 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.469e-05/0.4624, allocations: 95.25 kB / 0.5461 GB, free: 11.14 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4624, allocations: 0 / 0.5461 GB, free: 11.14 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007854/0.4631, allocations: 227.4 kB / 0.5464 GB, free: 10.92 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.001914/0.4651, allocations: 1.371 MB / 0.5477 GB, free: 9.523 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005044/0.4656, allocations: 252.1 kB / 0.5479 GB, free: 9.277 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.4656, allocations: 0 / 0.5479 GB, free: 9.277 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002539/0.4658, allocations: 127.8 kB / 0.5481 GB, free: 9.152 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006384/0.4665, allocations: 87.39 kB / 0.5481 GB, free: 9.07 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003396/0.4699, allocations: 2.667 MB / 0.5507 GB, free: 6.258 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000367/0.4702, allocations: 0.74 MB / 0.5515 GB, free: 5.492 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002946/0.4705, allocations: 74.02 kB / 0.5515 GB, free: 5.422 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001355/0.4706, allocations: 63.36 kB / 0.5516 GB, free: 5.359 MB / 430.1 MB Notification: Performance of SimCode: time 3.8e-07/0.4706, allocations: 0 / 0.5516 GB, free: 5.359 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03095/0.5016, allocations: 10.68 MB / 0.562 GB, free: 10.61 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.984/8.486, allocations: 7.969 kB / 0.562 GB, free: 10.61 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/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: 10.898591473000124]