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.001726/0.001726, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00218/0.00218, allocations: 204.8 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.516/1.516, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2414/0.2414, allocations: 46.09 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 71.88 kB / 482 MB, free: 4.094 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4279/0.4293, allocations: 62.43 MB / 0.5316 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.2047/0.6341, allocations: 152.8 MB / 0.6808 GB, free: 8.387 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004022/0.6381, allocations: 3.243 MB / 0.684 GB, free: 5.137 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001151/0.6383, allocations: 8 kB / 0.684 GB, free: 5.129 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003999/0.6387, allocations: 63.64 kB / 0.6841 GB, free: 5.066 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002947/0.6417, allocations: 1.077 MB / 0.6851 GB, free: 3.988 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005955/0.6423, allocations: 211.2 kB / 0.6853 GB, free: 3.785 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004963/0.6428, allocations: 354.7 kB / 0.6857 GB, free: 3.438 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.208e-05/0.6429, allocations: 9.125 kB / 0.6857 GB, free: 3.43 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002996/0.6432, allocations: 171.4 kB / 0.6858 GB, free: 3.262 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001896/0.6434, allocations: 107.6 kB / 0.6859 GB, free: 3.156 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.652e-05/0.6434, allocations: 20 kB / 0.686 GB, free: 3.137 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003008/0.6464, allocations: 1.527 MB / 0.6875 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001197/0.6466, allocations: 75.83 kB / 0.6875 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001598/0.6467, allocations: 111.5 kB / 0.6876 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001744/0.6485, allocations: 1.011 MB / 0.6886 GB, free: 420 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.6485, allocations: 0 / 0.6886 GB, free: 420 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6485, allocations: 0 / 0.6886 GB, free: 420 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.511e-05/0.6486, allocations: 4 kB / 0.6886 GB, free: 416 kB / 0.5294 GB 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.0009578/0.6495, allocations: 0.5578 MB / 0.6892 GB, free: 15.8 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.992e-05/0.6496, allocations: 8.031 kB / 0.6892 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001468/0.651, allocations: 204.5 kB / 0.6894 GB, free: 15.59 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003313/0.6514, allocations: 255.8 kB / 0.6896 GB, free: 15.3 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.6514, allocations: 16.38 kB / 0.6896 GB, free: 15.29 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.672e-05/0.6515, allocations: 16 kB / 0.6897 GB, free: 15.27 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006127/0.6521, allocations: 384.1 kB / 0.69 GB, free: 14.89 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.6521, allocations: 3.938 kB / 0.69 GB, free: 14.89 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.081e-05/0.6522, allocations: 15.94 kB / 0.69 GB, free: 14.87 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.182e-05/0.6522, allocations: 4 kB / 0.69 GB, free: 14.87 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006157/0.6528, allocations: 416.4 kB / 0.6904 GB, free: 14.46 MB / 0.545 GB 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.001726/0.6546, allocations: 0.8299 MB / 0.6912 GB, free: 13.58 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004051/0.655, allocations: 237 kB / 0.6915 GB, free: 13.33 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001795/0.6552, allocations: 125.7 kB / 0.6916 GB, free: 13.2 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001827/0.657, allocations: 0.9725 MB / 0.6925 GB, free: 12.06 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.234e-05/0.6571, allocations: 38.56 kB / 0.6926 GB, free: 12.01 MB / 0.545 GB Notification: Performance of pre-optimization done (n=31): time 2.745e-06/0.6571, allocations: 0 / 0.6926 GB, free: 12.01 MB / 0.545 GB Notification: Performance of matching and sorting (n=31): time 0.001202/0.6583, allocations: 381 kB / 0.6929 GB, free: 11.64 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.099e-05/0.6583, allocations: 85.09 kB / 0.693 GB, free: 11.54 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.6585, allocations: 114.1 kB / 0.6931 GB, free: 11.41 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.841e-05/0.6585, allocations: 33.64 kB / 0.6932 GB, free: 11.38 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.179e-05/0.6586, allocations: 116.3 kB / 0.6933 GB, free: 11.26 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.21e-05/0.6587, allocations: 114.4 kB / 0.6934 GB, free: 11.14 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001206/0.6588, allocations: 66.02 kB / 0.6934 GB, free: 11.07 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.6589, allocations: 330.8 kB / 0.6938 GB, free: 10.74 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002012/0.6592, allocations: 104 kB / 0.6939 GB, free: 10.64 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003476/0.6595, allocations: 186.9 kB / 0.694 GB, free: 10.42 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000541/0.6601, allocations: 312 kB / 0.6943 GB, free: 10.08 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.6601, allocations: 4 kB / 0.6943 GB, free: 10.08 MB / 0.545 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006775/0.6608, allocations: 357.1 kB / 0.6947 GB, free: 9.723 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.6608, allocations: 6.5 kB / 0.6947 GB, free: 9.719 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.6608, allocations: 4 kB / 0.6947 GB, free: 9.715 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.6608, allocations: 7.938 kB / 0.6947 GB, free: 9.707 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003316/0.6612, allocations: 75.89 kB / 0.6948 GB, free: 9.633 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.55e-05/0.6612, allocations: 8.062 kB / 0.6948 GB, free: 9.625 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002123/0.6614, allocations: 27.69 kB / 0.6948 GB, free: 9.598 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.756e-05/0.6615, allocations: 20.31 kB / 0.6948 GB, free: 9.578 MB / 0.545 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 () * 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.0001488/0.6616, allocations: 149.6 kB / 0.695 GB, free: 9.422 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.6617, allocations: 15.91 kB / 0.695 GB, free: 9.406 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000674/0.6624, allocations: 333.4 kB / 0.6953 GB, free: 9.074 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.348e-05/0.6624, allocations: 8 kB / 0.6953 GB, free: 9.066 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.6624, allocations: 0 / 0.6953 GB, free: 9.066 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.6625, allocations: 0 / 0.6953 GB, free: 9.066 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008293/0.6633, allocations: 346.9 kB / 0.6956 GB, free: 8.676 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.6633, allocations: 0 / 0.6956 GB, free: 8.676 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003245/0.6636, allocations: 59.91 kB / 0.6957 GB, free: 8.617 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.88e-06/0.6637, allocations: 4 kB / 0.6957 GB, free: 8.613 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.667e-05/0.6637, allocations: 11.98 kB / 0.6957 GB, free: 8.602 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.932e-06/0.6637, allocations: 4 kB / 0.6957 GB, free: 8.598 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.6637, allocations: 0 / 0.6957 GB, free: 8.598 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009125/0.6646, allocations: 0.5141 MB / 0.6962 GB, free: 8.066 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.735e-05/0.6647, allocations: 92.94 kB / 0.6963 GB, free: 7.957 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.688e-05/0.6648, allocations: 12.05 kB / 0.6963 GB, free: 7.945 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003051/0.6651, allocations: 19.98 kB / 0.6963 GB, free: 7.926 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.118e-05/0.6651, allocations: 19.92 kB / 0.6964 GB, free: 7.906 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.899e-05/0.6652, allocations: 15.98 kB / 0.6964 GB, free: 7.891 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.127e-05/0.6652, allocations: 99.14 kB / 0.6965 GB, free: 7.793 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6652, allocations: 0 / 0.6965 GB, free: 7.793 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009832/0.6662, allocations: 231.8 kB / 0.6967 GB, free: 7.566 MB / 0.545 GB 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.001336/0.6676, allocations: 442.6 kB / 0.6971 GB, free: 7.125 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005704/0.6681, allocations: 268.2 kB / 0.6974 GB, free: 6.863 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.6682, allocations: 4.125 kB / 0.6974 GB, free: 6.859 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002333/0.6684, allocations: 142 kB / 0.6975 GB, free: 6.723 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006885/0.6691, allocations: 92.19 kB / 0.6976 GB, free: 6.633 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001361/0.6705, allocations: 0.7747 MB / 0.6984 GB, free: 5.82 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003334/0.6708, allocations: 0.7285 MB / 0.6991 GB, free: 5.066 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000147/0.671, allocations: 43.42 kB / 0.6991 GB, free: 5.023 MB / 0.545 GB Notification: Performance of SimCode: time 5.51e-07/0.671, allocations: 4 kB / 0.6991 GB, free: 5.02 MB / 0.545 GB Notification: Performance of Templates: time 0.01148/0.6825, allocations: 6.511 MB / 0.7055 GB, free: 14.52 MB / 0.5606 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/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