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.001254/0.001254, allocations: 115.7 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001392/0.001393, allocations: 217.9 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.408/1.408, 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.245/0.245, allocations: 46.1 MB / 344.9 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001568/0.001568, allocations: 75.88 kB / 482 MB, free: 4.113 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3836/0.3852, allocations: 62.43 MB / 0.5316 GB, free: 13.83 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.184/0.5693, allocations: 152.8 MB / 0.6808 GB, free: 8.543 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004336/0.5736, allocations: 3.255 MB / 0.684 GB, free: 5.277 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000165/0.5738, allocations: 0 / 0.684 GB, free: 5.277 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004129/0.5742, allocations: 59.64 kB / 0.6841 GB, free: 5.219 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002936/0.5772, allocations: 1.073 MB / 0.6851 GB, free: 4.145 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005592/0.5778, allocations: 198.9 kB / 0.6853 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004968/0.5783, allocations: 362.6 kB / 0.6857 GB, free: 3.598 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.866e-05/0.5784, allocations: 17.11 kB / 0.6857 GB, free: 3.582 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003567/0.5788, allocations: 155.5 kB / 0.6858 GB, free: 3.43 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002685/0.579, allocations: 119.6 kB / 0.6859 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.697e-05/0.5791, allocations: 12 kB / 0.686 GB, free: 3.301 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00305/0.5822, allocations: 1.52 MB / 0.6874 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001167/0.5823, allocations: 79.83 kB / 0.6875 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001507/0.5824, allocations: 107.5 kB / 0.6876 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001886/0.5843, allocations: 1.027 MB / 0.6886 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.5844, allocations: 0 / 0.6886 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.154e-06/0.5844, allocations: 3.938 kB / 0.6886 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.128e-05/0.5844, allocations: 4 kB / 0.6886 GB, free: 0.5586 MB / 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.001088/0.5855, allocations: 0.5384 MB / 0.6892 GB, free: 15.97 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.5855, allocations: 8.031 kB / 0.6892 GB, free: 15.96 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001569/0.5871, allocations: 212.5 kB / 0.6894 GB, free: 15.76 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003595/0.5875, allocations: 251.8 kB / 0.6896 GB, free: 15.47 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.5875, allocations: 16.38 kB / 0.6896 GB, free: 15.46 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.818e-05/0.5876, allocations: 23.92 kB / 0.6896 GB, free: 15.43 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006173/0.5882, allocations: 392 kB / 0.69 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.5882, allocations: 0 / 0.69 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.704e-05/0.5883, allocations: 16 kB / 0.69 GB, free: 15.03 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.305e-05/0.5883, allocations: 7.984 kB / 0.69 GB, free: 15.02 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005672/0.5889, allocations: 416.4 kB / 0.6904 GB, free: 14.61 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.00175/0.5906, allocations: 0.8261 MB / 0.6912 GB, free: 13.73 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000391/0.591, allocations: 229 kB / 0.6915 GB, free: 13.49 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002039/0.5912, allocations: 121.7 kB / 0.6916 GB, free: 13.37 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00183/0.5931, allocations: 0.9762 MB / 0.6925 GB, free: 12.22 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/0.5931, allocations: 38.55 kB / 0.6926 GB, free: 12.18 MB / 0.545 GB Notification: Performance of pre-optimization done (n=31): time 4.348e-06/0.5931, allocations: 4 kB / 0.6926 GB, free: 12.17 MB / 0.545 GB Notification: Performance of matching and sorting (n=31): time 0.001249/0.5944, allocations: 383.4 kB / 0.6929 GB, free: 11.8 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.763e-05/0.5945, allocations: 85.05 kB / 0.693 GB, free: 11.7 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.455e-05/0.5946, allocations: 113.8 kB / 0.6931 GB, free: 11.57 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.415e-05/0.5946, allocations: 33.7 kB / 0.6932 GB, free: 11.54 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.231e-05/0.5947, allocations: 116.3 kB / 0.6933 GB, free: 11.42 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.895e-05/0.5948, allocations: 114.4 kB / 0.6934 GB, free: 11.3 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/0.5949, allocations: 66 kB / 0.6934 GB, free: 11.23 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.595, allocations: 330.8 kB / 0.6938 GB, free: 10.9 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002154/0.5952, allocations: 100.1 kB / 0.6938 GB, free: 10.8 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002714/0.5955, allocations: 190.9 kB / 0.694 GB, free: 10.58 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004994/0.596, allocations: 314 kB / 0.6943 GB, free: 10.24 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.596, allocations: 4 kB / 0.6943 GB, free: 10.23 MB / 0.545 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006563/0.5967, allocations: 355.5 kB / 0.6947 GB, free: 9.883 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.5967, allocations: 7.938 kB / 0.6947 GB, free: 9.875 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.5967, allocations: 4 kB / 0.6947 GB, free: 9.871 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/0.5968, allocations: 4 kB / 0.6947 GB, free: 9.867 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003416/0.5971, allocations: 68.22 kB / 0.6948 GB, free: 9.801 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.852e-05/0.5971, allocations: 15.92 kB / 0.6948 GB, free: 9.785 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002355/0.5974, allocations: 31.62 kB / 0.6948 GB, free: 9.754 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.267e-05/0.5974, allocations: 20 kB / 0.6948 GB, free: 9.734 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.0001554/0.5976, allocations: 145.7 kB / 0.695 GB, free: 9.582 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/0.5977, allocations: 11.91 kB / 0.695 GB, free: 9.57 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006691/0.5984, allocations: 325.3 kB / 0.6953 GB, free: 9.246 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.265e-05/0.5984, allocations: 4 kB / 0.6953 GB, free: 9.242 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.5984, allocations: 7.922 kB / 0.6953 GB, free: 9.234 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.5984, allocations: 0 / 0.6953 GB, free: 9.234 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005704/0.599, allocations: 354.9 kB / 0.6956 GB, free: 8.836 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.599, allocations: 4 kB / 0.6956 GB, free: 8.832 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003547/0.5994, allocations: 59.91 kB / 0.6957 GB, free: 8.773 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.5994, allocations: 0 / 0.6957 GB, free: 8.773 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.123e-05/0.5994, allocations: 11.98 kB / 0.6957 GB, free: 8.762 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.349e-06/0.5994, allocations: 4 kB / 0.6957 GB, free: 8.758 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.5995, allocations: 0 / 0.6957 GB, free: 8.758 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008384/0.6003, allocations: 0.5283 MB / 0.6962 GB, free: 8.215 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.872e-05/0.6004, allocations: 92.95 kB / 0.6963 GB, free: 8.105 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.916e-05/0.6004, allocations: 8.047 kB / 0.6963 GB, free: 8.098 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003291/0.6007, allocations: 12 kB / 0.6963 GB, free: 8.086 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.572e-05/0.6008, allocations: 19.97 kB / 0.6963 GB, free: 8.066 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.762e-05/0.6008, allocations: 19.98 kB / 0.6964 GB, free: 8.047 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.131e-05/0.6009, allocations: 95.5 kB / 0.6965 GB, free: 7.953 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6009, allocations: 0 / 0.6965 GB, free: 7.953 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008606/0.6018, allocations: 235.8 kB / 0.6967 GB, free: 7.723 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.00121/0.603, allocations: 446.5 kB / 0.6971 GB, free: 7.277 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005534/0.6036, allocations: 271.8 kB / 0.6974 GB, free: 7.012 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.6036, allocations: 4 kB / 0.6974 GB, free: 7.008 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002177/0.6038, allocations: 131.8 kB / 0.6975 GB, free: 6.879 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006894/0.6045, allocations: 88.83 kB / 0.6976 GB, free: 6.793 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/0.6057, allocations: 0.763 MB / 0.6983 GB, free: 5.992 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003101/0.606, allocations: 0.7363 MB / 0.699 GB, free: 5.23 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001463/0.6062, allocations: 35.42 kB / 0.6991 GB, free: 5.195 MB / 0.545 GB Notification: Performance of SimCode: time 2.81e-07/0.6062, allocations: 0 / 0.6991 GB, free: 5.195 MB / 0.545 GB Notification: Performance of Templates: time 0.01091/0.6171, allocations: 6.523 MB / 0.7054 GB, free: 14.68 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