Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009228/0.0009228, allocations: 99.09 kB / 17 MB, free: 6.094 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.001137/0.001138, allocations: 179.2 kB / 17.89 MB, free: 5.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.566/1.566, allocations: 223.2 MB / 241.9 MB, free: 236 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2183/0.2183, allocations: 44.25 MB / 337.3 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003329/0.0003333, allocations: 8.844 kB / 409.7 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1231, allocations: 61.93 MB / 471.6 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.4274/0.5506, allocations: 135.7 MB / 0.593 GB, free: 11.54 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001796/0.5524, allocations: 1.472 MB / 0.5945 GB, free: 10.07 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.516e-05/0.5525, allocations: 5.125 kB / 0.5945 GB, free: 10.07 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002361/0.5527, allocations: 31.81 kB / 0.5945 GB, free: 10.04 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000696/0.5534, allocations: 292.8 kB / 0.5948 GB, free: 9.754 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003715/0.5538, allocations: 125 kB / 0.5949 GB, free: 9.633 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002363/0.5541, allocations: 211.2 kB / 0.5951 GB, free: 9.426 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.264e-05/0.5541, allocations: 7.984 kB / 0.5951 GB, free: 9.418 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.5543, allocations: 79.7 kB / 0.5952 GB, free: 9.34 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001243/0.5544, allocations: 51.81 kB / 0.5952 GB, free: 9.289 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.5544, allocations: 7.938 kB / 0.5952 GB, free: 9.281 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008233/0.5552, allocations: 447.2 kB / 0.5957 GB, free: 8.844 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.003e-05/0.5553, allocations: 27.97 kB / 0.5957 GB, free: 8.816 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.001e-05/0.5553, allocations: 41.64 kB / 0.5957 GB, free: 8.77 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003514/0.5557, allocations: 270.9 kB / 0.596 GB, free: 8.508 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.5557, allocations: 4 kB / 0.596 GB, free: 8.504 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5557, allocations: 0 / 0.596 GB, free: 8.504 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.5557, allocations: 4 kB / 0.596 GB, free: 8.5 MB / 430.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.0004707/0.5562, allocations: 403.9 kB / 0.5964 GB, free: 8.059 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.5563, allocations: 8.031 kB / 0.5964 GB, free: 8.051 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001949/0.5582, allocations: 191.6 kB / 0.5966 GB, free: 7.863 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002079/0.5584, allocations: 206.9 kB / 0.5968 GB, free: 7.621 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.5585, allocations: 12.19 kB / 0.5968 GB, free: 7.609 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.771e-05/0.5585, allocations: 11.95 kB / 0.5968 GB, free: 7.598 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004328/0.5589, allocations: 199 kB / 0.597 GB, free: 7.398 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.559, allocations: 7.938 kB / 0.597 GB, free: 7.391 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.041e-05/0.559, allocations: 4 kB / 0.597 GB, free: 7.387 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.559, allocations: 0 / 0.597 GB, free: 7.387 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005365/0.5595, allocations: 236.6 kB / 0.5972 GB, free: 7.156 MB / 430.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.001554/0.5611, allocations: 0.6833 MB / 0.5979 GB, free: 6.418 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000393/0.5615, allocations: 182.4 kB / 0.5981 GB, free: 6.23 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001946/0.5617, allocations: 96.77 kB / 0.5981 GB, free: 6.133 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001541/0.5619, allocations: 101.1 kB / 0.5982 GB, free: 6.016 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.5619, allocations: 30.56 kB / 0.5983 GB, free: 5.977 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.733e-06/0.5619, allocations: 0 / 0.5983 GB, free: 5.977 MB / 430.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.005063/0.567, allocations: 1.528 MB / 0.5998 GB, free: 4.34 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/0.567, allocations: 55.34 kB / 0.5998 GB, free: 4.273 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.733e-05/0.5671, allocations: 113.8 kB / 0.5999 GB, free: 4.152 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/0.5672, allocations: 25.7 kB / 0.5999 GB, free: 4.121 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.519e-05/0.5672, allocations: 104.2 kB / 0.6 GB, free: 4.016 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.701e-05/0.5673, allocations: 74.98 kB / 0.6001 GB, free: 3.941 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2e-05/0.5673, allocations: 4 kB / 0.6001 GB, free: 3.938 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.5675, allocations: 318.8 kB / 0.6004 GB, free: 3.617 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002014/0.5677, allocations: 91.88 kB / 0.6005 GB, free: 3.527 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000238/0.5679, allocations: 123.4 kB / 0.6006 GB, free: 3.395 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002198/0.5681, allocations: 97.67 kB / 0.6007 GB, free: 3.301 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.5681, allocations: 0 / 0.6007 GB, free: 3.301 MB / 430.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005904/0.5687, allocations: 284.6 kB / 0.601 GB, free: 3.016 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.5688, allocations: 18.44 kB / 0.601 GB, free: 3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.5688, allocations: 4.094 kB / 0.601 GB, free: 2.996 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001239/0.5689, allocations: 24.84 kB / 0.601 GB, free: 2.969 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004045/0.5693, allocations: 51.91 kB / 0.6011 GB, free: 2.918 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003409/0.5697, allocations: 0.5329 MB / 0.6016 GB, free: 2.359 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002527/0.5699, allocations: 16.11 kB / 0.6016 GB, free: 2.344 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.947e-05/0.57, allocations: 8 kB / 0.6016 GB, free: 2.336 MB / 430.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 (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.000115/0.5701, allocations: 130.2 kB / 0.6018 GB, free: 2.199 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.746e-05/0.5702, allocations: 11.91 kB / 0.6018 GB, free: 2.188 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007486/0.5709, allocations: 315 kB / 0.6021 GB, free: 1.867 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.862e-06/0.5709, allocations: 4 kB / 0.6021 GB, free: 1.863 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.571, allocations: 0 / 0.6021 GB, free: 1.863 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.571, allocations: 7.922 kB / 0.6021 GB, free: 1.855 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001066/0.572, allocations: 0.6601 MB / 0.6027 GB, free: 1.129 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.5721, allocations: 4.75 kB / 0.6027 GB, free: 1.125 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004114/0.5725, allocations: 51.89 kB / 0.6028 GB, free: 1.074 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.152e-05/0.5726, allocations: 20.84 kB / 0.6028 GB, free: 1.051 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.896e-05/0.5726, allocations: 11.95 kB / 0.6028 GB, free: 1.039 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009074/0.5735, allocations: 1.273 MB / 0.6041 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.5735, allocations: 4 kB / 0.6041 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007967/0.5743, allocations: 449.4 kB / 0.6045 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.379e-05/0.5744, allocations: 88.97 kB / 0.6046 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.473e-05/0.5744, allocations: 12.05 kB / 0.6046 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002894/0.5747, allocations: 8 kB / 0.6046 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.183e-05/0.5748, allocations: 15.97 kB / 0.6046 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.981e-05/0.5748, allocations: 12 kB / 0.6046 GB, free: 15.01 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.875e-05/0.5749, allocations: 95.5 kB / 0.6047 GB, free: 14.92 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5749, allocations: 0 / 0.6047 GB, free: 14.92 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005284/0.5754, allocations: 127.9 kB / 0.6048 GB, free: 14.79 MB / 446.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 (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.0006096/0.576, allocations: 247 kB / 0.6051 GB, free: 14.54 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005851/0.5766, allocations: 235.9 kB / 0.6053 GB, free: 14.31 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.5766, allocations: 0 / 0.6053 GB, free: 14.31 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003652/0.577, allocations: 226.5 kB / 0.6055 GB, free: 14.08 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004367/0.5774, allocations: 56.03 kB / 0.6056 GB, free: 14.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008673/0.5783, allocations: 0.5683 MB / 0.6061 GB, free: 13.42 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002581/0.5786, allocations: 0.7088 MB / 0.6068 GB, free: 12.68 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004046/0.579, allocations: 57.31 kB / 0.6069 GB, free: 12.63 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/0.5791, allocations: 27.42 kB / 0.6069 GB, free: 12.6 MB / 446.1 MB Notification: Performance of SimCode: time 4.51e-07/0.5791, allocations: 0 / 0.6069 GB, free: 12.6 MB / 446.1 MB Notification: Performance of Templates: time 0.01221/0.5913, allocations: 5.985 MB / 0.6127 GB, free: 6.637 MB / 446.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches