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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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: translateModel(Modelica.Media.Examples.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.1.|medium2.X.2.|medium2.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir") translateModel(Modelica.Media.Examples.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.1.|medium2.X.2.|medium2.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009181/0.0009181, allocations: 93.52 kB / 16.95 MB, free: 6.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008633/0.0008634, allocations: 183.1 kB / 17.84 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.385/1.385, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB 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.0007331/0.0007334, allocations: 12 kB / 280.8 MB, free: 3.734 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1076, allocations: 47.59 MB / 328.4 MB, free: 4.074 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.3473/0.4549, allocations: 137.1 MB / 465.5 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003663/0.4586, allocations: 2.832 MB / 468.3 MB, free: 14.22 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.08e-05/0.4587, allocations: 4 kB / 468.3 MB, free: 14.21 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002994/0.459, allocations: 39.73 kB / 468.3 MB, free: 14.18 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001868/0.4609, allocations: 0.6959 MB / 469 MB, free: 13.48 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004621/0.4614, allocations: 157.7 kB / 469.2 MB, free: 13.32 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005158/0.4619, allocations: 406.6 kB / 469.6 MB, free: 12.93 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.183e-05/0.462, allocations: 13.08 kB / 469.6 MB, free: 12.91 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002742/0.4623, allocations: 139.5 kB / 469.7 MB, free: 12.78 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00021/0.4625, allocations: 119.6 kB / 469.9 MB, free: 12.66 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.488e-05/0.4625, allocations: 8 kB / 469.9 MB, free: 12.65 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002379/0.4649, allocations: 1.045 MB / 470.9 MB, free: 11.61 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001108/0.465, allocations: 75.83 kB / 471 MB, free: 11.53 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.775e-05/0.4651, allocations: 61.58 kB / 471 MB, free: 11.46 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000914/0.4661, allocations: 0.6018 MB / 471.6 MB, free: 10.86 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.074e-06/0.4661, allocations: 0 / 471.6 MB, free: 10.86 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4661, allocations: 0 / 471.6 MB, free: 10.86 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.4661, allocations: 0 / 471.6 MB, free: 10.86 MB / 366.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.0008327/0.4669, allocations: 0.492 MB / 472.1 MB, free: 10.32 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.467, allocations: 8.031 kB / 472.1 MB, free: 10.32 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003283/0.4703, allocations: 383.8 kB / 472.5 MB, free: 9.941 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003786/0.4707, allocations: 258.7 kB / 472.8 MB, free: 9.648 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.4707, allocations: 16.38 kB / 472.8 MB, free: 9.633 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.884e-05/0.4708, allocations: 23.91 kB / 472.8 MB, free: 9.609 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009731/0.4718, allocations: 489.5 kB / 473.3 MB, free: 9.121 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.4718, allocations: 0 / 473.3 MB, free: 9.121 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.793e-05/0.4719, allocations: 11.98 kB / 473.3 MB, free: 9.109 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.4719, allocations: 4 kB / 473.3 MB, free: 9.105 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000961/0.4728, allocations: 0.5152 MB / 473.8 MB, free: 8.59 MB / 366.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.00216/0.475, allocations: 0.9932 MB / 474.8 MB, free: 7.543 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005613/0.4756, allocations: 285.1 kB / 475.1 MB, free: 7.246 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002679/0.4759, allocations: 154.7 kB / 475.2 MB, free: 7.09 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001614/0.4775, allocations: 0.8971 MB / 476.1 MB, free: 6.047 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.4775, allocations: 30.56 kB / 476.2 MB, free: 6.008 MB / 366.1 MB Notification: Performance of pre-optimization done (n=29): time 1.853e-06/0.4775, allocations: 7.875 kB / 476.2 MB, free: 6 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.0009231/0.4785, allocations: 410.1 kB / 476.6 MB, free: 5.594 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.596e-05/0.4785, allocations: 85.11 kB / 476.7 MB, free: 5.492 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.4786, allocations: 109.8 kB / 476.8 MB, free: 5.375 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.785e-05/0.4787, allocations: 33.7 kB / 476.8 MB, free: 5.336 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.73e-05/0.4788, allocations: 108.4 kB / 476.9 MB, free: 5.223 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001126/0.4789, allocations: 110.4 kB / 477 MB, free: 5.113 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.231e-05/0.4789, allocations: 4 kB / 477 MB, free: 5.109 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.479, allocations: 326.8 kB / 477.3 MB, free: 4.781 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002337/0.4793, allocations: 120.6 kB / 477.5 MB, free: 4.664 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002729/0.4796, allocations: 207.4 kB / 477.7 MB, free: 4.426 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002552/0.4798, allocations: 140.1 kB / 477.8 MB, free: 4.289 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.4798, allocations: 0 / 477.8 MB, free: 4.289 MB / 366.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006922/0.4805, allocations: 373.7 kB / 478.2 MB, free: 3.918 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.4806, allocations: 4 kB / 478.2 MB, free: 3.914 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.4806, allocations: 4 kB / 478.2 MB, free: 3.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.4806, allocations: 4 kB / 478.2 MB, free: 3.906 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004148/0.481, allocations: 79.83 kB / 478.2 MB, free: 3.828 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.481, allocations: 4 kB / 478.3 MB, free: 3.824 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002897/0.4813, allocations: 36 kB / 478.3 MB, free: 3.789 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.246e-05/0.4814, allocations: 23.98 kB / 478.3 MB, free: 3.766 MB / 366.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001483/0.4815, allocations: 137.7 kB / 478.4 MB, free: 3.621 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.936e-05/0.4817, allocations: 23.78 kB / 478.5 MB, free: 3.598 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008041/0.4825, allocations: 376.3 kB / 478.8 MB, free: 3.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.4825, allocations: 8 kB / 478.8 MB, free: 3.223 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.4825, allocations: 0.875 kB / 478.8 MB, free: 3.223 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.4825, allocations: 0 / 478.8 MB, free: 3.223 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007197/0.4832, allocations: 368.6 kB / 479.2 MB, free: 2.812 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/0.4832, allocations: 0 / 479.2 MB, free: 2.812 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004025/0.4837, allocations: 59.91 kB / 479.3 MB, free: 2.754 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.99e-06/0.4837, allocations: 3.938 kB / 479.3 MB, free: 2.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.482e-05/0.4837, allocations: 15.42 kB / 479.3 MB, free: 2.738 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.4837, allocations: 4 kB / 479.3 MB, free: 2.734 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.4837, allocations: 0 / 479.3 MB, free: 2.734 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009627/0.4847, allocations: 0.5535 MB / 479.8 MB, free: 2.164 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.07e-05/0.4848, allocations: 92.86 kB / 479.9 MB, free: 2.055 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.622e-05/0.4848, allocations: 8.062 kB / 479.9 MB, free: 2.047 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003626/0.4852, allocations: 23.92 kB / 480 MB, free: 2.023 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.576e-05/0.4853, allocations: 23.97 kB / 480 MB, free: 2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.161e-05/0.4853, allocations: 15.98 kB / 480 MB, free: 1.984 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.429e-05/0.4854, allocations: 91.27 kB / 480.1 MB, free: 1.895 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4854, allocations: 0 / 480.1 MB, free: 1.895 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008716/0.4863, allocations: 223.7 kB / 480.3 MB, free: 1.676 MB / 366.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009209/0.4872, allocations: 366.9 kB / 480.7 MB, free: 1.305 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00061/0.4878, allocations: 283.7 kB / 480.9 MB, free: 1.027 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.4878, allocations: 3.938 kB / 480.9 MB, free: 1.023 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002459/0.4881, allocations: 148.7 kB / 481.1 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006367/0.4887, allocations: 88.66 kB / 481.2 MB, free: 0.793 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001238/0.49, allocations: 0.9018 MB / 482.1 MB, free: 15.87 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003137/0.4903, allocations: 0.7365 MB / 482.8 MB, free: 15.11 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005066/0.4908, allocations: 89.98 kB / 482.9 MB, free: 15.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/0.491, allocations: 35.42 kB / 482.9 MB, free: 14.98 MB / 382.1 MB Notification: Performance of SimCode: time 2.71e-07/0.491, allocations: 0 / 482.9 MB, free: 14.98 MB / 382.1 MB Notification: Performance of Templates: time 0.01336/0.5043, allocations: 8.044 MB / 491 MB, free: 6.938 MB / 382.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.makefile (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 & ./Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches