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.001268/0.001268, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001163/0.001163, allocations: 197.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2434/0.2434, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 75.88 kB / 481.3 MB, free: 4.086 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4813/0.4828, allocations: 62.44 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.2082/0.6911, allocations: 152.8 MB / 0.6802 GB, free: 8.391 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004524/0.6956, allocations: 3.247 MB / 0.6834 GB, free: 5.133 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001822/0.6959, allocations: 0 / 0.6834 GB, free: 5.133 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.00047/0.6964, allocations: 59.64 kB / 0.6834 GB, free: 5.074 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003427/0.6998, allocations: 1.089 MB / 0.6845 GB, free: 3.984 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006065/0.7005, allocations: 198 kB / 0.6847 GB, free: 3.793 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0005798/0.7011, allocations: 354.7 kB / 0.685 GB, free: 3.445 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.453e-05/0.7011, allocations: 13.11 kB / 0.685 GB, free: 3.434 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004008/0.7015, allocations: 167.4 kB / 0.6852 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002774/0.7018, allocations: 115.6 kB / 0.6853 GB, free: 3.156 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.278e-05/0.7019, allocations: 12 kB / 0.6853 GB, free: 3.145 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003269/0.7052, allocations: 1.523 MB / 0.6868 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001374/0.7053, allocations: 83.77 kB / 0.6869 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001722/0.7055, allocations: 111.6 kB / 0.687 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002311/0.7078, allocations: 1.015 MB / 0.688 GB, free: 420 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.7078, allocations: 4 kB / 0.688 GB, free: 416 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.172e-06/0.7078, allocations: 0 / 0.688 GB, free: 416 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.188e-06/0.7079, allocations: 0 / 0.688 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.001342/0.7092, allocations: 0.5462 MB / 0.6885 GB, free: 15.81 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/0.7093, allocations: 12.03 kB / 0.6885 GB, free: 15.8 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001598/0.7109, allocations: 208.5 kB / 0.6887 GB, free: 15.6 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003907/0.7113, allocations: 263.7 kB / 0.689 GB, free: 15.3 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.052e-05/0.7113, allocations: 12.38 kB / 0.689 GB, free: 15.29 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.84e-05/0.7114, allocations: 20 kB / 0.689 GB, free: 15.27 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006514/0.712, allocations: 384.1 kB / 0.6894 GB, free: 14.89 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.7121, allocations: 0 / 0.6894 GB, free: 14.89 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.072e-05/0.7121, allocations: 8 kB / 0.6894 GB, free: 14.88 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.616e-05/0.7122, allocations: 15.94 kB / 0.6894 GB, free: 14.86 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006236/0.7128, allocations: 428.4 kB / 0.6898 GB, free: 14.45 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.001839/0.7146, allocations: 0.8183 MB / 0.6906 GB, free: 13.57 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004022/0.715, allocations: 225 kB / 0.6908 GB, free: 13.34 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001834/0.7152, allocations: 129.7 kB / 0.6909 GB, free: 13.2 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001826/0.7171, allocations: 0.9684 MB / 0.6919 GB, free: 12.07 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.696e-05/0.7171, allocations: 42.81 kB / 0.6919 GB, free: 12.02 MB / 0.545 GB Notification: Performance of pre-optimization done (n=31): time 1.883e-06/0.7171, allocations: 0 / 0.6919 GB, free: 12.02 MB / 0.545 GB Notification: Performance of matching and sorting (n=31): time 0.00146/0.7186, allocations: 384.1 kB / 0.6923 GB, free: 11.64 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.928e-05/0.7187, allocations: 81.11 kB / 0.6924 GB, free: 11.54 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001395/0.7189, allocations: 105.8 kB / 0.6925 GB, free: 11.43 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.373e-05/0.7189, allocations: 33.7 kB / 0.6925 GB, free: 11.39 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.7191, allocations: 128.3 kB / 0.6926 GB, free: 11.26 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000124/0.7192, allocations: 106.4 kB / 0.6927 GB, free: 11.15 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000137/0.7193, allocations: 66.02 kB / 0.6928 GB, free: 11.08 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.7195, allocations: 330.8 kB / 0.6931 GB, free: 10.75 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002125/0.7197, allocations: 104 kB / 0.6932 GB, free: 10.65 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002519/0.72, allocations: 186.9 kB / 0.6934 GB, free: 10.43 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005557/0.7205, allocations: 319.5 kB / 0.6937 GB, free: 10.09 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.7206, allocations: 3.938 kB / 0.6937 GB, free: 10.08 MB / 0.545 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007755/0.7213, allocations: 357.1 kB / 0.694 GB, free: 9.727 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.177e-05/0.7214, allocations: 4 kB / 0.694 GB, free: 9.723 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/0.7214, allocations: 4 kB / 0.694 GB, free: 9.719 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.631e-05/0.7214, allocations: 4 kB / 0.694 GB, free: 9.715 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003549/0.7218, allocations: 71.89 kB / 0.6941 GB, free: 9.645 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.731e-05/0.7218, allocations: 4.625 kB / 0.6941 GB, free: 9.641 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002566/0.7221, allocations: 35.69 kB / 0.6941 GB, free: 9.605 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.305e-05/0.7222, allocations: 19.98 kB / 0.6942 GB, free: 9.586 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.0002522/0.7224, allocations: 149.6 kB / 0.6943 GB, free: 9.43 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001444/0.7226, allocations: 15.91 kB / 0.6943 GB, free: 9.414 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007888/0.7234, allocations: 340.8 kB / 0.6946 GB, free: 9.074 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.895e-05/0.7234, allocations: 7.984 kB / 0.6946 GB, free: 9.066 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.318e-05/0.7234, allocations: 4 kB / 0.6946 GB, free: 9.062 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.819e-06/0.7234, allocations: 0 / 0.6946 GB, free: 9.062 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007646/0.7242, allocations: 342.9 kB / 0.695 GB, free: 8.676 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/0.7242, allocations: 0 / 0.695 GB, free: 8.676 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003361/0.7246, allocations: 59.91 kB / 0.695 GB, free: 8.617 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.758e-06/0.7246, allocations: 7.984 kB / 0.695 GB, free: 8.609 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.108e-05/0.7246, allocations: 8 kB / 0.695 GB, free: 8.602 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.7246, allocations: 3.938 kB / 0.695 GB, free: 8.598 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/0.7246, allocations: 4 kB / 0.6951 GB, free: 8.594 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000847/0.7255, allocations: 0.518 MB / 0.6956 GB, free: 8.059 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.267e-05/0.7256, allocations: 92.95 kB / 0.6956 GB, free: 7.949 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.282e-05/0.7256, allocations: 8.062 kB / 0.6957 GB, free: 7.941 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003289/0.726, allocations: 11.98 kB / 0.6957 GB, free: 7.93 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.43e-05/0.726, allocations: 27.91 kB / 0.6957 GB, free: 7.902 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.326e-05/0.7261, allocations: 19.98 kB / 0.6957 GB, free: 7.883 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.218e-05/0.7262, allocations: 87.22 kB / 0.6958 GB, free: 7.797 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7262, allocations: 4 kB / 0.6958 GB, free: 7.793 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001067/0.7272, allocations: 231.8 kB / 0.696 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.001399/0.7286, allocations: 446.6 kB / 0.6964 GB, free: 7.121 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005914/0.7292, allocations: 275.9 kB / 0.6967 GB, free: 6.852 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.7293, allocations: 0 / 0.6967 GB, free: 6.852 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002388/0.7295, allocations: 131.8 kB / 0.6968 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.0006903/0.7302, allocations: 92.56 kB / 0.6969 GB, free: 6.633 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.7315, allocations: 0.7418 MB / 0.6976 GB, free: 5.859 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003796/0.7319, allocations: 0.7363 MB / 0.6984 GB, free: 5.098 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003209/0.7323, allocations: 73.78 kB / 0.6984 GB, free: 5.027 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/0.7324, allocations: 35.42 kB / 0.6985 GB, free: 4.992 MB / 0.545 GB Notification: Performance of SimCode: time 1.914e-06/0.7324, allocations: 0 / 0.6985 GB, free: 4.992 MB / 0.545 GB Notification: Performance of Templates: time 0.01508/0.7475, allocations: 8.577 MB / 0.7068 GB, free: 12.46 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches