Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 92 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 182.6 kB / 17.87 MB, free: 5.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 223.2 MB / 241.8 MB, free: 392 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2162/0.2162, allocations: 44.22 MB / 337.1 MB, free: 2.918 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003274/0.0003274, allocations: 4.781 kB / 409.5 MB, free: 27.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.118, allocations: 61.93 MB / 471.4 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.4379/0.556, allocations: 125.9 MB / 0.5834 GB, free: 4.207 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003458/0.5595, allocations: 2.586 MB / 0.5859 GB, free: 1.617 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.274e-05/0.5596, allocations: 0 / 0.5859 GB, free: 1.617 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003172/0.56, allocations: 47.78 kB / 0.586 GB, free: 1.57 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002101/0.5621, allocations: 0.7205 MB / 0.5867 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004441/0.5625, allocations: 164.7 kB / 0.5868 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003677/0.5629, allocations: 211.6 kB / 0.587 GB, free: 496 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.388e-05/0.563, allocations: 21.03 kB / 0.587 GB, free: 472 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003029/0.5633, allocations: 159.6 kB / 0.5872 GB, free: 312 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001591/0.5635, allocations: 79.73 kB / 0.5873 GB, free: 232 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.442e-05/0.5635, allocations: 8 kB / 0.5873 GB, free: 224 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002848/0.5664, allocations: 1.1 MB / 0.5883 GB, free: 15.12 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.5665, allocations: 75.83 kB / 0.5884 GB, free: 15.04 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.699e-05/0.5666, allocations: 57.64 kB / 0.5885 GB, free: 14.98 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001063/0.5676, allocations: 0.5946 MB / 0.5891 GB, free: 14.39 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.5676, allocations: 0 / 0.5891 GB, free: 14.39 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.5676, allocations: 0 / 0.5891 GB, free: 14.39 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.274e-05/0.5677, allocations: 0 / 0.5891 GB, free: 14.39 MB / 430.1 MB 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.0008118/0.5685, allocations: 0.4998 MB / 0.5895 GB, free: 13.85 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.5685, allocations: 8.031 kB / 0.5896 GB, free: 13.84 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001409/0.5699, allocations: 211.5 kB / 0.5898 GB, free: 13.63 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002793/0.5702, allocations: 230.8 kB / 0.59 GB, free: 13.37 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.5703, allocations: 16.38 kB / 0.59 GB, free: 13.35 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.753e-05/0.5703, allocations: 23.95 kB / 0.59 GB, free: 13.33 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005758/0.5709, allocations: 369.6 kB / 0.5904 GB, free: 12.96 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.5709, allocations: 0 / 0.5904 GB, free: 12.96 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.246e-05/0.571, allocations: 13.92 kB / 0.5904 GB, free: 12.95 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.571, allocations: 4 kB / 0.5904 GB, free: 12.94 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005873/0.5716, allocations: 399.7 kB / 0.5908 GB, free: 12.55 MB / 430.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.001787/0.5734, allocations: 0.8047 MB / 0.5915 GB, free: 11.69 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004272/0.5738, allocations: 225 kB / 0.5918 GB, free: 11.45 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001541/0.5754, allocations: 0.7619 MB / 0.5925 GB, free: 10.56 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.899e-05/0.5755, allocations: 42.56 kB / 0.5925 GB, free: 10.51 MB / 430.1 MB Notification: Performance of pre-optimization done (n=29): time 1.573e-06/0.5755, allocations: 3.938 kB / 0.5926 GB, free: 10.51 MB / 430.1 MB Notification: Performance of matching and sorting (n=29): time 0.001215/0.5767, allocations: 357.9 kB / 0.5929 GB, free: 10.15 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/0.5768, allocations: 85.05 kB / 0.593 GB, free: 10.05 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.512e-05/0.5769, allocations: 113.8 kB / 0.5931 GB, free: 9.93 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.456e-05/0.5769, allocations: 29.7 kB / 0.5931 GB, free: 9.895 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.155e-05/0.577, allocations: 116.3 kB / 0.5932 GB, free: 9.777 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.095e-05/0.5771, allocations: 102.5 kB / 0.5933 GB, free: 9.676 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.875e-05/0.5771, allocations: 8 kB / 0.5933 GB, free: 9.668 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.5772, allocations: 330.7 kB / 0.5936 GB, free: 9.336 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001809/0.5774, allocations: 96.61 kB / 0.5937 GB, free: 9.242 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002281/0.5776, allocations: 179.5 kB / 0.5939 GB, free: 9.031 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002435/0.5779, allocations: 115.9 kB / 0.594 GB, free: 8.918 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.5779, allocations: 0 / 0.594 GB, free: 8.918 MB / 430.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005889/0.5785, allocations: 337.9 kB / 0.5943 GB, free: 8.582 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.5785, allocations: 8 kB / 0.5943 GB, free: 8.574 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/0.5786, allocations: 4 kB / 0.5943 GB, free: 8.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.628e-05/0.5786, allocations: 4 kB / 0.5944 GB, free: 8.566 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003477/0.5789, allocations: 75.89 kB / 0.5944 GB, free: 8.492 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.542e-05/0.579, allocations: 7.938 kB / 0.5944 GB, free: 8.484 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002492/0.5792, allocations: 32 kB / 0.5945 GB, free: 8.453 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.016e-05/0.5793, allocations: 23.98 kB / 0.5945 GB, free: 8.43 MB / 430.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 (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.0001668/0.5795, allocations: 138.3 kB / 0.5946 GB, free: 8.285 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.202e-05/0.5796, allocations: 11.91 kB / 0.5946 GB, free: 8.273 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006636/0.5802, allocations: 335.7 kB / 0.5949 GB, free: 7.945 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.5802, allocations: 3.984 kB / 0.595 GB, free: 7.941 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.5803, allocations: 4 kB / 0.595 GB, free: 7.938 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.5803, allocations: 4.562 kB / 0.595 GB, free: 7.934 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005711/0.5808, allocations: 327 kB / 0.5953 GB, free: 7.562 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.5809, allocations: 0 / 0.5953 GB, free: 7.562 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003308/0.5812, allocations: 60.78 kB / 0.5953 GB, free: 7.504 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.5812, allocations: 3.938 kB / 0.5953 GB, free: 7.5 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.194e-05/0.5812, allocations: 11.98 kB / 0.5953 GB, free: 7.488 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.608e-06/0.5813, allocations: 4 kB / 0.5954 GB, free: 7.484 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.5813, allocations: 0 / 0.5954 GB, free: 7.484 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00084/0.5821, allocations: 0.5132 MB / 0.5959 GB, free: 6.949 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.104e-05/0.5822, allocations: 88.95 kB / 0.5959 GB, free: 6.844 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.382e-05/0.5823, allocations: 12.19 kB / 0.5959 GB, free: 6.832 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003191/0.5826, allocations: 19.89 kB / 0.596 GB, free: 6.812 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.317e-05/0.5827, allocations: 23.91 kB / 0.596 GB, free: 6.789 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.579e-05/0.5827, allocations: 19.92 kB / 0.596 GB, free: 6.77 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.616e-05/0.5828, allocations: 87.28 kB / 0.5961 GB, free: 6.684 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5828, allocations: 4 kB / 0.5961 GB, free: 6.68 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009364/0.5837, allocations: 227.7 kB / 0.5963 GB, free: 6.457 MB / 430.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 (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.0009094/0.5846, allocations: 350.9 kB / 0.5966 GB, free: 6.105 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005002/0.5851, allocations: 264.2 kB / 0.5969 GB, free: 5.848 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.5852, allocations: 8.062 kB / 0.5969 GB, free: 5.84 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002009/0.5854, allocations: 123.8 kB / 0.597 GB, free: 5.719 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005738/0.5859, allocations: 78.22 kB / 0.5971 GB, free: 5.645 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001351/0.5873, allocations: 0.8873 MB / 0.598 GB, free: 4.723 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003022/0.5876, allocations: 0.7365 MB / 0.5987 GB, free: 3.957 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003634/0.588, allocations: 73.83 kB / 0.5988 GB, free: 3.887 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.5881, allocations: 35.42 kB / 0.5988 GB, free: 3.852 MB / 430.1 MB Notification: Performance of SimCode: time 5.21e-07/0.5881, allocations: 0 / 0.5988 GB, free: 3.852 MB / 430.1 MB Notification: Performance of Templates: time 0.01318/0.6013, allocations: 7.811 MB / 0.6064 GB, free: 12.09 MB / 446.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches