Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001126/0.001126, allocations: 113.4 kB / 17.99 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001161/0.001161, allocations: 205.8 kB / 18.92 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.403/1.403, allocations: 227.4 MB / 247.1 MB, free: 10.69 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2209/0.2209, allocations: 46.1 MB / 344.4 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001578/0.001578, allocations: 72.59 kB / 417.7 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1182, allocations: 62.45 MB / 480.1 MB, free: 5.629 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.3978/0.516, allocations: 150.4 MB / 0.6157 GB, free: 13.4 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001906/0.518, allocations: 1.593 MB / 0.6173 GB, free: 11.82 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.128e-05/0.5181, allocations: 4 kB / 0.6173 GB, free: 11.81 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000347/0.5184, allocations: 44.86 kB / 0.6173 GB, free: 11.77 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009025/0.5194, allocations: 378.4 kB / 0.6177 GB, free: 11.4 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004913/0.5199, allocations: 151 kB / 0.6178 GB, free: 11.26 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002369/0.5201, allocations: 183.3 kB / 0.618 GB, free: 11.08 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.342e-05/0.5202, allocations: 7.938 kB / 0.618 GB, free: 11.07 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001613/0.5204, allocations: 85.67 kB / 0.6181 GB, free: 10.99 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001339/0.5205, allocations: 63.75 kB / 0.6182 GB, free: 10.93 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.78e-05/0.5205, allocations: 4 kB / 0.6182 GB, free: 10.92 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001013/0.5215, allocations: 0.635 MB / 0.6188 GB, free: 10.29 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 5.734e-05/0.5216, allocations: 27.91 kB / 0.6188 GB, free: 10.26 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 7.392e-05/0.5217, allocations: 47.8 kB / 0.6188 GB, free: 10.21 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004094/0.5221, allocations: 295.3 kB / 0.6191 GB, free: 9.926 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.5221, allocations: 0 / 0.6191 GB, free: 9.926 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.5221, allocations: 0 / 0.6191 GB, free: 9.926 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.181e-06/0.5221, allocations: 4 kB / 0.6191 GB, free: 9.922 MB / 462.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.000581/0.5227, allocations: 431.4 kB / 0.6195 GB, free: 9.453 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.5228, allocations: 16.02 kB / 0.6196 GB, free: 9.438 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002239/0.525, allocations: 188.6 kB / 0.6197 GB, free: 9.254 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002563/0.5253, allocations: 212.1 kB / 0.6199 GB, free: 9.008 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.5253, allocations: 7.938 kB / 0.6199 GB, free: 9 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.978e-05/0.5254, allocations: 12 kB / 0.62 GB, free: 8.988 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005194/0.5259, allocations: 200.9 kB / 0.6202 GB, free: 8.789 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.5259, allocations: 0 / 0.6202 GB, free: 8.789 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.555e-05/0.526, allocations: 7.875 kB / 0.6202 GB, free: 8.785 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.526, allocations: 4 kB / 0.6202 GB, free: 8.781 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005754/0.5266, allocations: 235.8 kB / 0.6204 GB, free: 8.551 MB / 462.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.001702/0.5283, allocations: 0.6685 MB / 0.621 GB, free: 7.828 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004324/0.5287, allocations: 194.5 kB / 0.6212 GB, free: 7.629 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002035/0.5289, allocations: 92.81 kB / 0.6213 GB, free: 7.535 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001525/0.5291, allocations: 89.09 kB / 0.6214 GB, free: 7.43 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.5291, allocations: 38.55 kB / 0.6214 GB, free: 7.383 MB / 462.1 MB Notification: Performance of pre-optimization done (n=14): time 1.303e-06/0.5291, allocations: 0 / 0.6214 GB, free: 7.383 MB / 462.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.005746/0.5349, allocations: 1.532 MB / 0.6229 GB, free: 5.742 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/0.5349, allocations: 55.97 kB / 0.623 GB, free: 5.676 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.472e-05/0.535, allocations: 109.8 kB / 0.6231 GB, free: 5.559 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.543e-05/0.5351, allocations: 37.7 kB / 0.6231 GB, free: 5.516 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.118e-05/0.5352, allocations: 92.31 kB / 0.6232 GB, free: 5.422 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.15e-05/0.5352, allocations: 71.03 kB / 0.6233 GB, free: 5.352 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.5353, allocations: 45.69 kB / 0.6233 GB, free: 5.301 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.5355, allocations: 326.8 kB / 0.6236 GB, free: 4.973 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002176/0.5357, allocations: 87.95 kB / 0.6237 GB, free: 4.887 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002479/0.536, allocations: 124.8 kB / 0.6238 GB, free: 4.754 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000458/0.5364, allocations: 230 kB / 0.6241 GB, free: 4.52 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.5364, allocations: 0 / 0.6241 GB, free: 4.52 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006215/0.5371, allocations: 286.2 kB / 0.6243 GB, free: 4.23 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.5371, allocations: 4 kB / 0.6243 GB, free: 4.227 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.5371, allocations: 0 / 0.6243 GB, free: 4.227 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001375/0.5372, allocations: 28.78 kB / 0.6244 GB, free: 4.195 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004729/0.5377, allocations: 63.89 kB / 0.6244 GB, free: 4.133 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003913/0.5381, allocations: 0.5329 MB / 0.6249 GB, free: 3.574 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002952/0.5384, allocations: 12.03 kB / 0.625 GB, free: 3.562 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.765e-05/0.5385, allocations: 15.92 kB / 0.625 GB, free: 3.547 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.0001562/0.5386, allocations: 121.8 kB / 0.6251 GB, free: 3.418 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.684e-05/0.5387, allocations: 12 kB / 0.6251 GB, free: 3.406 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007814/0.5395, allocations: 317.7 kB / 0.6254 GB, free: 3.086 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.5395, allocations: 7.938 kB / 0.6254 GB, free: 3.078 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.5395, allocations: 0 / 0.6254 GB, free: 3.078 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.5395, allocations: 0 / 0.6254 GB, free: 3.078 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001104/0.5407, allocations: 0.6742 MB / 0.6261 GB, free: 2.34 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.5407, allocations: 96 / 0.6261 GB, free: 2.34 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004667/0.5411, allocations: 55.89 kB / 0.6261 GB, free: 2.285 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.076e-05/0.5412, allocations: 20.84 kB / 0.6261 GB, free: 2.262 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.94e-05/0.5413, allocations: 7.984 kB / 0.6262 GB, free: 2.254 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001025/0.5423, allocations: 1.366 MB / 0.6275 GB, free: 0.75 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.5423, allocations: 4 kB / 0.6275 GB, free: 0.7461 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008566/0.5432, allocations: 450.7 kB / 0.6279 GB, free: 284 kB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.637e-05/0.5432, allocations: 81.02 kB / 0.628 GB, free: 184 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.871e-05/0.5433, allocations: 8 kB / 0.628 GB, free: 176 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003364/0.5436, allocations: 16.05 kB / 0.628 GB, free: 160 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.095e-05/0.5437, allocations: 11.98 kB / 0.628 GB, free: 148 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-05/0.5437, allocations: 15.98 kB / 0.628 GB, free: 132 kB / 462.1 MB Notification: Performance of sorting global known variables: time 5.351e-05/0.5438, allocations: 91.27 kB / 0.6281 GB, free: 40 kB / 462.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5438, allocations: 0 / 0.6281 GB, free: 40 kB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006057/0.5444, allocations: 131.9 kB / 0.6283 GB, free: 15.91 MB / 478.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.0007953/0.5452, allocations: 270.8 kB / 0.6285 GB, free: 15.64 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00067/0.5459, allocations: 243.7 kB / 0.6287 GB, free: 15.4 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.5459, allocations: 0 / 0.6287 GB, free: 15.4 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004266/0.5463, allocations: 230.4 kB / 0.629 GB, free: 15.16 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004497/0.5468, allocations: 45.2 kB / 0.629 GB, free: 15.12 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.5478, allocations: 0.5474 MB / 0.6295 GB, free: 14.54 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003244/0.5482, allocations: 0.7085 MB / 0.6302 GB, free: 13.8 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001698/0.5484, allocations: 23.42 kB / 0.6303 GB, free: 13.78 MB / 478.1 MB Notification: Performance of SimCode: time 2.4e-07/0.5484, allocations: 0 / 0.6303 GB, free: 13.78 MB / 478.1 MB Notification: Performance of Templates: time 0.00952/0.5579, allocations: 5.175 MB / 0.6353 GB, free: 8.605 MB / 478.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches