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.001163/0.001163, allocations: 102.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001264/0.001264, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.501/1.501, allocations: 227.4 MB / 246.8 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2564/0.2564, allocations: 46.12 MB / 344.2 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002235/0.002235, allocations: 79.34 kB / 417.7 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1601, allocations: 62.46 MB / 480.1 MB, free: 5.188 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.513/0.6731, allocations: 152.8 MB / 0.6181 GB, free: 10.42 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004296/0.6775, allocations: 3.252 MB / 0.6212 GB, free: 7.18 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.6776, allocations: 8 kB / 0.6212 GB, free: 7.172 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004626/0.6781, allocations: 55.64 kB / 0.6213 GB, free: 7.117 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002839/0.681, allocations: 1.064 MB / 0.6223 GB, free: 6.051 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005962/0.6816, allocations: 199.1 kB / 0.6225 GB, free: 5.859 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005023/0.6821, allocations: 362.6 kB / 0.6229 GB, free: 5.504 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.737e-05/0.6822, allocations: 13.11 kB / 0.6229 GB, free: 5.492 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002953/0.6825, allocations: 159.4 kB / 0.623 GB, free: 5.336 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002073/0.6827, allocations: 115.6 kB / 0.6232 GB, free: 5.223 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.51e-05/0.6828, allocations: 16 kB / 0.6232 GB, free: 5.207 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003235/0.686, allocations: 1.555 MB / 0.6247 GB, free: 3.648 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000126/0.6861, allocations: 87.75 kB / 0.6248 GB, free: 3.562 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001414/0.6863, allocations: 103.7 kB / 0.6249 GB, free: 3.461 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001686/0.688, allocations: 1.017 MB / 0.6259 GB, free: 2.441 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.688, allocations: 0 / 0.6259 GB, free: 2.441 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.688, allocations: 0 / 0.6259 GB, free: 2.441 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.688, allocations: 0 / 0.6259 GB, free: 2.441 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.001069/0.6891, allocations: 0.554 MB / 0.6264 GB, free: 1.84 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.6892, allocations: 12.02 kB / 0.6264 GB, free: 1.828 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004/0.6932, allocations: 392.6 kB / 0.6268 GB, free: 1.445 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004188/0.6936, allocations: 264.1 kB / 0.627 GB, free: 1.148 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.41e-05/0.6936, allocations: 24.31 kB / 0.6271 GB, free: 1.125 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.176e-05/0.6937, allocations: 19.98 kB / 0.6271 GB, free: 1.105 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001044/0.6948, allocations: 492.7 kB / 0.6276 GB, free: 0.6133 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.6948, allocations: 4 kB / 0.6276 GB, free: 0.6094 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.992e-05/0.6949, allocations: 8 kB / 0.6276 GB, free: 0.6016 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.162e-05/0.6949, allocations: 8 kB / 0.6276 GB, free: 0.5938 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001101/0.696, allocations: 0.5315 MB / 0.6281 GB, free: 64 kB / 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.002515/0.6985, allocations: 0.9978 MB / 0.6291 GB, free: 15.01 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006356/0.6992, allocations: 300.4 kB / 0.6294 GB, free: 14.7 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003061/0.6995, allocations: 168.1 kB / 0.6295 GB, free: 14.54 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001991/0.7015, allocations: 0.9684 MB / 0.6305 GB, free: 13.4 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.534e-05/0.7016, allocations: 42.55 kB / 0.6305 GB, free: 13.35 MB / 478.1 MB Notification: Performance of pre-optimization done (n=31): time 3.045e-06/0.7016, allocations: 0 / 0.6305 GB, free: 13.35 MB / 478.1 MB Notification: Performance of matching and sorting (n=31): time 0.001057/0.7026, allocations: 413.9 kB / 0.6309 GB, free: 12.94 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.8e-05/0.7027, allocations: 85.09 kB / 0.631 GB, free: 12.84 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.7028, allocations: 123.3 kB / 0.6311 GB, free: 12.71 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.32e-05/0.7029, allocations: 29.7 kB / 0.6311 GB, free: 12.68 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.518e-05/0.703, allocations: 112.4 kB / 0.6312 GB, free: 12.56 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000108/0.7031, allocations: 114.4 kB / 0.6313 GB, free: 12.45 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001268/0.7032, allocations: 62.02 kB / 0.6314 GB, free: 12.38 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.7034, allocations: 330.8 kB / 0.6317 GB, free: 12.05 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002728/0.7037, allocations: 124.2 kB / 0.6318 GB, free: 11.93 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003576/0.704, allocations: 214.7 kB / 0.632 GB, free: 11.68 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006391/0.7047, allocations: 351.3 kB / 0.6324 GB, free: 11.3 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.7047, allocations: 7.938 kB / 0.6324 GB, free: 11.3 MB / 478.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008204/0.7055, allocations: 385.2 kB / 0.6327 GB, free: 10.91 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.985e-05/0.7056, allocations: 8 kB / 0.6328 GB, free: 10.91 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.7056, allocations: 4 kB / 0.6328 GB, free: 10.9 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.773e-05/0.7056, allocations: 4 kB / 0.6328 GB, free: 10.9 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004635/0.7061, allocations: 75.83 kB / 0.6328 GB, free: 10.82 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.7061, allocations: 4 kB / 0.6328 GB, free: 10.82 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003121/0.7064, allocations: 27.69 kB / 0.6329 GB, free: 10.79 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-05/0.7065, allocations: 24.23 kB / 0.6329 GB, free: 10.77 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.0001858/0.7067, allocations: 149.7 kB / 0.633 GB, free: 10.61 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001226/0.7068, allocations: 15.81 kB / 0.633 GB, free: 10.6 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009003/0.7077, allocations: 384.9 kB / 0.6334 GB, free: 10.22 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.726e-05/0.7078, allocations: 4 kB / 0.6334 GB, free: 10.21 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.7078, allocations: 3.938 kB / 0.6334 GB, free: 10.21 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.437e-06/0.7078, allocations: 7.984 kB / 0.6334 GB, free: 10.21 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007403/0.7085, allocations: 373.1 kB / 0.6338 GB, free: 9.789 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.7086, allocations: 0 / 0.6338 GB, free: 9.789 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004383/0.709, allocations: 63.89 kB / 0.6338 GB, free: 9.727 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.709, allocations: 0 / 0.6338 GB, free: 9.727 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.656e-05/0.709, allocations: 11.98 kB / 0.6339 GB, free: 9.715 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.7091, allocations: 4 kB / 0.6339 GB, free: 9.711 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.7091, allocations: 0 / 0.6339 GB, free: 9.711 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001041/0.7101, allocations: 0.5764 MB / 0.6344 GB, free: 9.117 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.614e-05/0.7102, allocations: 96.86 kB / 0.6345 GB, free: 9.004 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.895e-05/0.7103, allocations: 8.047 kB / 0.6345 GB, free: 8.996 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003984/0.7107, allocations: 15.98 kB / 0.6345 GB, free: 8.98 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.483e-05/0.7107, allocations: 19.98 kB / 0.6346 GB, free: 8.961 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-05/0.7108, allocations: 11.98 kB / 0.6346 GB, free: 8.949 MB / 478.1 MB Notification: Performance of sorting global known variables: time 6.163e-05/0.7108, allocations: 99.2 kB / 0.6347 GB, free: 8.852 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.7108, allocations: 0 / 0.6347 GB, free: 8.852 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001083/0.7119, allocations: 243.8 kB / 0.6349 GB, free: 8.613 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.001192/0.7131, allocations: 446.5 kB / 0.6353 GB, free: 8.168 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007415/0.7139, allocations: 334.9 kB / 0.6356 GB, free: 7.844 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.7139, allocations: 0 / 0.6356 GB, free: 7.844 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002991/0.7142, allocations: 155.8 kB / 0.6358 GB, free: 7.691 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006944/0.7149, allocations: 83.39 kB / 0.6359 GB, free: 7.613 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001491/0.7164, allocations: 0.745 MB / 0.6366 GB, free: 6.84 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004403/0.7169, allocations: 0.7401 MB / 0.6373 GB, free: 6.074 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005304/0.7174, allocations: 87.67 kB / 0.6374 GB, free: 5.992 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001275/0.7175, allocations: 35.42 kB / 0.6374 GB, free: 5.961 MB / 478.1 MB Notification: Performance of SimCode: time 2.2e-07/0.7175, allocations: 0 / 0.6374 GB, free: 5.961 MB / 478.1 MB Notification: Performance of Templates: time 0.01722/0.7348, allocations: 8.658 MB / 0.6459 GB, free: 13.35 MB / 494.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches