Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_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_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 107.2 kB / 18.4 MB, free: 4.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 185.2 kB / 19.33 MB, free: 3.777 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.455/1.455, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 51.92 kB / 329.2 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1124, allocations: 46.61 MB / 375.8 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.425/0.5375, allocations: 150.9 MB / 0.5143 GB, free: 8.309 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002053/0.5396, allocations: 1.49 MB / 0.5158 GB, free: 6.82 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.029e-05/0.5397, allocations: 7.938 kB / 0.5158 GB, free: 6.812 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003765/0.5402, allocations: 51.72 kB / 0.5158 GB, free: 6.762 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001043/0.5412, allocations: 382.2 kB / 0.5162 GB, free: 6.387 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000533/0.5418, allocations: 176 kB / 0.5164 GB, free: 6.215 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003141/0.5421, allocations: 179.3 kB / 0.5165 GB, free: 6.039 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.769e-05/0.5422, allocations: 8 kB / 0.5165 GB, free: 6.031 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001951/0.5424, allocations: 87.62 kB / 0.5166 GB, free: 5.945 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001627/0.5425, allocations: 51.83 kB / 0.5167 GB, free: 5.895 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.645e-05/0.5426, allocations: 8 kB / 0.5167 GB, free: 5.887 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001192/0.5438, allocations: 0.5729 MB / 0.5172 GB, free: 5.312 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.065e-05/0.5438, allocations: 35.89 kB / 0.5173 GB, free: 5.277 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.7e-05/0.5439, allocations: 43.8 kB / 0.5173 GB, free: 5.234 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007822/0.5447, allocations: 396.4 kB / 0.5177 GB, free: 4.852 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.5447, allocations: 0 / 0.5177 GB, free: 4.852 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.5447, allocations: 0 / 0.5177 GB, free: 4.852 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.284e-06/0.5448, allocations: 4 kB / 0.5177 GB, free: 4.848 MB / 446.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.0006785/0.5454, allocations: 424 kB / 0.5181 GB, free: 4.387 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.5455, allocations: 19.89 kB / 0.5181 GB, free: 4.367 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002371/0.5479, allocations: 188.6 kB / 0.5183 GB, free: 4.184 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000261/0.5481, allocations: 204.2 kB / 0.5185 GB, free: 3.945 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.5482, allocations: 12.31 kB / 0.5185 GB, free: 3.934 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.759e-05/0.5482, allocations: 12 kB / 0.5185 GB, free: 3.922 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000469/0.5487, allocations: 201.5 kB / 0.5187 GB, free: 3.719 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.5487, allocations: 3.938 kB / 0.5187 GB, free: 3.715 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.86e-05/0.5488, allocations: 8 kB / 0.5187 GB, free: 3.707 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.5488, allocations: 0 / 0.5187 GB, free: 3.707 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005625/0.5493, allocations: 239.8 kB / 0.519 GB, free: 3.473 MB / 446.1 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.001757/0.5511, allocations: 0.6841 MB / 0.5196 GB, free: 2.73 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000424/0.5516, allocations: 190.4 kB / 0.5198 GB, free: 2.535 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002033/0.5518, allocations: 92.81 kB / 0.5199 GB, free: 2.441 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001654/0.5519, allocations: 97.09 kB / 0.52 GB, free: 2.328 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.518e-05/0.552, allocations: 30.56 kB / 0.52 GB, free: 2.289 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.342e-06/0.552, allocations: 0 / 0.52 GB, free: 2.289 MB / 446.1 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.005743/0.5577, allocations: 1.53 MB / 0.5215 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.657e-05/0.5578, allocations: 55.41 kB / 0.5216 GB, free: 0.582 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.997e-05/0.5579, allocations: 109.8 kB / 0.5217 GB, free: 476 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.396e-05/0.5579, allocations: 33.7 kB / 0.5217 GB, free: 436 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.506e-05/0.558, allocations: 84.42 kB / 0.5218 GB, free: 348 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.01e-05/0.5581, allocations: 78.94 kB / 0.5219 GB, free: 268 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.289e-05/0.5582, allocations: 41.7 kB / 0.5219 GB, free: 220 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.5583, allocations: 322.8 kB / 0.5222 GB, free: 15.89 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000212/0.5585, allocations: 87.95 kB / 0.5223 GB, free: 15.8 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002349/0.5588, allocations: 127.2 kB / 0.5224 GB, free: 15.67 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004399/0.5592, allocations: 231.2 kB / 0.5226 GB, free: 15.43 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.5592, allocations: 0 / 0.5226 GB, free: 15.43 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006064/0.5598, allocations: 290.1 kB / 0.5229 GB, free: 15.14 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.5599, allocations: 4 kB / 0.5229 GB, free: 15.13 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.5599, allocations: 4 kB / 0.5229 GB, free: 15.13 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001323/0.56, allocations: 20.84 kB / 0.5229 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000474/0.5605, allocations: 65.7 kB / 0.523 GB, free: 15.04 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003798/0.5609, allocations: 0.5329 MB / 0.5235 GB, free: 14.48 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003044/0.5612, allocations: 8.016 kB / 0.5235 GB, free: 14.48 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.279e-05/0.5612, allocations: 12 kB / 0.5235 GB, free: 14.46 MB / 462.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 () * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001411/0.5614, allocations: 133.7 kB / 0.5237 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.496e-05/0.5615, allocations: 7.906 kB / 0.5237 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007318/0.5622, allocations: 315.4 kB / 0.524 GB, free: 14 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.5622, allocations: 0 / 0.524 GB, free: 14 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.999e-06/0.5622, allocations: 11.86 kB / 0.524 GB, free: 13.98 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.5623, allocations: 0 / 0.524 GB, free: 13.98 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001064/0.5633, allocations: 0.6757 MB / 0.5246 GB, free: 13.24 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.5633, allocations: 0 / 0.5246 GB, free: 13.24 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004548/0.5638, allocations: 51.95 kB / 0.5247 GB, free: 13.19 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.21e-05/0.5639, allocations: 20.84 kB / 0.5247 GB, free: 13.17 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.683e-05/0.5639, allocations: 12.08 kB / 0.5247 GB, free: 13.16 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008763/0.5648, allocations: 1.369 MB / 0.5261 GB, free: 11.65 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.5648, allocations: 3.938 kB / 0.5261 GB, free: 11.64 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008035/0.5656, allocations: 447.4 kB / 0.5265 GB, free: 11.18 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.381e-05/0.5657, allocations: 88.95 kB / 0.5266 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.732e-05/0.5657, allocations: 4 kB / 0.5266 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003516/0.5661, allocations: 11.98 kB / 0.5266 GB, free: 11.06 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.518e-05/0.5661, allocations: 11.98 kB / 0.5266 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-05/0.5662, allocations: 11.98 kB / 0.5266 GB, free: 11.04 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.455e-05/0.5662, allocations: 99.58 kB / 0.5267 GB, free: 10.94 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5662, allocations: 0 / 0.5267 GB, free: 10.94 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005501/0.5668, allocations: 131.9 kB / 0.5268 GB, free: 10.81 MB / 462.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 () * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007156/0.5675, allocations: 251.9 kB / 0.5271 GB, free: 10.55 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006343/0.5682, allocations: 239.6 kB / 0.5273 GB, free: 10.32 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.5682, allocations: 0 / 0.5273 GB, free: 10.32 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003984/0.5686, allocations: 234.2 kB / 0.5275 GB, free: 10.08 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004621/0.5691, allocations: 52.77 kB / 0.5276 GB, free: 10.03 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009048/0.57, allocations: 0.5016 MB / 0.5281 GB, free: 9.492 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002665/0.5703, allocations: 0.7046 MB / 0.5288 GB, free: 8.762 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001647/0.5704, allocations: 27.42 kB / 0.5288 GB, free: 8.734 MB / 462.1 MB Notification: Performance of SimCode: time 2.5e-07/0.5704, allocations: 0 / 0.5288 GB, free: 8.734 MB / 462.1 MB Notification: Performance of Templates: time 0.008527/0.579, allocations: 5.16 MB / 0.5338 GB, free: 3.57 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.sim & ./Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches