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.001167/0.001167, 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.001405/0.001405, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.386/1.386, allocations: 227.4 MB / 247.4 MB, free: 10.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2257/0.2257, allocations: 46.1 MB / 344.8 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 71.59 kB / 418.2 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1348, allocations: 62.44 MB / 480.7 MB, free: 5.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.463/0.5978, allocations: 152.8 MB / 0.6186 GB, free: 10.74 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004402/0.6022, allocations: 3.248 MB / 0.6218 GB, free: 7.508 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001713/0.6024, allocations: 0 / 0.6218 GB, free: 7.508 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000415/0.6029, allocations: 63.64 kB / 0.6219 GB, free: 7.445 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002989/0.6059, allocations: 1.06 MB / 0.6229 GB, free: 6.383 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005696/0.6065, allocations: 204.7 kB / 0.6231 GB, free: 6.188 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005379/0.6071, allocations: 358.7 kB / 0.6234 GB, free: 5.836 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.939e-05/0.6071, allocations: 13.11 kB / 0.6234 GB, free: 5.824 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003542/0.6075, allocations: 171.4 kB / 0.6236 GB, free: 5.656 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002453/0.6078, allocations: 119.6 kB / 0.6237 GB, free: 5.539 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.699e-05/0.6078, allocations: 12 kB / 0.6237 GB, free: 5.527 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003363/0.6112, allocations: 1.547 MB / 0.6252 GB, free: 3.977 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001333/0.6113, allocations: 87.77 kB / 0.6253 GB, free: 3.891 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001759/0.6115, allocations: 107.6 kB / 0.6254 GB, free: 3.785 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002196/0.6137, allocations: 1.017 MB / 0.6264 GB, free: 2.766 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.6138, allocations: 0 / 0.6264 GB, free: 2.766 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.6138, allocations: 4 kB / 0.6264 GB, free: 2.762 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.209e-05/0.6138, allocations: 0 / 0.6264 GB, free: 2.762 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.001066/0.6149, allocations: 0.5423 MB / 0.627 GB, free: 2.172 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.6149, allocations: 15.97 kB / 0.627 GB, free: 2.156 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004133/0.6191, allocations: 388.7 kB / 0.6273 GB, free: 1.777 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00043/0.6195, allocations: 268.1 kB / 0.6276 GB, free: 1.477 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.419e-05/0.6195, allocations: 16.31 kB / 0.6276 GB, free: 1.461 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.133e-05/0.6196, allocations: 20 kB / 0.6276 GB, free: 1.441 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/0.6207, allocations: 500 kB / 0.6281 GB, free: 0.9414 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.6207, allocations: 0 / 0.6281 GB, free: 0.9414 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.041e-05/0.6208, allocations: 15.98 kB / 0.6281 GB, free: 0.9258 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.422e-05/0.6208, allocations: 8 kB / 0.6281 GB, free: 0.918 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001095/0.6219, allocations: 0.5198 MB / 0.6286 GB, free: 408 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.0025/0.6244, allocations: 1.017 MB / 0.6296 GB, free: 15.32 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006369/0.6251, allocations: 301.8 kB / 0.6299 GB, free: 15.01 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002986/0.6254, allocations: 153.7 kB / 0.6301 GB, free: 14.86 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001997/0.6274, allocations: 0.9684 MB / 0.631 GB, free: 13.72 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.773e-05/0.6275, allocations: 34.56 kB / 0.631 GB, free: 13.68 MB / 478.1 MB Notification: Performance of pre-optimization done (n=31): time 2.294e-06/0.6275, allocations: 4 kB / 0.6311 GB, free: 13.68 MB / 478.1 MB Notification: Performance of matching and sorting (n=31): time 0.001128/0.6286, allocations: 428 kB / 0.6315 GB, free: 13.25 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.602e-05/0.6287, allocations: 77.11 kB / 0.6315 GB, free: 13.16 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.6288, allocations: 123.3 kB / 0.6317 GB, free: 13.03 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.517e-05/0.6289, allocations: 33.7 kB / 0.6317 GB, free: 12.99 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.413e-05/0.629, allocations: 108.4 kB / 0.6318 GB, free: 12.88 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.6291, allocations: 110.4 kB / 0.6319 GB, free: 12.77 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/0.6292, allocations: 74 kB / 0.632 GB, free: 12.69 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.6293, allocations: 322.8 kB / 0.6323 GB, free: 12.37 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00027/0.6296, allocations: 116.3 kB / 0.6324 GB, free: 12.25 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003179/0.6299, allocations: 218.7 kB / 0.6326 GB, free: 12 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005972/0.6305, allocations: 347.6 kB / 0.6329 GB, free: 11.63 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.6306, allocations: 0 / 0.6329 GB, free: 11.63 MB / 478.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007972/0.6314, allocations: 393.1 kB / 0.6333 GB, free: 11.24 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.6314, allocations: 7.938 kB / 0.6333 GB, free: 11.23 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.6314, allocations: 4 kB / 0.6333 GB, free: 11.23 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.6314, allocations: 7.938 kB / 0.6333 GB, free: 11.22 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004452/0.6319, allocations: 75.89 kB / 0.6334 GB, free: 11.15 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/0.6319, allocations: 4.312 kB / 0.6334 GB, free: 11.14 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003224/0.6322, allocations: 39.67 kB / 0.6334 GB, free: 11.11 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-05/0.6323, allocations: 16 kB / 0.6334 GB, free: 11.09 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.0001636/0.6325, allocations: 141.7 kB / 0.6336 GB, free: 10.94 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/0.6326, allocations: 23.81 kB / 0.6336 GB, free: 10.92 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009361/0.6335, allocations: 380.7 kB / 0.634 GB, free: 10.54 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-05/0.6336, allocations: 12 kB / 0.634 GB, free: 10.53 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/0.6336, allocations: 1.562 kB / 0.634 GB, free: 10.53 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.6336, allocations: 0 / 0.634 GB, free: 10.53 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006759/0.6343, allocations: 380.8 kB / 0.6343 GB, free: 10.11 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.6343, allocations: 0 / 0.6343 GB, free: 10.11 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004469/0.6347, allocations: 55.97 kB / 0.6344 GB, free: 10.05 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.739e-06/0.6348, allocations: 7.984 kB / 0.6344 GB, free: 10.05 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.467e-05/0.6348, allocations: 8 kB / 0.6344 GB, free: 10.04 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.6348, allocations: 3.938 kB / 0.6344 GB, free: 10.04 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.6348, allocations: 0 / 0.6344 GB, free: 10.04 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009662/0.6358, allocations: 0.5804 MB / 0.635 GB, free: 9.438 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001436/0.6359, allocations: 93.36 kB / 0.6351 GB, free: 9.328 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.691e-05/0.636, allocations: 12.05 kB / 0.6351 GB, free: 9.316 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004061/0.6364, allocations: 15.98 kB / 0.6351 GB, free: 9.301 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.478e-05/0.6365, allocations: 15.97 kB / 0.6351 GB, free: 9.285 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.512e-05/0.6365, allocations: 27.92 kB / 0.6351 GB, free: 9.262 MB / 478.1 MB Notification: Performance of sorting global known variables: time 5.38e-05/0.6366, allocations: 91.27 kB / 0.6352 GB, free: 9.172 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.6366, allocations: 0 / 0.6352 GB, free: 9.172 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0008465/0.6374, allocations: 231.9 kB / 0.6354 GB, free: 8.945 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.00128/0.6387, allocations: 458.5 kB / 0.6359 GB, free: 8.488 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007849/0.6395, allocations: 327.5 kB / 0.6362 GB, free: 8.168 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.6395, allocations: 0 / 0.6362 GB, free: 8.168 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003191/0.6399, allocations: 155.8 kB / 0.6363 GB, free: 8.016 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000691/0.6406, allocations: 92.11 kB / 0.6364 GB, free: 7.93 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001293/0.6419, allocations: 0.7732 MB / 0.6372 GB, free: 7.121 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003275/0.6422, allocations: 0.7401 MB / 0.6379 GB, free: 6.355 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001794/0.6424, allocations: 35.42 kB / 0.6379 GB, free: 6.324 MB / 478.1 MB Notification: Performance of SimCode: time 3.41e-07/0.6424, allocations: 0 / 0.6379 GB, free: 6.324 MB / 478.1 MB Notification: Performance of Templates: time 0.0114/0.6538, allocations: 6.758 MB / 0.6445 GB, free: 15.57 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/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