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.001091/0.001091, allocations: 110.5 kB / 17.73 MB, free: 5.309 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.001055/0.001055, allocations: 187 kB / 18.66 MB, free: 4.383 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.328/1.328, 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.001122/0.001122, allocations: 55.92 kB / 328.5 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08477/0.0859, allocations: 46.61 MB / 375.1 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.3442/0.4301, allocations: 150.9 MB / 0.5137 GB, free: 8.273 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001704/0.4319, allocations: 1.488 MB / 0.5151 GB, free: 6.785 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.438e-05/0.4319, allocations: 0 / 0.5151 GB, free: 6.785 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003347/0.4323, allocations: 51.72 kB / 0.5152 GB, free: 6.734 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000836/0.4332, allocations: 398.1 kB / 0.5156 GB, free: 6.344 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004751/0.4337, allocations: 168.1 kB / 0.5157 GB, free: 6.18 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002289/0.4339, allocations: 183.2 kB / 0.5159 GB, free: 6 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.158e-05/0.4339, allocations: 8 kB / 0.5159 GB, free: 5.992 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001348/0.4341, allocations: 79.69 kB / 0.516 GB, free: 5.914 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001329/0.4342, allocations: 63.75 kB / 0.516 GB, free: 5.852 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.644e-05/0.4343, allocations: 4 kB / 0.516 GB, free: 5.848 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009019/0.4352, allocations: 0.5768 MB / 0.5166 GB, free: 5.27 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.467e-05/0.4352, allocations: 35.88 kB / 0.5166 GB, free: 5.234 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.851e-05/0.4353, allocations: 51.8 kB / 0.5167 GB, free: 5.184 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005025/0.4358, allocations: 388.4 kB / 0.5171 GB, free: 4.809 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.4358, allocations: 0 / 0.5171 GB, free: 4.809 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.4358, allocations: 0 / 0.5171 GB, free: 4.809 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.986e-06/0.4358, allocations: 0 / 0.5171 GB, free: 4.809 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.0005149/0.4364, allocations: 432 kB / 0.5175 GB, free: 4.34 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.4364, allocations: 12.03 kB / 0.5175 GB, free: 4.328 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002172/0.4386, allocations: 184.6 kB / 0.5177 GB, free: 4.148 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002289/0.4388, allocations: 220.1 kB / 0.5179 GB, free: 3.895 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.4388, allocations: 8.312 kB / 0.5179 GB, free: 3.887 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.909e-05/0.4389, allocations: 15.98 kB / 0.5179 GB, free: 3.871 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004572/0.4394, allocations: 197.5 kB / 0.5181 GB, free: 3.672 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.4394, allocations: 0 / 0.5181 GB, free: 3.672 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.943e-05/0.4394, allocations: 4 kB / 0.5181 GB, free: 3.668 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.992e-06/0.4394, allocations: 4 kB / 0.5181 GB, free: 3.664 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005798/0.44, allocations: 239.8 kB / 0.5183 GB, free: 3.43 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.001674/0.4417, allocations: 0.6802 MB / 0.519 GB, free: 2.691 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004285/0.4421, allocations: 182.4 kB / 0.5191 GB, free: 2.504 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000208/0.4424, allocations: 92.81 kB / 0.5192 GB, free: 2.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001651/0.4425, allocations: 97.09 kB / 0.5193 GB, free: 2.297 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.4426, allocations: 34.56 kB / 0.5194 GB, free: 2.254 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.633e-06/0.4426, allocations: 3.938 kB / 0.5194 GB, free: 2.25 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.005427/0.448, allocations: 1.534 MB / 0.5209 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.4481, allocations: 51.41 kB / 0.5209 GB, free: 0.543 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.935e-05/0.4482, allocations: 113.8 kB / 0.521 GB, free: 432 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.984e-05/0.4482, allocations: 29.7 kB / 0.521 GB, free: 396 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.105e-05/0.4483, allocations: 100.4 kB / 0.5211 GB, free: 292 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.937e-05/0.4483, allocations: 70.94 kB / 0.5212 GB, free: 220 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.379e-05/0.4484, allocations: 45.69 kB / 0.5213 GB, free: 168 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.4486, allocations: 318.8 kB / 0.5216 GB, free: 15.84 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000215/0.4488, allocations: 87.95 kB / 0.5216 GB, free: 15.76 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002287/0.449, allocations: 127.2 kB / 0.5218 GB, free: 15.62 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004518/0.4495, allocations: 227.2 kB / 0.522 GB, free: 15.39 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.4495, allocations: 0 / 0.522 GB, free: 15.39 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005998/0.4501, allocations: 290.2 kB / 0.5223 GB, free: 15.09 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.4501, allocations: 11.94 kB / 0.5223 GB, free: 15.08 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.4501, allocations: 0 / 0.5223 GB, free: 15.08 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001258/0.4503, allocations: 20.84 kB / 0.5223 GB, free: 15.06 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004399/0.4507, allocations: 59.83 kB / 0.5223 GB, free: 15 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003287/0.4511, allocations: 0.5446 MB / 0.5229 GB, free: 14.43 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002713/0.4513, allocations: 4 kB / 0.5229 GB, free: 14.43 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.482e-05/0.4514, allocations: 15.98 kB / 0.5229 GB, free: 14.41 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.0001275/0.4515, allocations: 129.7 kB / 0.523 GB, free: 14.28 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.5e-05/0.4516, allocations: 7.906 kB / 0.523 GB, free: 14.27 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007264/0.4523, allocations: 307.3 kB / 0.5233 GB, free: 13.96 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.4523, allocations: 4 kB / 0.5233 GB, free: 13.95 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/0.4524, allocations: 7.875 kB / 0.5233 GB, free: 13.95 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.4524, allocations: 3.938 kB / 0.5233 GB, free: 13.94 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001056/0.4534, allocations: 0.6757 MB / 0.524 GB, free: 13.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.167e-06/0.4534, allocations: 4 kB / 0.524 GB, free: 13.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004417/0.4539, allocations: 51.91 kB / 0.524 GB, free: 13.14 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-05/0.454, allocations: 20.94 kB / 0.5241 GB, free: 13.12 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.929e-05/0.454, allocations: 11.98 kB / 0.5241 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008525/0.4549, allocations: 1.363 MB / 0.5254 GB, free: 11.61 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.4549, allocations: 0 / 0.5254 GB, free: 11.61 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008686/0.4558, allocations: 450.8 kB / 0.5258 GB, free: 11.14 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.201e-05/0.4558, allocations: 88.98 kB / 0.5259 GB, free: 11.03 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.499e-05/0.4559, allocations: 8 kB / 0.5259 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003176/0.4562, allocations: 7.984 kB / 0.5259 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.543e-05/0.4562, allocations: 15.98 kB / 0.526 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.155e-05/0.4563, allocations: 12.05 kB / 0.526 GB, free: 10.99 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.667e-05/0.4563, allocations: 95.56 kB / 0.5261 GB, free: 10.89 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4563, allocations: 0 / 0.5261 GB, free: 10.89 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005286/0.4569, allocations: 131.9 kB / 0.5262 GB, free: 10.77 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.0006308/0.4575, allocations: 248.8 kB / 0.5264 GB, free: 10.52 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005891/0.4581, allocations: 235.7 kB / 0.5266 GB, free: 10.29 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.4581, allocations: 192 / 0.5266 GB, free: 10.29 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003897/0.4585, allocations: 241.3 kB / 0.5269 GB, free: 10.04 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004334/0.4589, allocations: 47.78 kB / 0.5269 GB, free: 9.992 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008415/0.4598, allocations: 495 kB / 0.5274 GB, free: 9.48 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002665/0.4601, allocations: 0.7046 MB / 0.5281 GB, free: 8.75 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002797/0.4604, allocations: 53.62 kB / 0.5281 GB, free: 8.695 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.4605, allocations: 23.42 kB / 0.5282 GB, free: 8.676 MB / 462.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4605, allocations: 0 / 0.5282 GB, free: 8.676 MB / 462.1 MB Notification: Performance of Templates: time 0.009881/0.4704, allocations: 6.27 MB / 0.5343 GB, free: 2.398 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