Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001326/0.001326, allocations: 117.2 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001589/0.001589, allocations: 200.6 kB / 18.73 MB, free: 4.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.483/1.483, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2374/0.2374, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 75.88 kB / 481.3 MB, free: 4.086 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4664/0.4677, allocations: 62.43 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.1946/0.6624, allocations: 152.4 MB / 0.6798 GB, free: 8.719 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002485/0.665, allocations: 1.6 MB / 0.6814 GB, free: 7.117 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001158/0.6651, allocations: 4 kB / 0.6814 GB, free: 7.113 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004229/0.6655, allocations: 51.72 kB / 0.6815 GB, free: 7.062 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001255/0.6668, allocations: 402.1 kB / 0.6818 GB, free: 6.668 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006191/0.6675, allocations: 182.5 kB / 0.682 GB, free: 6.492 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003958/0.6679, allocations: 191.2 kB / 0.6822 GB, free: 6.305 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.436e-05/0.668, allocations: 7.984 kB / 0.6822 GB, free: 6.297 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002045/0.6682, allocations: 79.69 kB / 0.6823 GB, free: 6.219 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001562/0.6683, allocations: 59.77 kB / 0.6823 GB, free: 6.16 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.064e-05/0.6684, allocations: 4 kB / 0.6823 GB, free: 6.156 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001153/0.6695, allocations: 0.5963 MB / 0.6829 GB, free: 5.559 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.952e-05/0.6696, allocations: 35.89 kB / 0.683 GB, free: 5.523 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.86e-05/0.6697, allocations: 51.73 kB / 0.683 GB, free: 5.473 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0009023/0.6706, allocations: 404.8 kB / 0.6834 GB, free: 5.082 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.6706, allocations: 3.938 kB / 0.6834 GB, free: 5.078 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.443e-06/0.6706, allocations: 0 / 0.6834 GB, free: 5.078 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.231e-06/0.6706, allocations: 0 / 0.6834 GB, free: 5.078 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0006704/0.6713, allocations: 435.3 kB / 0.6838 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.6714, allocations: 8.031 kB / 0.6838 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002274/0.6736, allocations: 200.6 kB / 0.684 GB, free: 4.402 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002816/0.6739, allocations: 207.8 kB / 0.6842 GB, free: 4.16 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.674, allocations: 8 kB / 0.6842 GB, free: 4.152 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.217e-05/0.674, allocations: 8 kB / 0.6842 GB, free: 4.145 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004946/0.6745, allocations: 204.4 kB / 0.6844 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.6745, allocations: 0 / 0.6844 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.538e-05/0.6746, allocations: 8 kB / 0.6844 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.6746, allocations: 3.938 kB / 0.6844 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006053/0.6752, allocations: 239.8 kB / 0.6847 GB, free: 3.695 MB / 0.5294 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.001927/0.6771, allocations: 0.6628 MB / 0.6853 GB, free: 2.977 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004602/0.6776, allocations: 186.4 kB / 0.6855 GB, free: 2.785 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000222/0.6778, allocations: 96.81 kB / 0.6856 GB, free: 2.688 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001877/0.678, allocations: 93.09 kB / 0.6857 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/0.6781, allocations: 30.56 kB / 0.6857 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.613e-06/0.6781, allocations: 3.938 kB / 0.6857 GB, free: 2.535 MB / 0.5294 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.005819/0.6839, allocations: 1.544 MB / 0.6872 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.898e-05/0.684, allocations: 51.41 kB / 0.6873 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.6841, allocations: 117.8 kB / 0.6874 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.24e-05/0.6842, allocations: 25.7 kB / 0.6874 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.916e-05/0.6843, allocations: 100.3 kB / 0.6875 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.094e-05/0.6843, allocations: 63.09 kB / 0.6876 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001176/0.6845, allocations: 49.61 kB / 0.6876 GB, free: 448 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001699/0.6846, allocations: 318.8 kB / 0.6879 GB, free: 120 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000221/0.6849, allocations: 91.95 kB / 0.688 GB, free: 28 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002678/0.6852, allocations: 127.3 kB / 0.6881 GB, free: 15.89 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004686/0.6856, allocations: 223.3 kB / 0.6883 GB, free: 15.66 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.6856, allocations: 4 kB / 0.6883 GB, free: 15.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006544/0.6863, allocations: 279.4 kB / 0.6886 GB, free: 15.38 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/0.6863, allocations: 8 kB / 0.6886 GB, free: 15.37 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.6864, allocations: 0 / 0.6886 GB, free: 15.37 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001542/0.6865, allocations: 24.84 kB / 0.6886 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004183/0.6869, allocations: 56 kB / 0.6887 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004523/0.6874, allocations: 0.5367 MB / 0.6892 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002663/0.6877, allocations: 15.95 kB / 0.6892 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.004e-05/0.6877, allocations: 8 kB / 0.6892 GB, free: 14.7 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001373/0.6879, allocations: 125.2 kB / 0.6893 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.94e-05/0.688, allocations: 15.91 kB / 0.6894 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007614/0.6887, allocations: 315.3 kB / 0.6897 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.209e-06/0.6888, allocations: 8 kB / 0.6897 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.6888, allocations: 0 / 0.6897 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.6888, allocations: 7.922 kB / 0.6897 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001106/0.6899, allocations: 0.6816 MB / 0.6903 GB, free: 13.47 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.6899, allocations: 4.094 kB / 0.6904 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004115/0.6903, allocations: 55.95 kB / 0.6904 GB, free: 13.41 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.071e-05/0.6904, allocations: 16.84 kB / 0.6904 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.794e-05/0.6905, allocations: 8 kB / 0.6904 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009613/0.6914, allocations: 1.369 MB / 0.6918 GB, free: 11.87 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.6914, allocations: 0 / 0.6918 GB, free: 11.87 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008724/0.6923, allocations: 461.2 kB / 0.6922 GB, free: 11.39 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.747e-05/0.6924, allocations: 89.03 kB / 0.6923 GB, free: 11.29 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.706e-05/0.6924, allocations: 8 kB / 0.6923 GB, free: 11.28 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003062/0.6927, allocations: 4 kB / 0.6923 GB, free: 11.28 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.318e-05/0.6928, allocations: 27.97 kB / 0.6923 GB, free: 11.25 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.044e-05/0.6928, allocations: 7.984 kB / 0.6923 GB, free: 11.24 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.75e-05/0.6929, allocations: 87.28 kB / 0.6924 GB, free: 11.16 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6929, allocations: 0 / 0.6924 GB, free: 11.16 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000532/0.6934, allocations: 131.9 kB / 0.6925 GB, free: 11.03 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 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 (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007395/0.6942, allocations: 258.9 kB / 0.6928 GB, free: 10.77 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006256/0.6948, allocations: 239.9 kB / 0.693 GB, free: 10.53 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.6948, allocations: 0 / 0.693 GB, free: 10.53 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004053/0.6952, allocations: 230.6 kB / 0.6932 GB, free: 10.29 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004264/0.6957, allocations: 40.16 kB / 0.6933 GB, free: 10.25 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009193/0.6966, allocations: 483 kB / 0.6937 GB, free: 9.75 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.697, allocations: 0.7085 MB / 0.6944 GB, free: 9.016 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002766/0.6972, allocations: 57.61 kB / 0.6945 GB, free: 8.961 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/0.6974, allocations: 23.42 kB / 0.6945 GB, free: 8.938 MB / 0.545 GB Notification: Performance of SimCode: time 2.41e-07/0.6974, allocations: 0 / 0.6945 GB, free: 8.938 MB / 0.545 GB Notification: Performance of Templates: time 0.01093/0.7083, allocations: 6.22 MB / 0.7006 GB, free: 2.738 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches