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.002109/0.002109, allocations: 181.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.007/2.007, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001092/0.001092, allocations: 82.72 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.945e-05/2.948e-05, allocations: 4 kB / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09798/0.09803, allocations: 47.57 MB / 369.1 MB, free: 2.207 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.319/2.417, allocations: 0.7179 GB / 1.078 GB, free: 101.6 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002692/2.418, allocations: 79.45 kB / 1.078 GB, free: 101.5 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1129/2.531, allocations: 33.74 MB / 1.111 GB, free: 71.91 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.563e-06/2.531, allocations: 0 / 1.111 GB, free: 71.91 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.225e-05/2.531, allocations: 4 kB / 1.111 GB, free: 71.9 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0005484/2.531, allocations: 407.3 kB / 1.112 GB, free: 71.46 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/2.531, allocations: 8.25 kB / 1.112 GB, free: 71.45 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002717/2.534, allocations: 183.7 kB / 1.112 GB, free: 71.27 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002755/2.534, allocations: 214.8 kB / 1.112 GB, free: 71.02 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/2.534, allocations: 8.188 kB / 1.112 GB, free: 71.01 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.231e-05/2.534, allocations: 7.906 kB / 1.112 GB, free: 71 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005235/2.535, allocations: 203 kB / 1.112 GB, free: 70.8 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/2.535, allocations: 0 / 1.112 GB, free: 70.8 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.691e-05/2.535, allocations: 4 kB / 1.112 GB, free: 70.8 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.505e-06/2.535, allocations: 4 kB / 1.112 GB, free: 70.79 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005542/2.536, allocations: 196.4 kB / 1.112 GB, free: 70.6 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.00192/2.538, allocations: 0.6143 MB / 1.113 GB, free: 69.93 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003653/2.538, allocations: 162.5 kB / 1.113 GB, free: 69.77 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001862/2.538, allocations: 81.72 kB / 1.113 GB, free: 69.68 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002855/2.538, allocations: 89.09 kB / 1.113 GB, free: 69.58 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.744e-05/2.539, allocations: 38.5 kB / 1.113 GB, free: 69.53 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 2.384e-06/2.539, allocations: 0 / 1.113 GB, free: 69.53 MB / 426.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.007464/2.546, allocations: 1.207 MB / 1.115 GB, free: 68.23 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.853e-05/2.546, allocations: 51.41 kB / 1.115 GB, free: 68.16 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.924e-05/2.546, allocations: 113 kB / 1.115 GB, free: 68.05 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.516e-05/2.546, allocations: 29.7 kB / 1.115 GB, free: 68.01 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.942e-05/2.546, allocations: 170.7 kB / 1.115 GB, free: 67.84 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.324e-05/2.546, allocations: 67 kB / 1.115 GB, free: 67.77 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.756e-05/2.546, allocations: 4 kB / 1.115 GB, free: 67.77 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.771e-05/2.546, allocations: 314.8 kB / 1.115 GB, free: 67.45 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001952/2.547, allocations: 79.92 kB / 1.115 GB, free: 67.38 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002182/2.547, allocations: 107.7 kB / 1.116 GB, free: 67.26 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002259/2.547, allocations: 87.91 kB / 1.116 GB, free: 67.17 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/2.547, allocations: 7.891 kB / 1.116 GB, free: 67.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006278/2.548, allocations: 246.2 kB / 1.116 GB, free: 66.91 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/2.548, allocations: 4 kB / 1.116 GB, free: 66.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/2.548, allocations: 4.094 kB / 1.116 GB, free: 66.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001593/2.548, allocations: 24.84 kB / 1.116 GB, free: 66.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006181/2.549, allocations: 55.89 kB / 1.116 GB, free: 66.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003146/2.549, allocations: 0.529 MB / 1.116 GB, free: 66.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003393/2.549, allocations: 8.016 kB / 1.116 GB, free: 66.26 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.472e-05/2.549, allocations: 20.05 kB / 1.116 GB, free: 66.24 MB / 426.7 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.0001121/2.55, allocations: 116.9 kB / 1.117 GB, free: 66.12 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.847e-05/2.55, allocations: 7.906 kB / 1.117 GB, free: 66.11 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008238/2.55, allocations: 279.1 kB / 1.117 GB, free: 65.83 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/2.55, allocations: 4 kB / 1.117 GB, free: 65.82 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/2.55, allocations: 0 / 1.117 GB, free: 65.82 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/2.55, allocations: 3.984 kB / 1.117 GB, free: 65.82 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001212/2.552, allocations: 0.6433 MB / 1.118 GB, free: 65.11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.768e-06/2.552, allocations: 0 / 1.118 GB, free: 65.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006257/2.552, allocations: 55.91 kB / 1.118 GB, free: 65.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.925e-05/2.552, allocations: 16.84 kB / 1.118 GB, free: 65.04 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.566e-05/2.553, allocations: 8 kB / 1.118 GB, free: 65.03 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000781/2.553, allocations: 1.269 MB / 1.119 GB, free: 63.63 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/2.553, allocations: 0 / 1.119 GB, free: 63.63 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008181/2.554, allocations: 444 kB / 1.119 GB, free: 63.15 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.633e-05/2.554, allocations: 97.09 kB / 1.119 GB, free: 63.04 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.547e-05/2.554, allocations: 4 kB / 1.119 GB, free: 63.03 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004045/2.555, allocations: 12 kB / 1.119 GB, free: 63.02 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.342e-05/2.555, allocations: 19.92 kB / 1.119 GB, free: 63 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.134e-05/2.555, allocations: 19.88 kB / 1.119 GB, free: 62.98 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.522e-05/2.555, allocations: 91.25 kB / 1.119 GB, free: 62.89 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.51e-07/2.555, allocations: 0 / 1.119 GB, free: 62.89 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008124/2.556, allocations: 155.9 kB / 1.12 GB, free: 62.74 MB / 426.7 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.001369/2.557, allocations: 0.6247 MB / 1.12 GB, free: 62.1 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006014/2.558, allocations: 195.3 kB / 1.12 GB, free: 61.91 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/2.558, allocations: 0 / 1.12 GB, free: 61.91 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003793/2.558, allocations: 214.5 kB / 1.121 GB, free: 61.69 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000531/2.559, allocations: 44.33 kB / 1.121 GB, free: 61.65 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007045/2.559, allocations: 343 kB / 1.121 GB, free: 61.27 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001583/2.56, allocations: 0.7166 MB / 1.122 GB, free: 60.53 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002291/2.56, allocations: 23.42 kB / 1.122 GB, free: 60.51 MB / 426.7 MB Notification: Performance of SimCode: time 7.11e-07/2.56, allocations: 0 / 1.122 GB, free: 60.51 MB / 426.7 MB Notification: Performance of Templates: time 0.01353/2.573, allocations: 7.441 MB / 1.129 GB, free: 53.05 MB / 426.7 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