Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002489/0.002494, allocations: 187.5 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.442/3.442, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001905/0.001904, allocations: 98.86 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005825/0.0005826, allocations: 12 kB / 327 MB, free: 15.11 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1404, allocations: 47.57 MB / 374.5 MB, free: 15.46 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.6974/0.8379, allocations: 125.7 MB / 0.4885 GB, free: 15.79 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003563/0.8416, allocations: 1.236 MB / 0.4897 GB, free: 14.55 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001398/0.8418, allocations: 4 kB / 0.4897 GB, free: 14.55 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000408/0.8422, allocations: 31.81 kB / 0.4897 GB, free: 14.52 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001827/0.844, allocations: 283.2 kB / 0.49 GB, free: 14.24 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009538/0.8451, allocations: 132.3 kB / 0.4901 GB, free: 14.11 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004401/0.8455, allocations: 119.8 kB / 0.4902 GB, free: 13.99 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.224e-05/0.8456, allocations: 4.562 kB / 0.4903 GB, free: 13.99 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003675/0.8461, allocations: 79.75 kB / 0.4903 GB, free: 13.91 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002067/0.8463, allocations: 47.83 kB / 0.4904 GB, free: 13.86 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.483e-05/0.8463, allocations: 4 kB / 0.4904 GB, free: 13.86 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002325/0.8487, allocations: 435.4 kB / 0.4908 GB, free: 13.43 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001273/0.8489, allocations: 27.91 kB / 0.4908 GB, free: 13.41 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001038/0.849, allocations: 42.36 kB / 0.4909 GB, free: 13.36 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005365/0.8544, allocations: 255.9 kB / 0.4911 GB, free: 13.11 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.8545, allocations: 0 / 0.4911 GB, free: 13.11 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.647e-06/0.8545, allocations: 0 / 0.4911 GB, free: 13.11 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.8545, allocations: 4 kB / 0.4911 GB, free: 13.11 MB / 378.7 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.0009747/0.8555, allocations: 400 kB / 0.4915 GB, free: 12.67 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.017e-05/0.8556, allocations: 8.031 kB / 0.4915 GB, free: 12.66 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009793/0.8654, allocations: 200.1 kB / 0.4917 GB, free: 12.47 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004695/0.8702, allocations: 214.8 kB / 0.4919 GB, free: 12.22 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.98e-05/0.8703, allocations: 12.19 kB / 0.4919 GB, free: 12.21 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/0.8704, allocations: 8 kB / 0.4919 GB, free: 12.2 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001174/0.8716, allocations: 199 kB / 0.4921 GB, free: 12 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.599e-05/0.8717, allocations: 3.984 kB / 0.4921 GB, free: 12 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.764e-05/0.8718, allocations: 8 kB / 0.4921 GB, free: 11.99 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.8718, allocations: 0 / 0.4921 GB, free: 11.99 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001559/0.8734, allocations: 240.3 kB / 0.4923 GB, free: 11.75 MB / 378.7 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.005632/0.879, allocations: 0.6878 MB / 0.493 GB, free: 11.01 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001315/0.8804, allocations: 186.5 kB / 0.4932 GB, free: 10.82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003885/0.8809, allocations: 97.03 kB / 0.4933 GB, free: 10.7 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.503e-05/0.881, allocations: 34.56 kB / 0.4933 GB, free: 10.66 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 6.041e-06/0.881, allocations: 0 / 0.4933 GB, free: 10.66 MB / 378.7 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.0158/0.8968, allocations: 1.527 MB / 0.4948 GB, free: 9.02 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.798e-05/0.8969, allocations: 51.41 kB / 0.4949 GB, free: 8.957 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/0.8971, allocations: 121.8 kB / 0.495 GB, free: 8.828 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.938e-05/0.8972, allocations: 25.7 kB / 0.495 GB, free: 8.797 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/0.8974, allocations: 174.7 kB / 0.4952 GB, free: 8.625 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001342/0.8975, allocations: 67 kB / 0.4952 GB, free: 8.559 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.003e-05/0.8976, allocations: 4 kB / 0.4952 GB, free: 8.555 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002092/0.8978, allocations: 322.8 kB / 0.4955 GB, free: 8.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000613/0.8985, allocations: 87.81 kB / 0.4956 GB, free: 8.145 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006601/0.8991, allocations: 123.4 kB / 0.4957 GB, free: 8.012 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006619/0.8998, allocations: 99.92 kB / 0.4958 GB, free: 7.914 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.8999, allocations: 4 kB / 0.4958 GB, free: 7.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001704/0.9016, allocations: 282.3 kB / 0.4961 GB, free: 7.625 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.744e-05/0.9016, allocations: 4 kB / 0.4961 GB, free: 7.621 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.775e-05/0.9018, allocations: 4 kB / 0.4961 GB, free: 7.617 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002825/0.9021, allocations: 28.92 kB / 0.4961 GB, free: 7.586 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001283/0.9034, allocations: 59.91 kB / 0.4962 GB, free: 7.527 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008306/0.9042, allocations: 0.5367 MB / 0.4967 GB, free: 6.965 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008165/0.9051, allocations: 4 kB / 0.4967 GB, free: 6.961 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.534e-05/0.9052, allocations: 11.98 kB / 0.4967 GB, free: 6.949 MB / 378.7 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.0002849/0.9055, allocations: 134 kB / 0.4969 GB, free: 6.809 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001651/0.9057, allocations: 7.906 kB / 0.4969 GB, free: 6.801 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002105/0.9078, allocations: 326.9 kB / 0.4972 GB, free: 6.477 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.659e-06/0.9079, allocations: 0 / 0.4972 GB, free: 6.477 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.979e-06/0.9079, allocations: 4 kB / 0.4972 GB, free: 6.473 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/0.9079, allocations: 3.984 kB / 0.4972 GB, free: 6.469 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00285/0.9108, allocations: 0.6603 MB / 0.4978 GB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.9108, allocations: 0 / 0.4978 GB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001281/0.9121, allocations: 51.95 kB / 0.4979 GB, free: 5.688 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001975/0.9124, allocations: 24.8 kB / 0.4979 GB, free: 5.66 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.377e-05/0.9125, allocations: 12.98 kB / 0.4979 GB, free: 5.648 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001812/0.9143, allocations: 1.265 MB / 0.4992 GB, free: 4.25 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.066e-05/0.9144, allocations: 11.91 kB / 0.4992 GB, free: 4.238 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002345/0.9167, allocations: 480 kB / 0.4996 GB, free: 3.723 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.9169, allocations: 93.05 kB / 0.4997 GB, free: 3.613 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.709e-05/0.917, allocations: 8 kB / 0.4997 GB, free: 3.605 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009325/0.9179, allocations: 11.98 kB / 0.4997 GB, free: 3.594 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.703e-05/0.9181, allocations: 23.88 kB / 0.4998 GB, free: 3.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.394e-05/0.9182, allocations: 15.98 kB / 0.4998 GB, free: 3.555 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001184/0.9183, allocations: 79.28 kB / 0.4999 GB, free: 3.477 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.52e-07/0.9183, allocations: 0 / 0.4999 GB, free: 3.477 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001251/0.9196, allocations: 127.9 kB / 0.5 GB, free: 3.352 MB / 378.7 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.00145/0.9211, allocations: 247 kB / 0.5002 GB, free: 3.098 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001658/0.9228, allocations: 231.7 kB / 0.5004 GB, free: 2.871 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/0.9228, allocations: 4 kB / 0.5004 GB, free: 2.867 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009699/0.9238, allocations: 226.6 kB / 0.5007 GB, free: 2.633 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009078/0.9247, allocations: 46.2 kB / 0.5007 GB, free: 2.59 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002066/0.9268, allocations: 0.593 MB / 0.5013 GB, free: 1.957 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004587/0.9273, allocations: 0.7165 MB / 0.502 GB, free: 1.215 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004404/0.9278, allocations: 23.42 kB / 0.502 GB, free: 1.191 MB / 378.7 MB Notification: Performance of SimCode: time 1.523e-06/0.9278, allocations: 0 / 0.502 GB, free: 1.191 MB / 378.7 MB Notification: Performance of Templates: time 0.0209/0.9487, allocations: 5.346 MB / 0.5072 GB, free: 11.84 MB / 394.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2Mix --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches