Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.00129/0.001289, allocations: 177.3 kB / 17.41 MB, free: 4.414 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.436/1.436, allocations: 205.4 MB / 223.6 MB, free: 9.035 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.0008205/0.0008205, allocations: 86.3 kB / 271.9 MB, free: 8.281 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003092/0.0003092, allocations: 8 kB / 328.1 MB, free: 15.96 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/0.2503, allocations: 47.57 MB / 375.7 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.275/1.525, allocations: 0.7294 GB / 1.096 GB, free: 39.02 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002498/1.526, allocations: 83.95 kB / 1.096 GB, free: 38.94 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2683/1.794, allocations: 40.07 MB / 1.136 GB, free: 139 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.754e-06/1.794, allocations: 0 / 1.136 GB, free: 139 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.379e-05/1.794, allocations: 3.781 kB / 1.136 GB, free: 139 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.001056/1.795, allocations: 0.5068 MB / 1.136 GB, free: 138.6 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/1.795, allocations: 7.719 kB / 1.136 GB, free: 138.6 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004443/1.8, allocations: 364.8 kB / 1.136 GB, free: 138.6 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004055/1.8, allocations: 266.6 kB / 1.137 GB, free: 138.4 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.398e-05/1.8, allocations: 13.22 kB / 1.137 GB, free: 138.4 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.977e-05/1.8, allocations: 19.88 kB / 1.137 GB, free: 138.4 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001272/1.801, allocations: 497 kB / 1.137 GB, free: 138.3 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/1.801, allocations: 192 / 1.137 GB, free: 138.3 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.669e-05/1.802, allocations: 15.72 kB / 1.137 GB, free: 138.3 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/1.802, allocations: 7.031 kB / 1.137 GB, free: 138.3 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001481/1.803, allocations: 0.5007 MB / 1.138 GB, free: 138.3 MB / 426.7 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.002811/1.806, allocations: 0.9833 MB / 1.139 GB, free: 137.9 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007661/1.807, allocations: 288.3 kB / 1.139 GB, free: 137.9 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003614/1.807, allocations: 146.4 kB / 1.139 GB, free: 137.8 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001918/1.809, allocations: 0.8683 MB / 1.14 GB, free: 137.1 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.088e-05/1.809, allocations: 36.88 kB / 1.14 GB, free: 137.1 MB / 426.7 MB Notification: Performance of pre-optimization done (n=29): time 4.268e-06/1.809, allocations: 5.375 kB / 1.14 GB, free: 137.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=29): time 0.00155/1.811, allocations: 397.7 kB / 1.14 GB, free: 137 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.008e-05/1.811, allocations: 82.45 kB / 1.14 GB, free: 136.9 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/1.811, allocations: 114.2 kB / 1.141 GB, free: 136.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.969e-05/1.811, allocations: 37.67 kB / 1.141 GB, free: 136.8 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.564e-05/1.811, allocations: 113.8 kB / 1.141 GB, free: 136.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001193/1.811, allocations: 112.7 kB / 1.141 GB, free: 136.6 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.163e-05/1.811, allocations: 4.469 kB / 1.141 GB, free: 136.6 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.208e-05/1.811, allocations: 325.7 kB / 1.141 GB, free: 136.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004013/1.812, allocations: 114.4 kB / 1.141 GB, free: 136.3 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004436/1.812, allocations: 206.8 kB / 1.141 GB, free: 136.2 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007079/1.813, allocations: 336.4 kB / 1.142 GB, free: 136.1 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/1.813, allocations: 2.719 kB / 1.142 GB, free: 136.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009226/1.814, allocations: 372 kB / 1.142 GB, free: 136.1 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/1.814, allocations: 5.156 kB / 1.142 GB, free: 136.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/1.814, allocations: 9.75 kB / 1.142 GB, free: 136.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.3e-05/1.814, allocations: 3.312 kB / 1.142 GB, free: 136.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005031/1.814, allocations: 76.34 kB / 1.142 GB, free: 136.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/1.814, allocations: 9.469 kB / 1.142 GB, free: 136.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003678/1.815, allocations: 34.52 kB / 1.142 GB, free: 136.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.82e-05/1.815, allocations: 21.06 kB / 1.142 GB, free: 136.1 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 () * 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.0001674/1.815, allocations: 143.1 kB / 1.142 GB, free: 136 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001512/1.815, allocations: 10 kB / 1.142 GB, free: 136 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00109/1.816, allocations: 382.7 kB / 1.143 GB, free: 135.9 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/1.816, allocations: 3.875 kB / 1.143 GB, free: 135.9 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/1.816, allocations: 0.7188 kB / 1.143 GB, free: 135.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.343e-06/1.816, allocations: 0.8125 kB / 1.143 GB, free: 135.9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008418/1.817, allocations: 364.7 kB / 1.143 GB, free: 135.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/1.817, allocations: 3.469 kB / 1.143 GB, free: 135.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004591/1.818, allocations: 60.91 kB / 1.143 GB, free: 135.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.703e-06/1.818, allocations: 3.938 kB / 1.143 GB, free: 135.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.566e-05/1.818, allocations: 16.09 kB / 1.143 GB, free: 135.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/1.818, allocations: 0 / 1.143 GB, free: 135.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/1.818, allocations: 5.906 kB / 1.143 GB, free: 135.7 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001279/1.819, allocations: 0.5454 MB / 1.144 GB, free: 135.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.03e-05/1.819, allocations: 99.86 kB / 1.144 GB, free: 135.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.783e-05/1.819, allocations: 10.81 kB / 1.144 GB, free: 135.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004398/1.82, allocations: 16.64 kB / 1.144 GB, free: 135.4 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.451e-05/1.82, allocations: 24.02 kB / 1.144 GB, free: 135.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.601e-05/1.82, allocations: 15.61 kB / 1.144 GB, free: 135.4 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.394e-05/1.82, allocations: 87.61 kB / 1.144 GB, free: 135.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.4e-07/1.82, allocations: 0 / 1.144 GB, free: 135.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00139/1.821, allocations: 271 kB / 1.144 GB, free: 135.2 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 () * 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.001967/1.823, allocations: 0.7456 MB / 1.145 GB, free: 135.1 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009203/1.824, allocations: 302.5 kB / 1.145 GB, free: 135.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/1.824, allocations: 1.375 kB / 1.145 GB, free: 135.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004005/1.825, allocations: 147.5 kB / 1.145 GB, free: 135.1 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/1.826, allocations: 85.73 kB / 1.145 GB, free: 135.1 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001729/1.827, allocations: 0.9279 MB / 1.146 GB, free: 134.7 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/1.828, allocations: 0.7356 MB / 1.147 GB, free: 134 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002711/1.828, allocations: 45.2 kB / 1.147 GB, free: 134 MB / 426.7 MB Notification: Performance of SimCode: time 3.51e-07/1.828, allocations: 0 / 1.147 GB, free: 134 MB / 426.7 MB Notification: Performance of Templates: time 0.01939/1.847, allocations: 8.839 MB / 1.156 GB, free: 133.1 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.MixIdealGasAir.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.MixIdealGasAir.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.MixIdealGasAir --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches