Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002131/0.003474, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001108/0.002121, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8403/0.8403, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1383/0.9786, allocations: 49.5 MB / 220.7 MB, free: 1.359 MB / 218.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.542e-06/1.542e-06, allocations: 0 / 222 MB, free: 72 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.185e-05/2.339e-05, allocations: 6.312 kB / 222 MB, free: 64 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.2814/0.2814, allocations: 143.6 MB / 365.6 MB, free: 15.27 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001462/0.2829, allocations: 1.53 MB / 367.1 MB, free: 13.75 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.316e-05/0.2829, allocations: 4 kB / 367.1 MB, free: 13.74 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002836/0.2832, allocations: 46.36 kB / 367.2 MB, free: 13.7 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007674/0.284, allocations: 392.9 kB / 367.6 MB, free: 13.32 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003911/0.2844, allocations: 175.3 kB / 367.7 MB, free: 13.15 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002414/0.2846, allocations: 183.2 kB / 367.9 MB, free: 12.97 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.091e-05/0.2847, allocations: 11.98 kB / 367.9 MB, free: 12.96 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000182/0.2849, allocations: 99.72 kB / 368 MB, free: 12.86 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001163/0.285, allocations: 51.88 kB / 368.1 MB, free: 12.81 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.285, allocations: 8 kB / 368.1 MB, free: 12.8 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007624/0.2857, allocations: 0.5493 MB / 368.6 MB, free: 12.25 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.83e-05/0.2858, allocations: 19.92 kB / 368.7 MB, free: 12.23 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.525e-05/0.2858, allocations: 31.94 kB / 368.7 MB, free: 12.2 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005461/0.2864, allocations: 351.1 kB / 369 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.123e-05/0.2864, allocations: 0 / 369 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.2864, allocations: 0 / 369 MB, free: 11.86 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.2864, allocations: 0 / 369 MB, free: 11.86 MB / 330.7 MB 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.0005523/0.287, allocations: 380 kB / 369.4 MB, free: 11.46 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.287, allocations: 12.02 kB / 369.4 MB, free: 11.45 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001111/0.2881, allocations: 317.5 kB / 369.7 MB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001823/0.2883, allocations: 137.6 kB / 369.9 MB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.2883, allocations: 4.562 kB / 369.9 MB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.406e-05/0.2883, allocations: 12.56 kB / 369.9 MB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002533/0.2886, allocations: 234.1 kB / 370.1 MB, free: 10.69 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.2886, allocations: 0 / 370.1 MB, free: 10.69 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.13e-05/0.2886, allocations: 11.98 kB / 370.1 MB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.2886, allocations: 4 kB / 370.1 MB, free: 10.67 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001401/0.2888, allocations: 109 kB / 370.2 MB, free: 10.57 MB / 330.7 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.0007731/0.2895, allocations: 349.6 kB / 370.6 MB, free: 10.21 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001917/0.2897, allocations: 131.7 kB / 370.7 MB, free: 10.07 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.817e-05/0.2898, allocations: 52.84 kB / 370.8 MB, free: 10.02 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.614e-05/0.2899, allocations: 19.97 kB / 370.8 MB, free: 9.996 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.2899, allocations: 34.56 kB / 370.8 MB, free: 9.953 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 1.913e-06/0.2899, allocations: 0 / 370.8 MB, free: 9.953 MB / 330.7 MB 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.002214/0.2921, allocations: 1.032 MB / 371.8 MB, free: 8.852 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.786e-05/0.2922, allocations: 59.34 kB / 371.9 MB, free: 8.781 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.892e-05/0.2922, allocations: 118.6 kB / 372 MB, free: 8.652 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.2922, allocations: 29.7 kB / 372 MB, free: 8.617 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.188e-05/0.2923, allocations: 96.39 kB / 372.1 MB, free: 8.52 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.401e-05/0.2923, allocations: 75.36 kB / 372.2 MB, free: 8.445 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.824e-05/0.2924, allocations: 45.67 kB / 372.3 MB, free: 8.395 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002294/0.2926, allocations: 326.8 kB / 372.6 MB, free: 8.066 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.624e-05/0.2927, allocations: 32 kB / 372.6 MB, free: 8.035 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.577e-05/0.2927, allocations: 83.25 kB / 372.7 MB, free: 7.941 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001292/0.2929, allocations: 142.1 kB / 372.8 MB, free: 7.789 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.2929, allocations: 0 / 372.8 MB, free: 7.789 MB / 330.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002152/0.2931, allocations: 170.3 kB / 373 MB, free: 7.613 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.2931, allocations: 4 kB / 373 MB, free: 7.609 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.2931, allocations: 0 / 373 MB, free: 7.609 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.683e-05/0.2932, allocations: 28.88 kB / 373 MB, free: 7.578 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00028/0.2935, allocations: 75.88 kB / 373.1 MB, free: 7.504 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007169/0.2942, allocations: 1.234 MB / 374.3 MB, free: 6.184 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001197/0.2943, allocations: 8 kB / 374.3 MB, free: 6.176 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.415e-05/0.2943, allocations: 7.984 kB / 374.3 MB, free: 6.168 MB / 330.7 MB 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001039/0.2944, allocations: 132.6 kB / 374.5 MB, free: 6.027 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.012e-05/0.2945, allocations: 15.92 kB / 374.5 MB, free: 6.012 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002579/0.2947, allocations: 199.5 kB / 374.7 MB, free: 5.801 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.2947, allocations: 4 kB / 374.7 MB, free: 5.797 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/0.2947, allocations: 0 / 374.7 MB, free: 5.797 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.2947, allocations: 0 / 374.7 MB, free: 5.797 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004055/0.2952, allocations: 400.6 kB / 375.1 MB, free: 5.371 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.2952, allocations: 0 / 375.1 MB, free: 5.371 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002341/0.2954, allocations: 71.95 kB / 375.1 MB, free: 5.301 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.098e-05/0.2954, allocations: 11.95 kB / 375.2 MB, free: 5.289 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.282e-05/0.2955, allocations: 24.84 kB / 375.2 MB, free: 5.262 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/0.2955, allocations: 7.922 kB / 375.2 MB, free: 5.254 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004873/0.296, allocations: 1.162 MB / 376.4 MB, free: 4.008 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.296, allocations: 4 kB / 376.4 MB, free: 4.004 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002951/0.2963, allocations: 342.6 kB / 376.7 MB, free: 3.641 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.119e-05/0.2963, allocations: 8 kB / 376.7 MB, free: 3.633 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.2964, allocations: 7.984 kB / 376.7 MB, free: 3.625 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.661e-05/0.2964, allocations: 15.97 kB / 376.7 MB, free: 3.609 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-05/0.2964, allocations: 8 kB / 376.7 MB, free: 3.602 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.975e-05/0.2965, allocations: 20.83 kB / 376.8 MB, free: 3.578 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2965, allocations: 0 / 376.8 MB, free: 3.578 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003299/0.2968, allocations: 123.8 kB / 376.9 MB, free: 3.457 MB / 330.7 MB 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.0004029/0.2972, allocations: 211.8 kB / 377.1 MB, free: 3.242 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003542/0.2976, allocations: 258.7 kB / 377.3 MB, free: 2.977 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.166e-06/0.2976, allocations: 0 / 377.3 MB, free: 2.977 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001518/0.2977, allocations: 208 kB / 377.5 MB, free: 2.758 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003095/0.298, allocations: 153 kB / 377.7 MB, free: 2.59 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002014/0.3, allocations: 351.4 kB / 378 MB, free: 2.211 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.463e-05/0.3001, allocations: 79.75 kB / 378.1 MB, free: 2.113 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001738/0.3003, allocations: 53.44 kB / 378.2 MB, free: 2.062 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001826/0.3004, allocations: 105.2 kB / 378.3 MB, free: 1.957 MB / 330.7 MB Notification: Performance of SimCode: time 8.62e-07/0.3004, allocations: 0 / 378.3 MB, free: 1.957 MB / 330.7 MB Notification: Performance of Templates: time 0.007733/0.3082, allocations: 6.761 MB / 385 MB, free: 11.21 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.sim & ./Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0123955057933927]