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.001602/0.001602, allocations: 113.4 kB / 17.99 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001562/0.001562, allocations: 209.8 kB / 18.92 MB, free: 4.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.451/1.451, allocations: 227.4 MB / 247.1 MB, free: 10.85 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2348/0.2348, allocations: 46.12 MB / 344.5 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002264/0.002264, allocations: 76.7 kB / 417.8 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.129, allocations: 62.45 MB / 480.2 MB, free: 5.609 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.4612/0.5902, allocations: 150.7 MB / 0.6161 GB, free: 13.07 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004598/0.5949, allocations: 3.249 MB / 0.6193 GB, free: 9.832 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.382e-05/0.595, allocations: 0 / 0.6193 GB, free: 9.832 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003706/0.5954, allocations: 51.72 kB / 0.6193 GB, free: 9.781 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002576/0.598, allocations: 0.9947 MB / 0.6203 GB, free: 8.785 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005116/0.5985, allocations: 182.9 kB / 0.6205 GB, free: 8.609 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004818/0.599, allocations: 362.7 kB / 0.6208 GB, free: 8.254 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.691e-05/0.5991, allocations: 21.09 kB / 0.6209 GB, free: 8.234 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002897/0.5994, allocations: 163.4 kB / 0.621 GB, free: 8.074 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002091/0.5996, allocations: 127.6 kB / 0.6211 GB, free: 7.949 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.809e-05/0.5996, allocations: 12 kB / 0.6211 GB, free: 7.938 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002963/0.6026, allocations: 1.644 MB / 0.6228 GB, free: 6.289 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001099/0.6027, allocations: 79.83 kB / 0.6228 GB, free: 6.211 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001517/0.6029, allocations: 115.5 kB / 0.6229 GB, free: 6.098 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001141/0.604, allocations: 0.7291 MB / 0.6237 GB, free: 5.367 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.604, allocations: 0 / 0.6237 GB, free: 5.367 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.604, allocations: 0 / 0.6237 GB, free: 5.367 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.6041, allocations: 0 / 0.6237 GB, free: 5.367 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.00104/0.6051, allocations: 0.5501 MB / 0.6242 GB, free: 4.77 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.6052, allocations: 12.03 kB / 0.6242 GB, free: 4.758 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003792/0.609, allocations: 388.7 kB / 0.6246 GB, free: 4.379 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003972/0.6094, allocations: 272.1 kB / 0.6248 GB, free: 4.074 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.163e-05/0.6094, allocations: 16.31 kB / 0.6248 GB, free: 4.059 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.852e-05/0.6095, allocations: 20 kB / 0.6249 GB, free: 4.039 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001054/0.6105, allocations: 500 kB / 0.6253 GB, free: 3.539 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.6106, allocations: 0 / 0.6253 GB, free: 3.539 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.372e-05/0.6106, allocations: 12 kB / 0.6254 GB, free: 3.527 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.536e-05/0.6107, allocations: 11.98 kB / 0.6254 GB, free: 3.516 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001114/0.6118, allocations: 0.5178 MB / 0.6259 GB, free: 3 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.002449/0.6143, allocations: 1.005 MB / 0.6269 GB, free: 1.941 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006388/0.6149, allocations: 297 kB / 0.6271 GB, free: 1.633 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003043/0.6152, allocations: 161.6 kB / 0.6273 GB, free: 1.469 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001942/0.6172, allocations: 0.98 MB / 0.6282 GB, free: 332 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.747e-05/0.6172, allocations: 38.56 kB / 0.6283 GB, free: 284 kB / 462.1 MB Notification: Performance of pre-optimization done (n=31): time 2.495e-06/0.6172, allocations: 0 / 0.6283 GB, free: 284 kB / 462.1 MB Notification: Performance of matching and sorting (n=31): time 0.001065/0.6183, allocations: 421.2 kB / 0.6287 GB, free: 15.86 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.177e-05/0.6184, allocations: 81.11 kB / 0.6288 GB, free: 15.77 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.6185, allocations: 121.7 kB / 0.6289 GB, free: 15.64 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.698e-05/0.6186, allocations: 33.7 kB / 0.6289 GB, free: 15.6 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.986e-05/0.6186, allocations: 112.4 kB / 0.629 GB, free: 15.48 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/0.6188, allocations: 110.4 kB / 0.6291 GB, free: 15.37 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/0.6189, allocations: 62.02 kB / 0.6292 GB, free: 15.3 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.6191, allocations: 322.8 kB / 0.6295 GB, free: 14.98 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000259/0.6193, allocations: 128.2 kB / 0.6296 GB, free: 14.86 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003335/0.6197, allocations: 208.4 kB / 0.6298 GB, free: 14.62 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000619/0.6203, allocations: 348.3 kB / 0.6301 GB, free: 14.24 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.6203, allocations: 7.938 kB / 0.6301 GB, free: 14.23 MB / 478.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000808/0.6211, allocations: 389.1 kB / 0.6305 GB, free: 13.85 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.6212, allocations: 6.5 kB / 0.6305 GB, free: 13.84 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.6212, allocations: 7.938 kB / 0.6305 GB, free: 13.84 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.6212, allocations: 4.312 kB / 0.6305 GB, free: 13.83 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004392/0.6216, allocations: 79.89 kB / 0.6306 GB, free: 13.75 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.6217, allocations: 4 kB / 0.6306 GB, free: 13.75 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00032/0.622, allocations: 35.67 kB / 0.6307 GB, free: 13.71 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.589e-05/0.6221, allocations: 20 kB / 0.6307 GB, free: 13.7 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.0001758/0.6222, allocations: 145.7 kB / 0.6308 GB, free: 13.54 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/0.6224, allocations: 15.81 kB / 0.6308 GB, free: 13.53 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008729/0.6232, allocations: 379 kB / 0.6312 GB, free: 13.16 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.386e-05/0.6233, allocations: 4 kB / 0.6312 GB, free: 13.15 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.6233, allocations: 7.922 kB / 0.6312 GB, free: 13.15 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.6233, allocations: 0 / 0.6312 GB, free: 13.15 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006855/0.624, allocations: 381.1 kB / 0.6316 GB, free: 12.72 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.624, allocations: 7.875 kB / 0.6316 GB, free: 12.71 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000428/0.6244, allocations: 55.97 kB / 0.6316 GB, free: 12.66 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.6244, allocations: 4 kB / 0.6316 GB, free: 12.66 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.902e-05/0.6245, allocations: 11.98 kB / 0.6316 GB, free: 12.64 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.6245, allocations: 4 kB / 0.6316 GB, free: 12.64 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.6245, allocations: 0 / 0.6316 GB, free: 12.64 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/0.6255, allocations: 0.5809 MB / 0.6322 GB, free: 12.04 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.652e-05/0.6256, allocations: 100.9 kB / 0.6323 GB, free: 11.93 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.309e-05/0.6257, allocations: 4.062 kB / 0.6323 GB, free: 11.92 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000402/0.6261, allocations: 19.98 kB / 0.6323 GB, free: 11.9 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.027e-05/0.6261, allocations: 15.97 kB / 0.6323 GB, free: 11.89 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.578e-05/0.6262, allocations: 19.98 kB / 0.6324 GB, free: 11.87 MB / 478.1 MB Notification: Performance of sorting global known variables: time 6.27e-05/0.6262, allocations: 91.27 kB / 0.6324 GB, free: 11.78 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.6262, allocations: 0 / 0.6324 GB, free: 11.78 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0008721/0.6271, allocations: 235.8 kB / 0.6327 GB, free: 11.55 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.001213/0.6284, allocations: 466.5 kB / 0.6331 GB, free: 11.08 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007257/0.6291, allocations: 327.8 kB / 0.6334 GB, free: 10.76 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.6291, allocations: 0 / 0.6334 GB, free: 10.76 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002964/0.6294, allocations: 155.8 kB / 0.6336 GB, free: 10.61 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006621/0.6301, allocations: 92.3 kB / 0.6337 GB, free: 10.53 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001403/0.6315, allocations: 0.8361 MB / 0.6345 GB, free: 9.66 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003884/0.6319, allocations: 0.7401 MB / 0.6352 GB, free: 8.891 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001767/0.6321, allocations: 39.42 kB / 0.6352 GB, free: 8.855 MB / 478.1 MB Notification: Performance of SimCode: time 9.22e-07/0.6321, allocations: 0 / 0.6352 GB, free: 8.855 MB / 478.1 MB Notification: Performance of Templates: time 0.01136/0.6435, allocations: 6.759 MB / 0.6418 GB, free: 2.102 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