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.0009378/0.0009378, allocations: 80.92 kB / 22.29 MB, free: 2.207 MB / 18.57 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.001006/0.001006, allocations: 168.2 kB / 25.7 MB, free: 8.434 MB / 18.57 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.9071/0.9071, allocations: 158.6 MB / 187.6 MB, free: 2.789 MB / 170.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.774e-06/1.774e-06, allocations: 0 / 251.6 MB, free: 7.238 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.283e-05/2.461e-05, allocations: 6.312 kB / 251.6 MB, free: 7.23 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.2734/0.2734, allocations: 143.3 MB / 394.8 MB, free: 9.273 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001278/0.2747, allocations: 1.52 MB / 396.3 MB, free: 9.172 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.03e-05/0.2748, allocations: 0 / 396.3 MB, free: 9.172 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003031/0.2751, allocations: 53.94 kB / 396.4 MB, free: 9.156 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006897/0.2757, allocations: 393.1 kB / 396.8 MB, free: 9.102 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003452/0.2761, allocations: 173.6 kB / 396.9 MB, free: 9.086 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002055/0.2763, allocations: 187.6 kB / 397.1 MB, free: 9.086 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.847e-05/0.2763, allocations: 7.156 kB / 397.1 MB, free: 9.082 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001465/0.2765, allocations: 103.2 kB / 397.2 MB, free: 9.074 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.938e-05/0.2766, allocations: 51.25 kB / 397.3 MB, free: 9.074 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.578e-05/0.2766, allocations: 8.094 kB / 397.3 MB, free: 9.074 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007308/0.2773, allocations: 0.5408 MB / 397.8 MB, free: 9.047 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.404e-05/0.2774, allocations: 31.94 kB / 397.9 MB, free: 9.047 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.498e-05/0.2774, allocations: 36.94 kB / 397.9 MB, free: 9.047 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004561/0.2779, allocations: 408.9 kB / 398.3 MB, free: 9.02 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2779, allocations: 1.969 kB / 398.3 MB, free: 9.02 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.21e-07/0.2779, allocations: 1.094 kB / 398.3 MB, free: 9.02 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.2779, allocations: 0 / 398.3 MB, free: 9.02 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.0003251/0.2782, allocations: 327.5 kB / 398.6 MB, free: 8.75 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.083e-05/0.2782, allocations: 11.73 kB / 398.6 MB, free: 8.746 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001036/0.2793, allocations: 253 kB / 398.9 MB, free: 8.719 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.2794, allocations: 127.8 kB / 399 MB, free: 8.586 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.2794, allocations: 7.766 kB / 399 MB, free: 8.586 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.007e-05/0.2795, allocations: 16.52 kB / 399 MB, free: 8.582 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002159/0.2797, allocations: 240.3 kB / 399.3 MB, free: 8.434 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.2797, allocations: 0 / 399.3 MB, free: 8.434 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.787e-05/0.2797, allocations: 3 kB / 399.3 MB, free: 8.434 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.2797, allocations: 3.188 kB / 399.3 MB, free: 8.434 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001379/0.2799, allocations: 106.5 kB / 399.4 MB, free: 8.422 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.0007326/0.2806, allocations: 360.4 kB / 399.7 MB, free: 8.242 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001457/0.2807, allocations: 127.3 kB / 399.8 MB, free: 8.207 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.533e-05/0.2808, allocations: 56.09 kB / 399.9 MB, free: 8.195 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.564e-05/0.2809, allocations: 16.05 kB / 399.9 MB, free: 8.191 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.732e-05/0.2809, allocations: 37.84 kB / 400 MB, free: 8.148 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 1.543e-06/0.2809, allocations: 4 kB / 400 MB, free: 8.145 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.002242/0.2831, allocations: 0.9952 MB / 401 MB, free: 7.605 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.687e-05/0.2831, allocations: 57.34 kB / 401 MB, free: 7.539 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.305e-05/0.2832, allocations: 121.9 kB / 401.1 MB, free: 7.422 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.2832, allocations: 31.67 kB / 401.2 MB, free: 7.391 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.723e-05/0.2832, allocations: 95.16 kB / 401.3 MB, free: 7.297 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.53e-05/0.2833, allocations: 80.3 kB / 401.3 MB, free: 7.238 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.772e-05/0.2833, allocations: 43.23 kB / 401.4 MB, free: 7.219 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.824e-05/0.2834, allocations: 320.9 kB / 401.7 MB, free: 6.902 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.71e-05/0.2834, allocations: 39.45 kB / 401.7 MB, free: 6.898 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.838e-05/0.2835, allocations: 79.27 kB / 401.8 MB, free: 6.855 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001236/0.2836, allocations: 137.3 kB / 401.9 MB, free: 6.797 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.2836, allocations: 0 / 401.9 MB, free: 6.797 MB / 330.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002086/0.2838, allocations: 172.5 kB / 402.1 MB, free: 6.73 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.2838, allocations: 7.922 kB / 402.1 MB, free: 6.727 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.2838, allocations: 2.438 kB / 402.1 MB, free: 6.727 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001013/0.2839, allocations: 33.44 kB / 402.2 MB, free: 6.703 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000272/0.2842, allocations: 66.12 kB / 402.2 MB, free: 6.688 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007875/0.2921, allocations: 1.799 MB / 404 MB, free: 5.059 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001255/0.2922, allocations: 14.11 kB / 404 MB, free: 5.051 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.448e-05/0.2922, allocations: 12.94 kB / 404 MB, free: 5.047 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 7.998e-05/0.2923, allocations: 121.6 kB / 404.2 MB, free: 4.926 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.555e-05/0.2924, allocations: 23.05 kB / 404.2 MB, free: 4.914 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002366/0.2926, allocations: 209.3 kB / 404.4 MB, free: 4.805 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.2926, allocations: 0 / 404.4 MB, free: 4.805 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.2926, allocations: 2.531 kB / 404.4 MB, free: 4.805 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.2926, allocations: 0 / 404.4 MB, free: 4.805 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004034/0.293, allocations: 392.2 kB / 404.8 MB, free: 4.543 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.293, allocations: 2.906 kB / 404.8 MB, free: 4.543 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002318/0.2932, allocations: 62.3 kB / 404.8 MB, free: 4.523 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.246e-05/0.2933, allocations: 26.47 kB / 404.9 MB, free: 4.508 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.2933, allocations: 10.02 kB / 404.9 MB, free: 4.504 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003497/0.2937, allocations: 1.15 MB / 406 MB, free: 3.348 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.2937, allocations: 7.031 kB / 406 MB, free: 3.344 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002833/0.2939, allocations: 347.1 kB / 406.4 MB, free: 3.133 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.288e-06/0.294, allocations: 13.12 kB / 406.4 MB, free: 3.125 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.24e-05/0.294, allocations: 5.812 kB / 406.4 MB, free: 3.125 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/0.2941, allocations: 10.55 kB / 406.4 MB, free: 3.121 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.44e-05/0.2941, allocations: 20 kB / 406.4 MB, free: 3.109 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/0.2942, allocations: 8.406 kB / 406.4 MB, free: 3.109 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.499e-05/0.2942, allocations: 17.38 kB / 406.4 MB, free: 3.098 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.2942, allocations: 32 / 406.4 MB, free: 3.098 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003515/0.2945, allocations: 135.9 kB / 406.6 MB, free: 3.074 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.0004219/0.2949, allocations: 229.3 kB / 406.8 MB, free: 2.941 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002815/0.2952, allocations: 258.2 kB / 407 MB, free: 2.797 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.2952, allocations: 0 / 407 MB, free: 2.797 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001138/0.2953, allocations: 199.3 kB / 407.2 MB, free: 2.664 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002281/0.2956, allocations: 64.31 kB / 407.3 MB, free: 2.633 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006814/0.2962, allocations: 395.1 kB / 407.7 MB, free: 2.34 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.087e-05/0.2963, allocations: 73.92 kB / 407.8 MB, free: 2.262 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001701/0.2965, allocations: 54.33 kB / 407.8 MB, free: 2.227 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001739/0.2966, allocations: 100.8 kB / 407.9 MB, free: 2.16 MB / 330.7 MB Notification: Performance of SimCode: time 1.042e-06/0.2966, allocations: 2.938 kB / 407.9 MB, free: 2.16 MB / 330.7 MB Notification: Performance of Templates: time 0.007866/0.3045, allocations: 7.288 MB / 415.2 MB, free: 14.37 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 -s gbode -gbm=radauIIA3 -emit_protected -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.070267547853291]