Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.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.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002167/0.002167, allocations: 177.8 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.244/2.244, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001123/0.001123, allocations: 99.34 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 1.885e-05/1.883e-05, allocations: 4 kB / 314.8 MB, free: 9.16 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3571/0.3571, allocations: 47.57 MB / 362.3 MB, free: 45.85 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.037/2.394, allocations: 0.7172 GB / 1.071 GB, free: 74.61 MB / 427.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002921/2.395, allocations: 89.17 kB / 1.071 GB, free: 74.57 MB / 427.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1142/2.509, allocations: 33.2 MB / 1.104 GB, free: 47.42 MB / 427.1 MB Notification: Performance of FrontEnd: time 1.694e-06/2.509, allocations: 0 / 1.104 GB, free: 47.42 MB / 427.1 MB Notification: Performance of Transformations before backend: time 1.57e-05/2.509, allocations: 4 kB / 1.104 GB, free: 47.42 MB / 427.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0005854/2.509, allocations: 409 kB / 1.104 GB, free: 46.98 MB / 427.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/2.509, allocations: 12.25 kB / 1.104 GB, free: 46.97 MB / 427.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002796/2.512, allocations: 177.5 kB / 1.104 GB, free: 46.81 MB / 427.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003077/2.513, allocations: 216.3 kB / 1.104 GB, free: 46.58 MB / 427.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/2.513, allocations: 0 / 1.104 GB, free: 46.58 MB / 427.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.454e-05/2.513, allocations: 11.91 kB / 1.104 GB, free: 46.57 MB / 427.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005651/2.513, allocations: 192.6 kB / 1.105 GB, free: 46.45 MB / 427.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003754/2.514, allocations: 150.2 kB / 1.105 GB, free: 46.33 MB / 427.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/2.514, allocations: 0 / 1.105 GB, free: 46.33 MB / 427.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.804e-05/2.514, allocations: 4 kB / 1.105 GB, free: 46.33 MB / 427.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/2.514, allocations: 4 kB / 1.105 GB, free: 46.32 MB / 427.1 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.001929/2.516, allocations: 0.5894 MB / 1.105 GB, free: 45.81 MB / 427.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003165/2.516, allocations: 148.5 kB / 1.105 GB, free: 45.71 MB / 427.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001605/2.516, allocations: 75.41 kB / 1.105 GB, free: 45.66 MB / 427.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002725/2.517, allocations: 93.09 kB / 1.106 GB, free: 45.55 MB / 427.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/2.517, allocations: 42 kB / 1.106 GB, free: 45.5 MB / 427.1 MB Notification: Performance of pre-optimization done (n=14): time 2.074e-06/2.517, allocations: 0 / 1.106 GB, free: 45.5 MB / 427.1 MB Notification: Performance of matching and sorting (n=19): time 0.00661/2.523, allocations: 0.9931 MB / 1.107 GB, free: 44.55 MB / 427.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.656e-05/2.523, allocations: 59.34 kB / 1.107 GB, free: 44.48 MB / 427.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.484e-05/2.523, allocations: 97.66 kB / 1.107 GB, free: 44.38 MB / 427.1 MB Notification: Performance of collectPreVariables (initialization): time 3.298e-05/2.523, allocations: 29.69 kB / 1.107 GB, free: 44.35 MB / 427.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.459e-05/2.523, allocations: 170.4 kB / 1.107 GB, free: 44.18 MB / 427.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.164e-05/2.524, allocations: 66.31 kB / 1.107 GB, free: 44.12 MB / 427.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.429e-05/2.524, allocations: 0 / 1.107 GB, free: 44.12 MB / 427.1 MB Notification: Performance of setup shared object (initialization): time 6.103e-05/2.524, allocations: 318.6 kB / 1.107 GB, free: 43.8 MB / 427.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001654/2.524, allocations: 68.92 kB / 1.107 GB, free: 43.77 MB / 427.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001922/2.524, allocations: 107.2 kB / 1.107 GB, free: 43.68 MB / 427.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002132/2.524, allocations: 80.47 kB / 1.108 GB, free: 43.63 MB / 427.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/2.524, allocations: 0 / 1.108 GB, free: 43.63 MB / 427.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005963/2.525, allocations: 234.7 kB / 1.108 GB, free: 43.46 MB / 427.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/2.525, allocations: 4 kB / 1.108 GB, free: 43.45 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/2.525, allocations: 96 / 1.108 GB, free: 43.45 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001573/2.525, allocations: 24.84 kB / 1.108 GB, free: 43.43 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006318/2.526, allocations: 53.53 kB / 1.108 GB, free: 43.38 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003352/2.526, allocations: 0.5416 MB / 1.108 GB, free: 42.82 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003411/2.526, allocations: 11.95 kB / 1.108 GB, free: 42.81 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.34e-05/2.527, allocations: 16.08 kB / 1.108 GB, free: 42.79 MB / 427.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001143/2.527, allocations: 104.9 kB / 1.108 GB, free: 42.68 MB / 427.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.022e-05/2.527, allocations: 14.16 kB / 1.108 GB, free: 42.67 MB / 427.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007692/2.528, allocations: 263.6 kB / 1.109 GB, free: 42.47 MB / 427.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/2.528, allocations: 4 kB / 1.109 GB, free: 42.47 MB / 427.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/2.528, allocations: 0 / 1.109 GB, free: 42.47 MB / 427.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/2.528, allocations: 0 / 1.109 GB, free: 42.47 MB / 427.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00118/2.529, allocations: 0.5992 MB / 1.109 GB, free: 41.92 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.73e-06/2.529, allocations: 4 kB / 1.109 GB, free: 41.91 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006251/2.529, allocations: 51.08 kB / 1.109 GB, free: 41.87 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001394/2.53, allocations: 20.84 kB / 1.109 GB, free: 41.84 MB / 427.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.694e-05/2.53, allocations: 2.75 kB / 1.109 GB, free: 41.84 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008228/2.53, allocations: 1.222 MB / 1.111 GB, free: 40.55 MB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/2.53, allocations: 0 / 1.111 GB, free: 40.55 MB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000782/2.531, allocations: 422.9 kB / 1.111 GB, free: 40.17 MB / 427.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.504e-05/2.531, allocations: 93.09 kB / 1.111 GB, free: 40.06 MB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.53e-05/2.531, allocations: 7 kB / 1.111 GB, free: 40.05 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004131/2.532, allocations: 0 / 1.111 GB, free: 40.05 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.361e-05/2.532, allocations: 15.97 kB / 1.111 GB, free: 40.04 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.257e-05/2.532, allocations: 10.19 kB / 1.111 GB, free: 40.03 MB / 427.1 MB Notification: Performance of sorting global known variables: time 4.799e-05/2.532, allocations: 89.7 kB / 1.111 GB, free: 39.95 MB / 427.1 MB Notification: Performance of sort global known variables: time 4.31e-07/2.532, allocations: 0 / 1.111 GB, free: 39.95 MB / 427.1 MB Notification: Performance of remove unused functions: time 0.0008407/2.533, allocations: 150.9 kB / 1.111 GB, free: 39.82 MB / 427.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 18 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001547/2.534, allocations: 0.7045 MB / 1.112 GB, free: 39.12 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.0006241/2.535, allocations: 201.1 kB / 1.112 GB, free: 38.98 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/2.535, allocations: 0 / 1.112 GB, free: 38.98 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003608/2.535, allocations: 208.6 kB / 1.112 GB, free: 38.8 MB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005903/2.536, allocations: 37.78 kB / 1.112 GB, free: 38.77 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007146/2.537, allocations: 334.3 kB / 1.113 GB, free: 38.43 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001769/2.537, allocations: 0.7124 MB / 1.113 GB, free: 37.7 MB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002289/2.537, allocations: 26.05 kB / 1.114 GB, free: 37.67 MB / 427.1 MB Notification: Performance of SimCode: time 1.603e-06/2.537, allocations: 0 / 1.114 GB, free: 37.67 MB / 427.1 MB Notification: Performance of Templates: time 0.01469/2.552, allocations: 7.419 MB / 1.121 GB, free: 30.28 MB / 427.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2Mix --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches