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.001088/0.001088, allocations: 114.4 kB / 17.73 MB, free: 5.359 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.001105/0.001105, allocations: 187.1 kB / 18.66 MB, free: 4.438 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.403/1.403, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.00123/0.00123, allocations: 51.92 kB / 328.5 MB, free: 3.316 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09617/0.09741, allocations: 46.62 MB / 375.1 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.3488/0.4462, allocations: 150.8 MB / 0.5137 GB, free: 8.316 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001919/0.4482, allocations: 1.492 MB / 0.5151 GB, free: 6.824 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.942e-05/0.4483, allocations: 0.6562 kB / 0.5151 GB, free: 6.824 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003867/0.4488, allocations: 59.66 kB / 0.5152 GB, free: 6.766 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001102/0.4499, allocations: 378.2 kB / 0.5155 GB, free: 6.395 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005956/0.4505, allocations: 176 kB / 0.5157 GB, free: 6.223 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002866/0.4508, allocations: 183.3 kB / 0.5159 GB, free: 6.043 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.966e-05/0.4508, allocations: 4 kB / 0.5159 GB, free: 6.039 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001896/0.451, allocations: 75.69 kB / 0.516 GB, free: 5.965 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001444/0.4512, allocations: 61.36 kB / 0.516 GB, free: 5.906 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.014e-05/0.4512, allocations: 8 kB / 0.516 GB, free: 5.898 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001196/0.4524, allocations: 0.5807 MB / 0.5166 GB, free: 5.316 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.714e-05/0.4525, allocations: 31.89 kB / 0.5166 GB, free: 5.285 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.525e-05/0.4526, allocations: 47.8 kB / 0.5167 GB, free: 5.238 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008467/0.4535, allocations: 396.4 kB / 0.517 GB, free: 4.855 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.4535, allocations: 0 / 0.517 GB, free: 4.855 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4535, allocations: 0 / 0.517 GB, free: 4.855 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.4535, allocations: 0 / 0.517 GB, free: 4.855 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.0006533/0.4542, allocations: 428 kB / 0.5175 GB, free: 4.391 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.4542, allocations: 12.03 kB / 0.5175 GB, free: 4.379 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002355/0.4566, allocations: 184.6 kB / 0.5176 GB, free: 4.199 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002322/0.4568, allocations: 216.1 kB / 0.5178 GB, free: 3.949 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.4568, allocations: 12.31 kB / 0.5179 GB, free: 3.938 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.132e-05/0.4569, allocations: 8 kB / 0.5179 GB, free: 3.93 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004723/0.4574, allocations: 201.5 kB / 0.5181 GB, free: 3.727 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.4574, allocations: 0 / 0.5181 GB, free: 3.727 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.227e-05/0.4574, allocations: 7.938 kB / 0.5181 GB, free: 3.719 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.335e-05/0.4575, allocations: 4 kB / 0.5181 GB, free: 3.715 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005546/0.458, allocations: 247.7 kB / 0.5183 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.001794/0.4598, allocations: 0.6802 MB / 0.519 GB, free: 2.734 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004309/0.4603, allocations: 182.5 kB / 0.5191 GB, free: 2.547 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000206/0.4605, allocations: 96.75 kB / 0.5192 GB, free: 2.449 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000166/0.4607, allocations: 93.09 kB / 0.5193 GB, free: 2.34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.348e-05/0.4607, allocations: 39.44 kB / 0.5194 GB, free: 2.293 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.794e-06/0.4607, allocations: 0 / 0.5194 GB, free: 2.293 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.005757/0.4665, allocations: 1.526 MB / 0.5209 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.25e-05/0.4665, allocations: 51.41 kB / 0.5209 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.753e-05/0.4666, allocations: 113.8 kB / 0.521 GB, free: 484 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.08e-05/0.4667, allocations: 29.7 kB / 0.521 GB, free: 448 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.187e-05/0.4667, allocations: 92.41 kB / 0.5211 GB, free: 352 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.469e-05/0.4668, allocations: 70.95 kB / 0.5212 GB, free: 280 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.255e-05/0.4669, allocations: 49.69 kB / 0.5212 GB, free: 224 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.467, allocations: 322.8 kB / 0.5215 GB, free: 15.89 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002075/0.4672, allocations: 91.94 kB / 0.5216 GB, free: 15.8 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002235/0.4674, allocations: 119.2 kB / 0.5217 GB, free: 15.68 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004521/0.4679, allocations: 231.2 kB / 0.522 GB, free: 15.44 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.4679, allocations: 4 kB / 0.522 GB, free: 15.43 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005888/0.4685, allocations: 282.1 kB / 0.5222 GB, free: 15.15 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.4685, allocations: 12.09 kB / 0.5223 GB, free: 15.14 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.4686, allocations: 0 / 0.5223 GB, free: 15.14 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001431/0.4687, allocations: 27.41 kB / 0.5223 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004798/0.4692, allocations: 59.89 kB / 0.5223 GB, free: 15.05 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003575/0.4696, allocations: 0.5367 MB / 0.5229 GB, free: 14.49 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002985/0.4699, allocations: 8.125 kB / 0.5229 GB, free: 14.48 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.42e-05/0.4699, allocations: 12 kB / 0.5229 GB, free: 14.47 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.0001328/0.4701, allocations: 129.7 kB / 0.523 GB, free: 14.33 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.371e-05/0.4701, allocations: 11.91 kB / 0.523 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007048/0.4708, allocations: 311.3 kB / 0.5233 GB, free: 14 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/0.4709, allocations: 7.938 kB / 0.5233 GB, free: 14 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.4709, allocations: 7.875 kB / 0.5233 GB, free: 13.99 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.4709, allocations: 0 / 0.5233 GB, free: 13.99 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001065/0.4719, allocations: 0.6758 MB / 0.524 GB, free: 13.25 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.472, allocations: 0 / 0.524 GB, free: 13.25 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004704/0.4724, allocations: 55.89 kB / 0.524 GB, free: 13.19 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.756e-05/0.4725, allocations: 16.84 kB / 0.5241 GB, free: 13.17 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.699e-05/0.4726, allocations: 11.98 kB / 0.5241 GB, free: 13.16 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008907/0.4735, allocations: 1.368 MB / 0.5254 GB, free: 11.65 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.4735, allocations: 0 / 0.5254 GB, free: 11.65 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007985/0.4743, allocations: 450.1 kB / 0.5258 GB, free: 11.19 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.203e-05/0.4743, allocations: 88.98 kB / 0.5259 GB, free: 11.08 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.777e-05/0.4744, allocations: 8 kB / 0.5259 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003448/0.4747, allocations: 7.984 kB / 0.5259 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.648e-05/0.4748, allocations: 15.98 kB / 0.5259 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.967e-05/0.4748, allocations: 13.11 kB / 0.526 GB, free: 11.04 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.684e-05/0.4749, allocations: 95.5 kB / 0.5261 GB, free: 10.95 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.4749, allocations: 4.062 kB / 0.5261 GB, free: 10.94 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005408/0.4754, allocations: 127.9 kB / 0.5262 GB, free: 10.82 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.0007109/0.4761, allocations: 251 kB / 0.5264 GB, free: 10.56 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006426/0.4768, allocations: 239.6 kB / 0.5266 GB, free: 10.33 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.4768, allocations: 0 / 0.5266 GB, free: 10.33 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004105/0.4772, allocations: 235 kB / 0.5269 GB, free: 10.09 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004557/0.4777, allocations: 48.66 kB / 0.5269 GB, free: 10.04 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008762/0.4786, allocations: 483 kB / 0.5274 GB, free: 9.535 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002807/0.4789, allocations: 0.7085 MB / 0.5281 GB, free: 8.801 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000294/0.4792, allocations: 57.55 kB / 0.5281 GB, free: 8.742 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/0.4793, allocations: 23.42 kB / 0.5281 GB, free: 8.723 MB / 462.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4793, allocations: 4 kB / 0.5282 GB, free: 8.719 MB / 462.1 MB Notification: Performance of Templates: time 0.01084/0.4902, allocations: 6.261 MB / 0.5343 GB, free: 2.449 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins/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