Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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 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 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_3.2.3_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_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.001005/0.001005, allocations: 102.6 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 183.3 kB / 16.92 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.857/1.857, allocations: 205.4 MB / 223.1 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4243/0.4243, allocations: 43.58 MB / 315 MB, free: 9.078 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005258/0.0005259, allocations: 12.47 kB / 384.6 MB, free: 7.875 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1755/0.176, allocations: 58.88 MB / 443.5 MB, free: 12.9 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.5103/0.6864, allocations: 147 MB / 0.5766 GB, free: 8.523 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004051/0.6905, allocations: 3.08 MB / 0.5797 GB, free: 5.461 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001644/0.6907, allocations: 0 / 0.5797 GB, free: 5.461 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004572/0.6912, allocations: 59.66 kB / 0.5797 GB, free: 5.402 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00278/0.694, allocations: 0.923 MB / 0.5806 GB, free: 4.48 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005682/0.6946, allocations: 188.9 kB / 0.5808 GB, free: 4.301 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005988/0.6952, allocations: 478.5 kB / 0.5813 GB, free: 3.832 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.376e-05/0.6952, allocations: 13.11 kB / 0.5813 GB, free: 3.82 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002586/0.6955, allocations: 131.5 kB / 0.5814 GB, free: 3.691 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002282/0.6957, allocations: 119.6 kB / 0.5815 GB, free: 3.574 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.619e-05/0.6958, allocations: 8 kB / 0.5815 GB, free: 3.566 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003274/0.6991, allocations: 1.725 MB / 0.5832 GB, free: 1.84 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001087/0.6992, allocations: 79.7 kB / 0.5833 GB, free: 1.762 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001331/0.6993, allocations: 125.3 kB / 0.5834 GB, free: 1.633 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00159/0.7009, allocations: 1.103 MB / 0.5845 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.7009, allocations: 0 / 0.5845 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.915e-06/0.7009, allocations: 0 / 0.5845 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.701, allocations: 0 / 0.5845 GB, free: 0.5273 MB / 446.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.0009232/0.7019, allocations: 0.4989 MB / 0.585 GB, free: 15.98 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.7019, allocations: 8.031 kB / 0.585 GB, free: 15.98 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003648/0.7056, allocations: 383.4 kB / 0.5853 GB, free: 15.61 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003542/0.706, allocations: 256.1 kB / 0.5856 GB, free: 15.32 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.706, allocations: 8.938 kB / 0.5856 GB, free: 15.31 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.982e-05/0.7061, allocations: 27.94 kB / 0.5856 GB, free: 15.28 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009644/0.7071, allocations: 0.4883 MB / 0.5861 GB, free: 14.79 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.7071, allocations: 0 / 0.5861 GB, free: 14.79 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.285e-05/0.7072, allocations: 8 kB / 0.5861 GB, free: 14.78 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.7072, allocations: 4 kB / 0.5861 GB, free: 14.77 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009932/0.7082, allocations: 0.5152 MB / 0.5866 GB, free: 14.26 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.002247/0.7104, allocations: 0.9835 MB / 0.5876 GB, free: 13.23 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005786/0.711, allocations: 292.2 kB / 0.5878 GB, free: 12.93 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000284/0.7113, allocations: 158.2 kB / 0.588 GB, free: 12.77 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001826/0.7131, allocations: 0.901 MB / 0.5889 GB, free: 11.73 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.351e-05/0.7132, allocations: 46.48 kB / 0.5889 GB, free: 11.67 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 1.734e-06/0.7132, allocations: 0 / 0.5889 GB, free: 11.67 MB / 462.1 MB Notification: Performance of matching and sorting (n=29): time 0.0009639/0.7142, allocations: 397.9 kB / 0.5893 GB, free: 11.28 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.702e-05/0.7143, allocations: 81.11 kB / 0.5894 GB, free: 11.18 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.7144, allocations: 113.8 kB / 0.5895 GB, free: 11.06 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.315e-05/0.7144, allocations: 29.7 kB / 0.5895 GB, free: 11.02 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.61e-05/0.7145, allocations: 112.3 kB / 0.5896 GB, free: 10.91 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.523e-05/0.7146, allocations: 106.5 kB / 0.5897 GB, free: 10.8 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.546e-05/0.7147, allocations: 33.72 kB / 0.5897 GB, free: 10.76 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.7148, allocations: 322.8 kB / 0.5901 GB, free: 10.44 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000225/0.7151, allocations: 116.6 kB / 0.5902 GB, free: 10.32 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002803/0.7154, allocations: 208.2 kB / 0.5904 GB, free: 10.09 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005565/0.7159, allocations: 338.5 kB / 0.5907 GB, free: 9.723 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.7159, allocations: 0 / 0.5907 GB, free: 9.723 MB / 462.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007045/0.7167, allocations: 387.5 kB / 0.5911 GB, free: 9.34 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.7167, allocations: 4 kB / 0.5911 GB, free: 9.336 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.7167, allocations: 4.312 kB / 0.5911 GB, free: 9.332 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.7167, allocations: 8 kB / 0.5911 GB, free: 9.324 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004073/0.7171, allocations: 76.45 kB / 0.5911 GB, free: 9.25 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.412e-05/0.7172, allocations: 9.719 kB / 0.5912 GB, free: 9.242 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003256/0.7175, allocations: 31.73 kB / 0.5912 GB, free: 9.211 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.434e-05/0.7176, allocations: 20 kB / 0.5912 GB, free: 9.191 MB / 462.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001735/0.7177, allocations: 141.7 kB / 0.5913 GB, free: 9.043 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.207e-05/0.7178, allocations: 23.84 kB / 0.5914 GB, free: 9.02 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007778/0.7186, allocations: 368.3 kB / 0.5917 GB, free: 8.66 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.7186, allocations: 4 kB / 0.5917 GB, free: 8.656 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.7187, allocations: 0 / 0.5917 GB, free: 8.656 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.7187, allocations: 0 / 0.5917 GB, free: 8.656 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005857/0.7193, allocations: 365.5 kB / 0.5921 GB, free: 8.246 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.7193, allocations: 3.938 kB / 0.5921 GB, free: 8.242 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004119/0.7197, allocations: 60.53 kB / 0.5921 GB, free: 8.184 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.7197, allocations: 0 / 0.5921 GB, free: 8.184 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.32e-05/0.7197, allocations: 11.98 kB / 0.5921 GB, free: 8.172 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.7198, allocations: 7.938 kB / 0.5921 GB, free: 8.164 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.7198, allocations: 0.6875 kB / 0.5921 GB, free: 8.164 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008828/0.7206, allocations: 0.5574 MB / 0.5927 GB, free: 7.594 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.538e-05/0.7207, allocations: 88.95 kB / 0.5928 GB, free: 7.488 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.005e-05/0.7208, allocations: 8.062 kB / 0.5928 GB, free: 7.48 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003973/0.7212, allocations: 25.44 kB / 0.5928 GB, free: 7.457 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.807e-05/0.7212, allocations: 23.98 kB / 0.5928 GB, free: 7.434 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.738e-05/0.7213, allocations: 15.98 kB / 0.5928 GB, free: 7.418 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.22e-05/0.7213, allocations: 92.05 kB / 0.5929 GB, free: 7.328 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7213, allocations: 0 / 0.5929 GB, free: 7.328 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009304/0.7223, allocations: 231.8 kB / 0.5932 GB, free: 7.102 MB / 462.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 (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.001058/0.7233, allocations: 434.6 kB / 0.5936 GB, free: 6.668 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005968/0.7239, allocations: 308 kB / 0.5939 GB, free: 6.371 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.7239, allocations: 0 / 0.5939 GB, free: 6.371 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002513/0.7242, allocations: 151.5 kB / 0.594 GB, free: 6.227 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006651/0.7249, allocations: 84.98 kB / 0.5941 GB, free: 6.145 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001279/0.7262, allocations: 0.9146 MB / 0.595 GB, free: 5.211 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002949/0.7265, allocations: 0.7326 MB / 0.5957 GB, free: 4.453 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004716/0.727, allocations: 87.31 kB / 0.5958 GB, free: 4.375 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001216/0.7271, allocations: 35.42 kB / 0.5958 GB, free: 4.344 MB / 462.1 MB Notification: Performance of SimCode: time 3.4e-07/0.7271, allocations: 4 kB / 0.5958 GB, free: 4.34 MB / 462.1 MB Notification: Performance of Templates: time 0.01351/0.7406, allocations: 8.131 MB / 0.6038 GB, free: 12.24 MB / 478.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins/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_ModelicaTest.Media.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches