Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.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.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.1.|medium2.X.2.|medium2.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir") translateModel(ModelicaTest.Media.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.1.|medium2.X.2.|medium2.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00181/0.00181, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002087/0.002088, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.482/2.482, allocations: 227.4 MB / 246.9 MB, free: 10.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4701/0.4701, allocations: 46.11 MB / 344.3 MB, free: 11.79 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002874/0.002874, allocations: 76.36 kB / 417.5 MB, free: 20.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.201/0.2039, allocations: 62.45 MB / 479.9 MB, free: 5.727 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.8468/1.051, allocations: 150.6 MB / 0.6157 GB, free: 13.32 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.009223/1.06, allocations: 3.349 MB / 0.619 GB, free: 9.992 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002525/1.06, allocations: 0 / 0.619 GB, free: 9.992 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007267/1.061, allocations: 63.7 kB / 0.6191 GB, free: 9.93 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006512/1.068, allocations: 0.9752 MB / 0.62 GB, free: 8.953 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001223/1.069, allocations: 181 kB / 0.6202 GB, free: 8.777 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001283/1.07, allocations: 0.5063 MB / 0.6207 GB, free: 8.27 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001436/1.071, allocations: 13.11 kB / 0.6207 GB, free: 8.258 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00077/1.071, allocations: 159.4 kB / 0.6208 GB, free: 8.102 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004657/1.072, allocations: 123.6 kB / 0.621 GB, free: 7.98 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.841e-05/1.072, allocations: 4 kB / 0.621 GB, free: 7.977 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008033/1.08, allocations: 1.808 MB / 0.6227 GB, free: 6.164 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003019/1.08, allocations: 75.77 kB / 0.6228 GB, free: 6.09 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005904/1.081, allocations: 107.6 kB / 0.6229 GB, free: 5.984 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002897/1.084, allocations: 0.7914 MB / 0.6237 GB, free: 5.191 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/1.084, allocations: 0 / 0.6237 GB, free: 5.191 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.186e-06/1.084, allocations: 0 / 0.6237 GB, free: 5.191 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.341e-05/1.084, allocations: 0 / 0.6237 GB, free: 5.191 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.00333/1.087, allocations: 0.5384 MB / 0.6242 GB, free: 4.605 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.534e-05/1.088, allocations: 12.03 kB / 0.6242 GB, free: 4.594 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007787/1.095, allocations: 389.2 kB / 0.6246 GB, free: 4.215 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008181/1.096, allocations: 264.2 kB / 0.6248 GB, free: 3.918 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.588e-05/1.096, allocations: 16.31 kB / 0.6248 GB, free: 3.902 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001783/1.096, allocations: 23.98 kB / 0.6249 GB, free: 3.879 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002061/1.099, allocations: 500 kB / 0.6253 GB, free: 3.379 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/1.099, allocations: 0 / 0.6253 GB, free: 3.379 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001359/1.099, allocations: 12 kB / 0.6254 GB, free: 3.367 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.983e-05/1.099, allocations: 15.92 kB / 0.6254 GB, free: 3.352 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002221/1.101, allocations: 0.5121 MB / 0.6259 GB, free: 2.84 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.004603/1.106, allocations: 1.005 MB / 0.6269 GB, free: 1.781 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001362/1.107, allocations: 304.8 kB / 0.6271 GB, free: 1.469 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006316/1.108, allocations: 161.3 kB / 0.6273 GB, free: 1.309 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003478/1.111, allocations: 0.9762 MB / 0.6283 GB, free: 172 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.799e-05/1.111, allocations: 46.5 kB / 0.6283 GB, free: 116 kB / 462.1 MB Notification: Performance of pre-optimization done (n=31): time 4.809e-06/1.111, allocations: 0 / 0.6283 GB, free: 116 kB / 462.1 MB Notification: Performance of matching and sorting (n=31): time 0.002068/1.113, allocations: 416.3 kB / 0.6287 GB, free: 15.7 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.465e-05/1.114, allocations: 81.11 kB / 0.6288 GB, free: 15.6 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001776/1.114, allocations: 118.5 kB / 0.6289 GB, free: 15.48 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 8.965e-05/1.114, allocations: 37.7 kB / 0.6289 GB, free: 15.43 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/1.114, allocations: 104.4 kB / 0.629 GB, free: 15.32 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001939/1.114, allocations: 126.2 kB / 0.6291 GB, free: 15.2 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002139/1.114, allocations: 62.03 kB / 0.6292 GB, free: 15.14 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002119/1.115, allocations: 326.8 kB / 0.6295 GB, free: 14.81 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004745/1.115, allocations: 120.3 kB / 0.6296 GB, free: 14.69 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006046/1.116, allocations: 206.8 kB / 0.6298 GB, free: 14.45 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001157/1.117, allocations: 354.3 kB / 0.6302 GB, free: 14.07 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.147e-05/1.117, allocations: 3.938 kB / 0.6302 GB, free: 14.07 MB / 478.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001568/1.119, allocations: 391.5 kB / 0.6305 GB, free: 13.68 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.019e-05/1.119, allocations: 4 kB / 0.6305 GB, free: 13.68 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.599e-05/1.119, allocations: 4 kB / 0.6305 GB, free: 13.67 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.58e-05/1.119, allocations: 4 kB / 0.6305 GB, free: 13.67 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007676/1.119, allocations: 76.2 kB / 0.6306 GB, free: 13.59 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.347e-05/1.12, allocations: 8 kB / 0.6306 GB, free: 13.59 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006182/1.12, allocations: 35.67 kB / 0.6307 GB, free: 13.55 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001095/1.12, allocations: 20 kB / 0.6307 GB, free: 13.53 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (40): * Single equations (assignments): 39 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006274/1.121, allocations: 145.6 kB / 0.6308 GB, free: 13.38 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002501/1.121, allocations: 15.81 kB / 0.6308 GB, free: 13.36 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001553/1.123, allocations: 391.6 kB / 0.6312 GB, free: 12.98 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-05/1.123, allocations: 4 kB / 0.6312 GB, free: 12.98 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.398e-05/1.123, allocations: 0 / 0.6312 GB, free: 12.98 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/1.123, allocations: 0 / 0.6312 GB, free: 12.98 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001297/1.124, allocations: 381.1 kB / 0.6316 GB, free: 12.55 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.366e-05/1.124, allocations: 0 / 0.6316 GB, free: 12.55 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007754/1.125, allocations: 63.84 kB / 0.6316 GB, free: 12.49 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-05/1.125, allocations: 3.984 kB / 0.6316 GB, free: 12.48 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.816e-05/1.125, allocations: 12 kB / 0.6317 GB, free: 12.47 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.977e-06/1.125, allocations: 4 kB / 0.6317 GB, free: 12.47 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/1.125, allocations: 0 / 0.6317 GB, free: 12.47 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001745/1.127, allocations: 0.5686 MB / 0.6322 GB, free: 11.89 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001327/1.127, allocations: 96.86 kB / 0.6323 GB, free: 11.77 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.997e-05/1.127, allocations: 8.062 kB / 0.6323 GB, free: 11.77 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007197/1.128, allocations: 19.98 kB / 0.6323 GB, free: 11.75 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.542e-05/1.128, allocations: 19.97 kB / 0.6324 GB, free: 11.73 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.794e-05/1.128, allocations: 23.92 kB / 0.6324 GB, free: 11.7 MB / 478.1 MB Notification: Performance of sorting global known variables: time 9.072e-05/1.128, allocations: 91.58 kB / 0.6325 GB, free: 11.61 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.21e-07/1.128, allocations: 0 / 0.6325 GB, free: 11.61 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001905/1.13, allocations: 243.8 kB / 0.6327 GB, free: 11.38 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium2.p,medium2.T,medium2.X[1],medium2.X[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 (30): * Single equations (assignments): 29 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002961/1.133, allocations: 458.6 kB / 0.6331 GB, free: 10.92 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00176/1.135, allocations: 321.9 kB / 0.6334 GB, free: 10.61 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.026e-05/1.135, allocations: 4 kB / 0.6334 GB, free: 10.6 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006223/1.135, allocations: 147.8 kB / 0.6336 GB, free: 10.46 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001542/1.137, allocations: 86.19 kB / 0.6337 GB, free: 10.38 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00282/1.14, allocations: 0.8426 MB / 0.6345 GB, free: 9.496 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006051/1.141, allocations: 0.7365 MB / 0.6352 GB, free: 8.73 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004056/1.141, allocations: 47.41 kB / 0.6353 GB, free: 8.688 MB / 478.1 MB Notification: Performance of SimCode: time 2.365e-06/1.141, allocations: 0 / 0.6353 GB, free: 8.688 MB / 478.1 MB Notification: Performance of Templates: time 0.02471/1.166, allocations: 6.745 MB / 0.6418 GB, free: 1.953 MB / 478.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches