Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001566/0.001566, allocations: 181.6 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.014/2.014, allocations: 205.2 MB / 219.4 MB, free: 14.29 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001118/0.001118, allocations: 86.64 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2735/0.2735, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.701e-05/3.712e-05, allocations: 11.98 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1237, allocations: 58.84 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.34/2.464, allocations: 0.7388 GB / 1.212 GB, free: 94.34 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002687/2.464, allocations: 75.88 kB / 1.212 GB, free: 94.3 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.138/2.602, allocations: 39.67 MB / 1.25 GB, free: 60.32 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.392e-06/2.602, allocations: 0 / 1.25 GB, free: 60.32 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.408e-05/2.602, allocations: 8 kB / 1.25 GB, free: 60.31 MB / 0.5105 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.0008838/2.603, allocations: 0.4976 MB / 1.251 GB, free: 59.78 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/2.603, allocations: 8.031 kB / 1.251 GB, free: 59.77 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004942/2.608, allocations: 367.3 kB / 1.251 GB, free: 59.45 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004045/2.609, allocations: 250.9 kB / 1.252 GB, free: 59.2 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/2.609, allocations: 19.56 kB / 1.252 GB, free: 59.19 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001265/2.609, allocations: 23.08 kB / 1.252 GB, free: 59.17 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/2.61, allocations: 463 kB / 1.252 GB, free: 58.85 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/2.61, allocations: 0 / 1.252 GB, free: 58.85 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001078/2.61, allocations: 7 kB / 1.252 GB, free: 58.85 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/2.61, allocations: 4 kB / 1.252 GB, free: 58.84 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001197/2.611, allocations: 489.3 kB / 1.252 GB, free: 58.53 MB / 0.5105 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.002981/2.614, allocations: 1.003 MB / 1.253 GB, free: 57.66 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006591/2.615, allocations: 279.1 kB / 1.254 GB, free: 57.46 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000307/2.615, allocations: 134.5 kB / 1.254 GB, free: 57.37 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001581/2.617, allocations: 0.656 MB / 1.254 GB, free: 56.62 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/2.617, allocations: 37.75 kB / 1.255 GB, free: 56.58 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=29): time 2.364e-06/2.617, allocations: 0 / 1.255 GB, free: 56.58 MB / 0.5105 GB Notification: Performance of matching and sorting (n=29): time 0.0008296/2.618, allocations: 276.7 kB / 1.255 GB, free: 56.38 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.121e-05/2.618, allocations: 81.11 kB / 1.255 GB, free: 56.28 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.321e-05/2.618, allocations: 104.7 kB / 1.255 GB, free: 56.17 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.577e-05/2.618, allocations: 34.27 kB / 1.255 GB, free: 56.14 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.552e-05/2.618, allocations: 187.3 kB / 1.255 GB, free: 55.95 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.95e-05/2.618, allocations: 105.1 kB / 1.255 GB, free: 55.86 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.085e-05/2.618, allocations: 4.625 kB / 1.255 GB, free: 55.86 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.547e-05/2.618, allocations: 324.2 kB / 1.256 GB, free: 55.54 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002784/2.619, allocations: 104.2 kB / 1.256 GB, free: 55.48 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003264/2.619, allocations: 201.8 kB / 1.256 GB, free: 55.29 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003257/2.619, allocations: 121.9 kB / 1.256 GB, free: 55.21 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.319e-06/2.619, allocations: 4 kB / 1.256 GB, free: 55.21 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008737/2.62, allocations: 353.2 kB / 1.256 GB, free: 54.89 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/2.62, allocations: 4.312 kB / 1.256 GB, free: 54.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/2.62, allocations: 8 kB / 1.256 GB, free: 54.88 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/2.62, allocations: 11.94 kB / 1.256 GB, free: 54.87 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006714/2.621, allocations: 75.83 kB / 1.256 GB, free: 54.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.364e-05/2.621, allocations: 11.94 kB / 1.256 GB, free: 54.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004532/2.621, allocations: 35.69 kB / 1.256 GB, free: 54.75 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.423e-05/2.621, allocations: 19.98 kB / 1.257 GB, free: 54.73 MB / 0.5105 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.0001444/2.622, allocations: 123.5 kB / 1.257 GB, free: 54.6 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001387/2.622, allocations: 15.91 kB / 1.257 GB, free: 54.59 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001032/2.623, allocations: 358.1 kB / 1.257 GB, free: 54.23 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-06/2.623, allocations: 4 kB / 1.257 GB, free: 54.22 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/2.623, allocations: 0 / 1.257 GB, free: 54.22 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.916e-06/2.623, allocations: 11.94 kB / 1.257 GB, free: 54.21 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008133/2.624, allocations: 356.8 kB / 1.257 GB, free: 53.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/2.624, allocations: 4 kB / 1.257 GB, free: 53.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006735/2.624, allocations: 63.89 kB / 1.257 GB, free: 53.74 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/2.624, allocations: 4 kB / 1.257 GB, free: 53.74 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.397e-05/2.624, allocations: 11.98 kB / 1.257 GB, free: 53.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/2.624, allocations: 0 / 1.257 GB, free: 53.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/2.624, allocations: 0 / 1.257 GB, free: 53.73 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009499/2.625, allocations: 0.5406 MB / 1.258 GB, free: 53.16 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.228e-05/2.625, allocations: 96.95 kB / 1.258 GB, free: 53.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.446e-05/2.626, allocations: 4.062 kB / 1.258 GB, free: 53.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005624/2.626, allocations: 19.89 kB / 1.258 GB, free: 53.03 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.745e-05/2.626, allocations: 23.92 kB / 1.258 GB, free: 53 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.008e-05/2.626, allocations: 19.98 kB / 1.258 GB, free: 52.98 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.386e-05/2.626, allocations: 87.58 kB / 1.258 GB, free: 52.9 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.91e-07/2.626, allocations: 0 / 1.258 GB, free: 52.9 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00116/2.627, allocations: 263.8 kB / 1.258 GB, free: 52.64 MB / 0.5105 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.001711/2.629, allocations: 0.7446 MB / 1.259 GB, free: 51.89 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006603/2.63, allocations: 294.6 kB / 1.259 GB, free: 51.61 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/2.63, allocations: 4.188 kB / 1.259 GB, free: 51.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003052/2.63, allocations: 143.8 kB / 1.26 GB, free: 51.46 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008407/2.631, allocations: 80.44 kB / 1.26 GB, free: 51.39 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/2.632, allocations: 0.6305 MB / 1.26 GB, free: 50.72 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002009/2.633, allocations: 0.7365 MB / 1.261 GB, free: 49.96 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000273/2.633, allocations: 43.41 kB / 1.261 GB, free: 49.92 MB / 0.5105 GB Notification: Performance of SimCode: time 6.41e-07/2.633, allocations: 3.938 kB / 1.261 GB, free: 49.91 MB / 0.5105 GB Notification: Performance of Templates: time 0.0172/2.65, allocations: 9.116 MB / 1.27 GB, free: 40.79 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches