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.001161/0.001161, allocations: 104.4 kB / 18.4 MB, free: 4.676 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.001181/0.001181, allocations: 190.2 kB / 19.34 MB, free: 3.754 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.284/1.284, allocations: 205.1 MB / 225.2 MB, free: 12.27 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.001263/0.001263, allocations: 47.94 kB / 329.2 MB, free: 3.34 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07918/0.08045, allocations: 46.63 MB / 375.8 MB, free: 4.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.3201/0.4006, allocations: 150.8 MB / 0.5143 GB, free: 8.348 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001717/0.4023, allocations: 1.485 MB / 0.5158 GB, free: 6.863 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.991e-05/0.4024, allocations: 0 / 0.5158 GB, free: 6.863 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000243/0.4027, allocations: 51.72 kB / 0.5158 GB, free: 6.812 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008058/0.4035, allocations: 394.2 kB / 0.5162 GB, free: 6.426 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004272/0.4039, allocations: 168.1 kB / 0.5164 GB, free: 6.262 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001998/0.4041, allocations: 179.2 kB / 0.5165 GB, free: 6.086 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.554e-05/0.4042, allocations: 12 kB / 0.5166 GB, free: 6.074 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.4043, allocations: 79.69 kB / 0.5166 GB, free: 5.996 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.4044, allocations: 59.75 kB / 0.5167 GB, free: 5.938 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.984e-05/0.4044, allocations: 8 kB / 0.5167 GB, free: 5.93 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009125/0.4054, allocations: 0.5691 MB / 0.5172 GB, free: 5.359 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.074e-05/0.4054, allocations: 39.83 kB / 0.5173 GB, free: 5.32 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.561e-05/0.4055, allocations: 43.8 kB / 0.5173 GB, free: 5.277 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005208/0.406, allocations: 396.3 kB / 0.5177 GB, free: 4.895 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.406, allocations: 0 / 0.5177 GB, free: 4.895 MB / 446.1 MB Notification: Performance of FrontEnd: time 8.32e-07/0.406, allocations: 4 kB / 0.5177 GB, free: 4.891 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.406, allocations: 4 kB / 0.5177 GB, free: 4.887 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.0004374/0.4065, allocations: 428 kB / 0.5181 GB, free: 4.422 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.4065, allocations: 8.031 kB / 0.5181 GB, free: 4.414 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002172/0.4087, allocations: 192.6 kB / 0.5183 GB, free: 4.227 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001994/0.4089, allocations: 212.1 kB / 0.5185 GB, free: 3.98 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.4089, allocations: 16.31 kB / 0.5185 GB, free: 3.965 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.697e-05/0.409, allocations: 8 kB / 0.5185 GB, free: 3.957 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004385/0.4094, allocations: 197.5 kB / 0.5187 GB, free: 3.758 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.4094, allocations: 0 / 0.5187 GB, free: 3.758 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.106e-05/0.4095, allocations: 8 kB / 0.5187 GB, free: 3.75 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.376e-06/0.4095, allocations: 0 / 0.5187 GB, free: 3.75 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005772/0.4101, allocations: 239.8 kB / 0.519 GB, free: 3.516 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.001616/0.4117, allocations: 0.684 MB / 0.5196 GB, free: 2.773 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004187/0.4121, allocations: 186.5 kB / 0.5198 GB, free: 2.582 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002046/0.4123, allocations: 93.69 kB / 0.5199 GB, free: 2.488 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001457/0.4125, allocations: 93.09 kB / 0.52 GB, free: 2.379 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.4125, allocations: 34.56 kB / 0.52 GB, free: 2.336 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.413e-06/0.4125, allocations: 0 / 0.52 GB, free: 2.336 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.00542/0.418, allocations: 1.526 MB / 0.5215 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.49e-05/0.418, allocations: 55.41 kB / 0.5216 GB, free: 0.6328 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.773e-05/0.4181, allocations: 113.8 kB / 0.5217 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.007e-05/0.4181, allocations: 33.64 kB / 0.5217 GB, free: 484 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.465e-05/0.4182, allocations: 96.41 kB / 0.5218 GB, free: 384 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.566e-05/0.4182, allocations: 66.95 kB / 0.5219 GB, free: 316 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.653e-05/0.4183, allocations: 49.69 kB / 0.5219 GB, free: 260 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.4184, allocations: 318.8 kB / 0.5222 GB, free: 15.93 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002184/0.4187, allocations: 91.94 kB / 0.5223 GB, free: 15.84 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002312/0.4189, allocations: 123.2 kB / 0.5224 GB, free: 15.71 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004611/0.4194, allocations: 231.2 kB / 0.5226 GB, free: 15.47 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.4194, allocations: 0 / 0.5226 GB, free: 15.47 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006079/0.42, allocations: 284.5 kB / 0.5229 GB, free: 15.19 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.42, allocations: 7.938 kB / 0.5229 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.42, allocations: 0 / 0.5229 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001132/0.4202, allocations: 28.83 kB / 0.5229 GB, free: 15.15 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004485/0.4206, allocations: 59.89 kB / 0.523 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003099/0.4209, allocations: 0.5406 MB / 0.5235 GB, free: 14.52 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002771/0.4212, allocations: 8.031 kB / 0.5235 GB, free: 14.52 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.387e-05/0.4213, allocations: 8 kB / 0.5235 GB, free: 14.51 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.0001125/0.4214, allocations: 129.8 kB / 0.5237 GB, free: 14.37 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.398e-05/0.4215, allocations: 11.91 kB / 0.5237 GB, free: 14.36 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007261/0.4222, allocations: 319.7 kB / 0.524 GB, free: 14.04 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.4222, allocations: 3.938 kB / 0.524 GB, free: 14.03 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.4222, allocations: 0 / 0.524 GB, free: 14.03 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.923e-05/0.4223, allocations: 84.95 kB / 0.5241 GB, free: 13.93 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.229e-05/0.4223, allocations: 8 kB / 0.5241 GB, free: 13.92 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003241/0.4226, allocations: 15.92 kB / 0.5241 GB, free: 13.91 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.941e-05/0.4227, allocations: 11.98 kB / 0.5241 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001015/0.4237, allocations: 329.6 kB / 0.5244 GB, free: 13.56 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007653/0.4245, allocations: 458.2 kB / 0.5249 GB, free: 13.1 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002126/0.4247, allocations: 84.52 kB / 0.5249 GB, free: 13.02 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.991e-05/0.4247, allocations: 91.25 kB / 0.525 GB, free: 12.93 MB / 462.1 MB Notification: Performance of Backend: time 3.81e-07/0.4248, allocations: 4 kB / 0.525 GB, free: 12.92 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001335/0.4261, allocations: 419.2 kB / 0.5254 GB, free: 12.51 MB / 462.1 MB Notification: Performance of SimCode: time 0.0008377/0.4269, allocations: 0.863 MB / 0.5263 GB, free: 11.6 MB / 462.1 MB Notification: Performance of Templates: time 0.01144/0.4384, allocations: 8.008 MB / 0.5341 GB, free: 3.59 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