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.001187/0.001187, allocations: 97.45 kB / 15.98 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 194.5 kB / 16.91 MB, free: 6.191 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.667/1.667, allocations: 205.1 MB / 222.8 MB, free: 4.711 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.4265/0.4265, allocations: 43.49 MB / 313.6 MB, free: 8.543 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.001469/0.001469, allocations: 71.91 kB / 382.2 MB, free: 8.625 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1586, allocations: 57.78 MB / 440 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.5396/0.6983, allocations: 149.1 MB / 0.5753 GB, free: 7.047 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003735/0.7021, allocations: 3.031 MB / 0.5782 GB, free: 4.027 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001359/0.7022, allocations: 0 / 0.5782 GB, free: 4.027 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004134/0.7027, allocations: 59.7 kB / 0.5783 GB, free: 3.969 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002807/0.7056, allocations: 0.9346 MB / 0.5792 GB, free: 3.035 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005685/0.7062, allocations: 191.1 kB / 0.5794 GB, free: 2.852 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004875/0.7067, allocations: 350.7 kB / 0.5797 GB, free: 2.508 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.342e-05/0.7068, allocations: 13.12 kB / 0.5797 GB, free: 2.496 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002746/0.707, allocations: 151.5 kB / 0.5799 GB, free: 2.348 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002121/0.7073, allocations: 115.6 kB / 0.58 GB, free: 2.234 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.069e-05/0.7073, allocations: 12 kB / 0.58 GB, free: 2.223 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00346/0.7108, allocations: 1.584 MB / 0.5815 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000111/0.7109, allocations: 75.77 kB / 0.5816 GB, free: 0.5664 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001293/0.711, allocations: 111.6 kB / 0.5817 GB, free: 468 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001897/0.7129, allocations: 1.064 MB / 0.5828 GB, free: 15.39 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.8e-06/0.713, allocations: 0 / 0.5828 GB, free: 15.39 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.713, allocations: 0 / 0.5828 GB, free: 15.39 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.713, allocations: 0 / 0.5828 GB, free: 15.39 MB / 462.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.0009866/0.714, allocations: 0.5457 MB / 0.5833 GB, free: 14.8 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.579e-05/0.7141, allocations: 8.031 kB / 0.5833 GB, free: 14.79 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003606/0.7177, allocations: 390.7 kB / 0.5837 GB, free: 14.41 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004119/0.7181, allocations: 260.1 kB / 0.5839 GB, free: 14.12 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.7181, allocations: 8.938 kB / 0.5839 GB, free: 14.11 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.77e-05/0.7182, allocations: 27.94 kB / 0.584 GB, free: 14.09 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/0.7193, allocations: 488.1 kB / 0.5844 GB, free: 13.6 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.7193, allocations: 4 kB / 0.5844 GB, free: 13.6 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.359e-05/0.7194, allocations: 12 kB / 0.5844 GB, free: 13.59 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.276e-05/0.7194, allocations: 7.938 kB / 0.5844 GB, free: 13.58 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/0.7205, allocations: 0.5113 MB / 0.5849 GB, free: 13.07 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.002813/0.7234, allocations: 0.9867 MB / 0.5859 GB, free: 12.04 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006229/0.724, allocations: 294.8 kB / 0.5862 GB, free: 11.73 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000285/0.7243, allocations: 153.6 kB / 0.5863 GB, free: 11.58 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001924/0.7262, allocations: 0.8971 MB / 0.5872 GB, free: 10.54 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.104e-05/0.7263, allocations: 38.56 kB / 0.5873 GB, free: 10.49 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 2.715e-06/0.7263, allocations: 4 kB / 0.5873 GB, free: 10.48 MB / 462.1 MB Notification: Performance of matching and sorting (n=29): time 0.001046/0.7273, allocations: 404.1 kB / 0.5876 GB, free: 10.09 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.241e-05/0.7274, allocations: 81.11 kB / 0.5877 GB, free: 9.988 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.7276, allocations: 113.8 kB / 0.5878 GB, free: 9.867 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.662e-05/0.7276, allocations: 29.7 kB / 0.5879 GB, free: 9.832 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.7278, allocations: 108.4 kB / 0.588 GB, free: 9.719 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001367/0.7279, allocations: 114.3 kB / 0.5881 GB, free: 9.605 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001708/0.7281, allocations: 66.02 kB / 0.5881 GB, free: 9.535 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001767/0.7283, allocations: 326.8 kB / 0.5884 GB, free: 9.207 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002472/0.7286, allocations: 112.6 kB / 0.5885 GB, free: 9.098 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002927/0.7289, allocations: 212 kB / 0.5888 GB, free: 8.855 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000548/0.7294, allocations: 335.5 kB / 0.5891 GB, free: 8.496 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.7294, allocations: 3.938 kB / 0.5891 GB, free: 8.492 MB / 462.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007328/0.7302, allocations: 385.1 kB / 0.5894 GB, free: 8.109 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.7302, allocations: 4 kB / 0.5894 GB, free: 8.105 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.7302, allocations: 4.5 kB / 0.5894 GB, free: 8.102 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.183e-05/0.7303, allocations: 7.984 kB / 0.5895 GB, free: 8.094 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004071/0.7307, allocations: 67.91 kB / 0.5895 GB, free: 8.027 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.341e-05/0.7307, allocations: 7.984 kB / 0.5895 GB, free: 8.02 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003082/0.731, allocations: 38.56 kB / 0.5896 GB, free: 7.984 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-05/0.7311, allocations: 19.98 kB / 0.5896 GB, free: 7.965 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.0001535/0.7312, allocations: 145.7 kB / 0.5897 GB, free: 7.812 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.897e-05/0.7313, allocations: 19.75 kB / 0.5897 GB, free: 7.793 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007608/0.7321, allocations: 371.9 kB / 0.5901 GB, free: 7.43 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.7321, allocations: 0 / 0.5901 GB, free: 7.43 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.7321, allocations: 4 kB / 0.5901 GB, free: 7.426 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.7321, allocations: 3.984 kB / 0.5901 GB, free: 7.422 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005882/0.7327, allocations: 365.4 kB / 0.5905 GB, free: 7.012 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.7327, allocations: 0 / 0.5905 GB, free: 7.012 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004153/0.7332, allocations: 63.89 kB / 0.5905 GB, free: 6.949 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.7332, allocations: 0 / 0.5905 GB, free: 6.949 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.344e-05/0.7332, allocations: 11.98 kB / 0.5905 GB, free: 6.938 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.7332, allocations: 4 kB / 0.5905 GB, free: 6.934 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.7332, allocations: 4 kB / 0.5905 GB, free: 6.93 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009217/0.7342, allocations: 0.5504 MB / 0.5911 GB, free: 6.367 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.11e-05/0.7342, allocations: 92.86 kB / 0.5912 GB, free: 6.258 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.755e-05/0.7343, allocations: 8.062 kB / 0.5912 GB, free: 6.25 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000404/0.7347, allocations: 19.98 kB / 0.5912 GB, free: 6.23 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.157e-05/0.7348, allocations: 15.97 kB / 0.5912 GB, free: 6.215 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.685e-05/0.7348, allocations: 22.92 kB / 0.5912 GB, free: 6.195 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.443e-05/0.7349, allocations: 91.22 kB / 0.5913 GB, free: 6.105 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.7349, allocations: 0 / 0.5913 GB, free: 6.105 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001055/0.7359, allocations: 231.8 kB / 0.5915 GB, free: 5.879 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.00112/0.7371, allocations: 430.6 kB / 0.5919 GB, free: 5.449 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006557/0.7377, allocations: 311.9 kB / 0.5922 GB, free: 5.145 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.7377, allocations: 0 / 0.5922 GB, free: 5.145 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002653/0.738, allocations: 149.5 kB / 0.5924 GB, free: 5.004 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006353/0.7387, allocations: 84.53 kB / 0.5925 GB, free: 4.926 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001344/0.74, allocations: 0.8058 MB / 0.5933 GB, free: 4.105 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000388/0.7404, allocations: 0.7363 MB / 0.594 GB, free: 3.344 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005127/0.7409, allocations: 84.09 kB / 0.594 GB, free: 3.262 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001259/0.7411, allocations: 27.44 kB / 0.5941 GB, free: 3.238 MB / 462.1 MB Notification: Performance of SimCode: time 6.71e-07/0.7411, allocations: 0 / 0.5941 GB, free: 3.238 MB / 462.1 MB Notification: Performance of Templates: time 0.01442/0.7555, allocations: 8.335 MB / 0.6022 GB, free: 10.95 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