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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.0009645/0.0009645, allocations: 198.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.377/1.377, allocations: 225.6 MB / 234.8 MB, free: 3.266 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008807/0.0008809, allocations: 92.45 kB / 286.7 MB, free: 5.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2341/0.2341, allocations: 45.14 MB / 383.7 MB, free: 276 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.457e-05/1.458e-05, allocations: 4 kB / 453.2 MB, free: 75.84 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1366, allocations: 63.25 MB / 0.5044 GB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.993/2.13, allocations: 0.7083 GB / 1.213 GB, free: 155.8 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002462/2.13, allocations: 75.95 kB / 1.213 GB, free: 155.8 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.08011/2.21, allocations: 39.87 MB / 1.252 GB, free: 115.6 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.355e-06/2.21, allocations: 0 / 1.252 GB, free: 115.6 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.231e-05/2.21, allocations: 7.938 kB / 1.252 GB, free: 115.6 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0009849/2.211, allocations: 0.5066 MB / 1.252 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/2.211, allocations: 8.031 kB / 1.252 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003089/2.214, allocations: 383.3 kB / 1.253 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003769/2.215, allocations: 258.8 kB / 1.253 GB, free: 114.4 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/2.215, allocations: 11.95 kB / 1.253 GB, free: 114.4 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.626e-05/2.215, allocations: 19.88 kB / 1.253 GB, free: 114.4 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007039/2.216, allocations: 456.6 kB / 1.253 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004251/2.216, allocations: 297.5 kB / 1.254 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/2.216, allocations: 0 / 1.254 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.511e-05/2.216, allocations: 0 / 1.254 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/2.216, allocations: 8 kB / 1.254 GB, free: 113.6 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or 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.001885/2.218, allocations: 0.9368 MB / 1.254 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003471/2.218, allocations: 257.1 kB / 1.255 GB, free: 112.3 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001497/2.219, allocations: 129.7 kB / 1.255 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001128/2.22, allocations: 0.7464 MB / 1.256 GB, free: 111.3 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/2.22, allocations: 42.56 kB / 1.256 GB, free: 111.3 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=29): time 2.304e-06/2.22, allocations: 0 / 1.256 GB, free: 111.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=29): time 0.0005539/2.22, allocations: 266.6 kB / 1.256 GB, free: 111 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.285e-05/2.22, allocations: 85.11 kB / 1.256 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.176e-05/2.22, allocations: 101 kB / 1.256 GB, free: 110.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.407e-05/2.221, allocations: 29.7 kB / 1.256 GB, free: 110.8 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.081e-05/2.221, allocations: 112.5 kB / 1.256 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.859e-05/2.221, allocations: 98.5 kB / 1.256 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.043e-05/2.221, allocations: 0 / 1.256 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.206e-05/2.221, allocations: 330.8 kB / 1.257 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001279/2.221, allocations: 96.64 kB / 1.257 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001523/2.221, allocations: 183.2 kB / 1.257 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002133/2.221, allocations: 120.7 kB / 1.257 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/2.221, allocations: 4 kB / 1.257 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004877/2.222, allocations: 330.3 kB / 1.257 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/2.222, allocations: 8 kB / 1.257 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/2.222, allocations: 4 kB / 1.257 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/2.222, allocations: 4 kB / 1.257 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003519/2.222, allocations: 79.83 kB / 1.257 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.605e-05/2.222, allocations: 4 kB / 1.257 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002743/2.222, allocations: 27.73 kB / 1.257 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.558e-05/2.223, allocations: 12 kB / 1.257 GB, free: 109.3 MB / 0.5261 GB 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001003/2.223, allocations: 124.9 kB / 1.258 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.98e-05/2.223, allocations: 15.89 kB / 1.258 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000583/2.223, allocations: 322.2 kB / 1.258 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/2.223, allocations: 11.97 kB / 1.258 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/2.223, allocations: 0 / 1.258 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/2.223, allocations: 11.94 kB / 1.258 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004631/2.224, allocations: 324.9 kB / 1.258 GB, free: 108.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/2.224, allocations: 0 / 1.258 GB, free: 108.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003403/2.224, allocations: 59.89 kB / 1.258 GB, free: 108.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/2.224, allocations: 0 / 1.258 GB, free: 108.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.936e-05/2.224, allocations: 11.92 kB / 1.258 GB, free: 108.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/2.224, allocations: 0 / 1.258 GB, free: 108.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/2.224, allocations: 4 kB / 1.258 GB, free: 108.4 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005667/2.225, allocations: 0.5193 MB / 1.259 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.844e-05/2.225, allocations: 92.86 kB / 1.259 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.149e-05/2.225, allocations: 4 kB / 1.259 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003605/2.225, allocations: 11.98 kB / 1.259 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.499e-05/2.225, allocations: 20.03 kB / 1.259 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.675e-05/2.225, allocations: 19.98 kB / 1.259 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.097e-05/2.225, allocations: 87.58 kB / 1.259 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.21e-07/2.225, allocations: 0 / 1.259 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001023/2.226, allocations: 263.7 kB / 1.259 GB, free: 107.4 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium.p,medium.T,medium2.p,medium2.T,medium2.X[1],medium2.X[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0017/2.228, allocations: 0.8322 MB / 1.26 GB, free: 106.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000387/2.229, allocations: 260.3 kB / 1.26 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/2.229, allocations: 128 / 1.26 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001426/2.229, allocations: 139.9 kB / 1.26 GB, free: 106.1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005747/2.229, allocations: 73.12 kB / 1.261 GB, free: 106.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008477/2.23, allocations: 0.6004 MB / 1.261 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001721/2.23, allocations: 0.7327 MB / 1.262 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004749/2.231, allocations: 90.06 kB / 1.262 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/2.231, allocations: 35.42 kB / 1.262 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of SimCode: time 2.3e-07/2.231, allocations: 0 / 1.262 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of Templates: time 0.01467/2.246, allocations: 10.25 MB / 1.272 GB, free: 94.36 MB / 0.5261 GB 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","../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches