Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.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.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001615/0.001615, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001672/0.001672, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.521/1.521, allocations: 227.4 MB / 247.5 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2245/0.2245, allocations: 46.12 MB / 344.8 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002226/0.002226, allocations: 75.22 kB / 418.3 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1145, allocations: 62.46 MB / 480.8 MB, free: 5.234 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.3732/0.4878, allocations: 152.2 MB / 0.6182 GB, free: 10.92 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001424/0.4892, allocations: 1.059 MB / 0.6192 GB, free: 9.871 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.972e-05/0.4893, allocations: 0 / 0.6192 GB, free: 9.871 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002417/0.4895, allocations: 35.75 kB / 0.6192 GB, free: 9.836 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006909/0.4903, allocations: 274.9 kB / 0.6195 GB, free: 9.57 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000338/0.4906, allocations: 118.2 kB / 0.6196 GB, free: 9.457 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002429/0.4909, allocations: 179.2 kB / 0.6198 GB, free: 9.281 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.514e-05/0.4909, allocations: 8 kB / 0.6198 GB, free: 9.273 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002011/0.4911, allocations: 101.5 kB / 0.6199 GB, free: 9.176 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.482e-05/0.4912, allocations: 51.83 kB / 0.6199 GB, free: 9.125 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.391e-05/0.4913, allocations: 8 kB / 0.6199 GB, free: 9.117 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005345/0.4918, allocations: 263.7 kB / 0.6202 GB, free: 8.859 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 6.092e-05/0.4919, allocations: 19.91 kB / 0.6202 GB, free: 8.84 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 7.933e-05/0.492, allocations: 51.78 kB / 0.6203 GB, free: 8.789 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004527/0.4924, allocations: 283.3 kB / 0.6205 GB, free: 8.512 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.4924, allocations: 0 / 0.6205 GB, free: 8.512 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.4925, allocations: 4 kB / 0.6205 GB, free: 8.508 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.381e-06/0.4925, allocations: 0 / 0.6205 GB, free: 8.508 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005572/0.493, allocations: 407.3 kB / 0.6209 GB, free: 8.062 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.4931, allocations: 8.031 kB / 0.6209 GB, free: 8.055 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002251/0.4953, allocations: 196.6 kB / 0.6211 GB, free: 7.863 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002816/0.4956, allocations: 212 kB / 0.6213 GB, free: 7.617 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.4957, allocations: 4 kB / 0.6213 GB, free: 7.613 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.451e-05/0.4957, allocations: 11.94 kB / 0.6213 GB, free: 7.602 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005225/0.4962, allocations: 226.6 kB / 0.6216 GB, free: 7.367 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.4963, allocations: 0 / 0.6216 GB, free: 7.367 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.688e-05/0.4963, allocations: 14 kB / 0.6216 GB, free: 7.355 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.4963, allocations: 0 / 0.6216 GB, free: 7.355 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004434/0.4968, allocations: 178.4 kB / 0.6217 GB, free: 7.184 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.001111/0.4979, allocations: 0.5804 MB / 0.6223 GB, free: 6.547 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003487/0.4983, allocations: 143.7 kB / 0.6224 GB, free: 6.398 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001441/0.4984, allocations: 64.83 kB / 0.6225 GB, free: 6.332 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.758e-05/0.4984, allocations: 7.984 kB / 0.6225 GB, free: 6.324 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.623e-05/0.4985, allocations: 34.56 kB / 0.6225 GB, free: 6.281 MB / 462.1 MB Notification: Performance of pre-optimization done (n=14): time 1.353e-06/0.4985, allocations: 0 / 0.6225 GB, free: 6.281 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.005629/0.5041, allocations: 1.317 MB / 0.6238 GB, free: 4.879 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/0.5042, allocations: 51.41 kB / 0.6239 GB, free: 4.816 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.5043, allocations: 109.8 kB / 0.624 GB, free: 4.699 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.259e-05/0.5043, allocations: 33.7 kB / 0.624 GB, free: 4.66 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.678e-05/0.5044, allocations: 99.94 kB / 0.6241 GB, free: 4.559 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.721e-05/0.5045, allocations: 63.05 kB / 0.6242 GB, free: 4.496 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.5046, allocations: 57.59 kB / 0.6242 GB, free: 4.434 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.5048, allocations: 322.8 kB / 0.6245 GB, free: 4.109 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001672/0.5049, allocations: 71.83 kB / 0.6246 GB, free: 4.039 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000185/0.5051, allocations: 99.39 kB / 0.6247 GB, free: 3.93 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003568/0.5055, allocations: 183.3 kB / 0.6249 GB, free: 3.738 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.5055, allocations: 0 / 0.6249 GB, free: 3.738 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005612/0.5061, allocations: 266.2 kB / 0.6251 GB, free: 3.469 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.5061, allocations: 4 kB / 0.6251 GB, free: 3.465 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.5061, allocations: 0 / 0.6251 GB, free: 3.465 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001889/0.5063, allocations: 48.83 kB / 0.6252 GB, free: 3.414 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003405/0.5067, allocations: 63.89 kB / 0.6252 GB, free: 3.352 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004771/0.5072, allocations: 0.5641 MB / 0.6258 GB, free: 2.762 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001773/0.5073, allocations: 8.031 kB / 0.6258 GB, free: 2.754 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-05/0.5074, allocations: 20 kB / 0.6258 GB, free: 2.734 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.0001419/0.5075, allocations: 125.8 kB / 0.6259 GB, free: 2.602 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.491e-05/0.5076, allocations: 12.78 kB / 0.626 GB, free: 2.59 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008627/0.5085, allocations: 354.3 kB / 0.6263 GB, free: 2.246 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-05/0.5085, allocations: 8 kB / 0.6263 GB, free: 2.238 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.5085, allocations: 0 / 0.6263 GB, free: 2.238 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.812e-06/0.5085, allocations: 3.984 kB / 0.6263 GB, free: 2.234 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/0.5096, allocations: 0.6288 MB / 0.6269 GB, free: 1.539 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-06/0.5096, allocations: 7.938 kB / 0.6269 GB, free: 1.531 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003533/0.51, allocations: 64.05 kB / 0.627 GB, free: 1.469 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.223e-05/0.51, allocations: 20.84 kB / 0.627 GB, free: 1.445 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.888e-05/0.5101, allocations: 11.98 kB / 0.627 GB, free: 1.434 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001119/0.5112, allocations: 1.364 MB / 0.6283 GB, free: 15.93 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.5112, allocations: 4.031 kB / 0.6284 GB, free: 15.93 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007327/0.512, allocations: 434.6 kB / 0.6288 GB, free: 15.47 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.828e-05/0.512, allocations: 85.05 kB / 0.6288 GB, free: 15.37 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.647e-05/0.5121, allocations: 8 kB / 0.6289 GB, free: 15.36 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002175/0.5123, allocations: 7.984 kB / 0.6289 GB, free: 15.36 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.567e-05/0.5124, allocations: 24.05 kB / 0.6289 GB, free: 15.33 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.137e-05/0.5124, allocations: 29.11 kB / 0.6289 GB, free: 15.3 MB / 478.1 MB Notification: Performance of sorting global known variables: time 6.002e-05/0.5125, allocations: 91.27 kB / 0.629 GB, free: 15.21 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5125, allocations: 0 / 0.629 GB, free: 15.21 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0004247/0.5129, allocations: 83.94 kB / 0.6291 GB, free: 15.13 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 (21): * Single equations (assignments): 20 * 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.0003624/0.5133, allocations: 143.2 kB / 0.6292 GB, free: 14.98 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0005735/0.5139, allocations: 219.1 kB / 0.6294 GB, free: 14.77 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.5139, allocations: 192 / 0.6294 GB, free: 14.77 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003648/0.5143, allocations: 222.5 kB / 0.6296 GB, free: 14.54 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004525/0.5147, allocations: 43.95 kB / 0.6297 GB, free: 14.5 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009645/0.5157, allocations: 0.4983 MB / 0.6302 GB, free: 13.96 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003645/0.5161, allocations: 0.7162 MB / 0.6309 GB, free: 13.21 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002249/0.5163, allocations: 55.41 kB / 0.6309 GB, free: 13.16 MB / 478.1 MB Notification: Performance of SimCode: time 3.9e-07/0.5163, allocations: 0 / 0.6309 GB, free: 13.16 MB / 478.1 MB Notification: Performance of Templates: time 0.006882/0.5232, allocations: 3.863 MB / 0.6347 GB, free: 9.297 MB / 478.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches