Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001548/0.001548, allocations: 186.1 kB / 16.41 MB, free: 5.723 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.024/2.024, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001158/0.001158, allocations: 96.34 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5192/0.5192, allocations: 43.55 MB / 362.7 MB, free: 52.03 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006257/0.0006257, allocations: 16 kB / 431.4 MB, free: 6.184 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.129, allocations: 58.84 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.258/2.387, allocations: 0.7271 GB / 1.206 GB, free: 26.65 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002476/2.388, allocations: 79.92 kB / 1.206 GB, free: 26.61 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.4422/2.83, allocations: 33.54 MB / 1.239 GB, free: 141.5 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.653e-06/2.83, allocations: 0 / 1.239 GB, free: 141.5 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.321e-05/2.83, allocations: 2.875 kB / 1.239 GB, free: 141.5 MB / 0.4948 GB 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.0007022/2.831, allocations: 419.1 kB / 1.239 GB, free: 141.2 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/2.831, allocations: 8.344 kB / 1.239 GB, free: 141.2 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002912/2.834, allocations: 185 kB / 1.239 GB, free: 141.1 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003404/2.834, allocations: 206.4 kB / 1.239 GB, free: 141 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.472e-05/2.834, allocations: 6.906 kB / 1.239 GB, free: 141 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.648e-05/2.834, allocations: 10.89 kB / 1.239 GB, free: 141 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007744/2.835, allocations: 210 kB / 1.24 GB, free: 140.9 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/2.835, allocations: 0 / 1.24 GB, free: 140.9 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.021e-05/2.835, allocations: 8.344 kB / 1.24 GB, free: 140.9 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.228e-05/2.835, allocations: 3.219 kB / 1.24 GB, free: 140.9 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009075/2.836, allocations: 207.3 kB / 1.24 GB, free: 140.9 MB / 0.4948 GB 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.002073/2.838, allocations: 0.6345 MB / 1.24 GB, free: 140.6 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006125/2.839, allocations: 169.3 kB / 1.241 GB, free: 140.5 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002762/2.839, allocations: 88.78 kB / 1.241 GB, free: 140.4 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/2.839, allocations: 45.56 kB / 1.241 GB, free: 140.4 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=14): time 2.625e-06/2.839, allocations: 0 / 1.241 GB, free: 140.4 MB / 0.4948 GB 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.009288/2.848, allocations: 1.455 MB / 1.242 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.142e-05/2.848, allocations: 58.97 kB / 1.242 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.028e-05/2.848, allocations: 105.9 kB / 1.242 GB, free: 139.7 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.474e-05/2.849, allocations: 29.2 kB / 1.242 GB, free: 139.6 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.446e-05/2.849, allocations: 168.8 kB / 1.242 GB, free: 139.5 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.006e-05/2.849, allocations: 71.77 kB / 1.243 GB, free: 139.4 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.388e-05/2.849, allocations: 3.875 kB / 1.243 GB, free: 139.4 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.28e-05/2.849, allocations: 320.5 kB / 1.243 GB, free: 139.1 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003192/2.849, allocations: 82.86 kB / 1.243 GB, free: 139.1 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003348/2.849, allocations: 111.6 kB / 1.243 GB, free: 139.1 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003437/2.85, allocations: 93.47 kB / 1.243 GB, free: 139.1 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/2.85, allocations: 0 / 1.243 GB, free: 139.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0009338/2.851, allocations: 271.6 kB / 1.243 GB, free: 139 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/2.851, allocations: 5.5 kB / 1.243 GB, free: 139 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/2.851, allocations: 1.375 kB / 1.243 GB, free: 139 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001724/2.851, allocations: 25.42 kB / 1.243 GB, free: 139 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006303/2.852, allocations: 51.86 kB / 1.243 GB, free: 139 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003421/2.852, allocations: 0.538 MB / 1.244 GB, free: 138.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003527/2.852, allocations: 4.125 kB / 1.244 GB, free: 138.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.549e-05/2.852, allocations: 13.34 kB / 1.244 GB, free: 138.5 MB / 0.4948 GB 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 () * Number of clocked 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.000151/2.853, allocations: 132.2 kB / 1.244 GB, free: 138.4 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.483e-05/2.853, allocations: 9.406 kB / 1.244 GB, free: 138.4 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001065/2.854, allocations: 298.9 kB / 1.244 GB, free: 138.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/2.854, allocations: 2.75 kB / 1.244 GB, free: 138.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/2.854, allocations: 1.375 kB / 1.244 GB, free: 138.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/2.854, allocations: 0 / 1.244 GB, free: 138.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001513/2.855, allocations: 0.6562 MB / 1.245 GB, free: 138 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/2.855, allocations: 5.312 kB / 1.245 GB, free: 138 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006324/2.856, allocations: 52.78 kB / 1.245 GB, free: 138 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001119/2.856, allocations: 22.28 kB / 1.245 GB, free: 138 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.667e-05/2.856, allocations: 8.719 kB / 1.245 GB, free: 138 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008424/2.857, allocations: 1.27 MB / 1.246 GB, free: 136.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/2.857, allocations: 0 / 1.246 GB, free: 136.7 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001209/2.858, allocations: 470.3 kB / 1.247 GB, free: 136.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.925e-05/2.858, allocations: 84.02 kB / 1.247 GB, free: 136.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.023e-05/2.858, allocations: 6.031 kB / 1.247 GB, free: 136.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004091/2.859, allocations: 11.34 kB / 1.247 GB, free: 136.4 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.83e-05/2.859, allocations: 24.89 kB / 1.247 GB, free: 136.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.282e-05/2.859, allocations: 9.969 kB / 1.247 GB, free: 136.4 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.274e-05/2.859, allocations: 87.75 kB / 1.247 GB, free: 136.3 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.91e-07/2.859, allocations: 0 / 1.247 GB, free: 136.3 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0009276/2.86, allocations: 162.5 kB / 1.247 GB, free: 136.3 MB / 0.4948 GB 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 () * Number of clocked 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.001474/2.861, allocations: 0.628 MB / 1.248 GB, free: 136.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0009186/2.862, allocations: 217.2 kB / 1.248 GB, free: 136.2 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/2.862, allocations: 0 / 1.248 GB, free: 136.2 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005166/2.863, allocations: 223.2 kB / 1.248 GB, free: 136.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000564/2.864, allocations: 48.56 kB / 1.248 GB, free: 136.1 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/2.865, allocations: 0.5852 MB / 1.249 GB, free: 135.8 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001825/2.865, allocations: 0.7094 MB / 1.25 GB, free: 135.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002451/2.865, allocations: 34.44 kB / 1.25 GB, free: 135.1 MB / 0.4948 GB Notification: Performance of SimCode: time 9.51e-07/2.865, allocations: 0 / 1.25 GB, free: 135.1 MB / 0.4948 GB Notification: Performance of Templates: time 0.01573/2.881, allocations: 7.408 MB / 1.257 GB, free: 134.3 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches