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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001499/0.0015, allocations: 171.1 kB / 14.1 MB, free: 1.219 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.945/1.945, allocations: 205.2 MB / 219.8 MB, free: 14.28 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001024/0.001025, allocations: 86.66 kB / 268 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.66e-05/2.663e-05, allocations: 4 kB / 322.4 MB, free: 17.38 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1155, allocations: 47.58 MB / 370 MB, free: 1.73 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.197/2.312, allocations: 0.7292 GB / 1.091 GB, free: 105.6 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003973/2.313, allocations: 75.95 kB / 1.091 GB, free: 105.5 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08893/2.402, allocations: 40 MB / 1.13 GB, free: 65.22 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.693e-06/2.402, allocations: 0 / 1.13 GB, free: 65.22 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.697e-05/2.402, allocations: 4 kB / 1.13 GB, free: 65.21 MB / 426.7 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.0009683/2.403, allocations: 0.515 MB / 1.13 GB, free: 64.65 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.06e-05/2.403, allocations: 8.031 kB / 1.13 GB, free: 64.64 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00296/2.406, allocations: 367.3 kB / 1.131 GB, free: 64.29 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003907/2.406, allocations: 254.8 kB / 1.131 GB, free: 64 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/2.406, allocations: 12.38 kB / 1.131 GB, free: 63.98 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.295e-05/2.406, allocations: 27.89 kB / 1.131 GB, free: 63.96 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007759/2.407, allocations: 465.4 kB / 1.131 GB, free: 63.49 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/2.407, allocations: 0 / 1.131 GB, free: 63.49 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.101e-05/2.407, allocations: 15.89 kB / 1.131 GB, free: 63.48 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/2.407, allocations: 7.938 kB / 1.131 GB, free: 63.47 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007343/2.408, allocations: 479.8 kB / 1.132 GB, free: 63 MB / 426.7 MB Warning: The model contains alias variables with conflicting start and/or 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.00207/2.41, allocations: 0.9906 MB / 1.133 GB, free: 61.96 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004414/2.411, allocations: 265 kB / 1.133 GB, free: 61.68 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002/2.411, allocations: 145.7 kB / 1.133 GB, free: 61.53 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001162/2.412, allocations: 0.6555 MB / 1.134 GB, free: 60.77 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/2.412, allocations: 38.56 kB / 1.134 GB, free: 60.72 MB / 426.7 MB Notification: Performance of pre-optimization done (n=29): time 1.673e-06/2.412, allocations: 0 / 1.134 GB, free: 60.72 MB / 426.7 MB Notification: Performance of matching and sorting (n=29): time 0.0006121/2.413, allocations: 278.9 kB / 1.134 GB, free: 60.44 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.467e-05/2.413, allocations: 81.11 kB / 1.134 GB, free: 60.34 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.423e-05/2.413, allocations: 105.3 kB / 1.134 GB, free: 60.23 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.641e-05/2.413, allocations: 33.64 kB / 1.134 GB, free: 60.2 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.757e-05/2.413, allocations: 112.5 kB / 1.134 GB, free: 60.08 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.553e-05/2.413, allocations: 110.4 kB / 1.134 GB, free: 59.97 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.273e-05/2.413, allocations: 16 kB / 1.135 GB, free: 59.95 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001106/2.413, allocations: 326.8 kB / 1.135 GB, free: 59.62 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001584/2.413, allocations: 104.6 kB / 1.135 GB, free: 59.52 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001972/2.414, allocations: 195.5 kB / 1.135 GB, free: 59.29 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002011/2.414, allocations: 125.3 kB / 1.135 GB, free: 59.17 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/2.414, allocations: 0 / 1.135 GB, free: 59.17 MB / 426.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000571/2.414, allocations: 349.4 kB / 1.136 GB, free: 58.82 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.067e-05/2.414, allocations: 8 kB / 1.136 GB, free: 58.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/2.414, allocations: 7.938 kB / 1.136 GB, free: 58.81 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.802e-05/2.415, allocations: 4 kB / 1.136 GB, free: 58.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003622/2.415, allocations: 72.2 kB / 1.136 GB, free: 58.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.545e-05/2.415, allocations: 8 kB / 1.136 GB, free: 58.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002606/2.415, allocations: 39.67 kB / 1.136 GB, free: 58.69 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.757e-05/2.415, allocations: 12 kB / 1.136 GB, free: 58.68 MB / 426.7 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 () * 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.0001305/2.415, allocations: 128.9 kB / 1.136 GB, free: 58.54 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.943e-05/2.415, allocations: 15.81 kB / 1.136 GB, free: 58.53 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006928/2.416, allocations: 370.5 kB / 1.136 GB, free: 58.16 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.363e-06/2.416, allocations: 4 kB / 1.136 GB, free: 58.15 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.146e-06/2.416, allocations: 0 / 1.136 GB, free: 58.15 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/2.416, allocations: 0 / 1.136 GB, free: 58.15 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005654/2.417, allocations: 365 kB / 1.137 GB, free: 57.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/2.417, allocations: 4 kB / 1.137 GB, free: 57.74 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003428/2.417, allocations: 59.91 kB / 1.137 GB, free: 57.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/2.417, allocations: 3.984 kB / 1.137 GB, free: 57.68 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.533e-05/2.417, allocations: 15.98 kB / 1.137 GB, free: 57.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/2.417, allocations: 4 kB / 1.137 GB, free: 57.66 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/2.417, allocations: 0 / 1.137 GB, free: 57.66 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008005/2.418, allocations: 0.5432 MB / 1.137 GB, free: 57.09 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.52e-05/2.418, allocations: 96.84 kB / 1.137 GB, free: 56.98 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.261e-05/2.418, allocations: 8.062 kB / 1.137 GB, free: 56.97 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003262/2.419, allocations: 19.98 kB / 1.137 GB, free: 56.95 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.827e-05/2.419, allocations: 11.98 kB / 1.137 GB, free: 56.94 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-05/2.419, allocations: 19.98 kB / 1.137 GB, free: 56.92 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.122e-05/2.419, allocations: 91.27 kB / 1.137 GB, free: 56.83 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/2.419, allocations: 0 / 1.137 GB, free: 56.83 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001535/2.42, allocations: 267.7 kB / 1.138 GB, free: 56.57 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium.p,medium.T,medium2.p,medium2.T,medium2.X[1],medium2.X[2]) * Number of discrete variables: 0 () * Number of discrete 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.001739/2.422, allocations: 0.7582 MB / 1.138 GB, free: 55.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005403/2.423, allocations: 280.8 kB / 1.139 GB, free: 55.53 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/2.423, allocations: 4.125 kB / 1.139 GB, free: 55.53 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002069/2.423, allocations: 139.8 kB / 1.139 GB, free: 55.39 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006019/2.423, allocations: 75.88 kB / 1.139 GB, free: 55.32 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/2.425, allocations: 0.6093 MB / 1.139 GB, free: 54.68 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004181/2.425, allocations: 0.7324 MB / 1.14 GB, free: 53.92 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005251/2.426, allocations: 85.89 kB / 1.14 GB, free: 53.83 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001507/2.426, allocations: 39.36 kB / 1.14 GB, free: 53.79 MB / 426.7 MB Notification: Performance of SimCode: time 3.71e-07/2.426, allocations: 0 / 1.14 GB, free: 53.79 MB / 426.7 MB Notification: Performance of Templates: time 0.02081/2.447, allocations: 15.74 MB / 1.156 GB, free: 38.04 MB / 426.7 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