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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001016/0.001016, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001159/0.001159, allocations: 159.4 kB / 24.91 MB, free: 8.719 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9542/0.9542, allocations: 177 MB / 205.2 MB, free: 5.027 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2495/0.2495, allocations: 34.86 MB / 296.6 MB, free: 460 kB / 266.7 MB " [Timeout remaining time 180] 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=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 325.9 MB, free: 7.113 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.155e-05/2.305e-05, allocations: 5.406 kB / 325.9 MB, free: 7.109 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.2903/0.2903, allocations: 144.9 MB / 470.8 MB, free: 12.59 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001306/0.2916, allocations: 1.626 MB / 472.5 MB, free: 12.47 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.807e-05/0.2917, allocations: 0 / 472.5 MB, free: 12.47 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000311/0.292, allocations: 47.28 kB / 472.5 MB, free: 12.46 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008039/0.2928, allocations: 419.1 kB / 472.9 MB, free: 12.41 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00039/0.2932, allocations: 172.2 kB / 473.1 MB, free: 12.39 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002258/0.2934, allocations: 188.6 kB / 473.3 MB, free: 12.39 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.203e-05/0.2934, allocations: 13.14 kB / 473.3 MB, free: 12.39 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000175/0.2936, allocations: 98.59 kB / 473.4 MB, free: 12.38 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.2937, allocations: 54.73 kB / 473.4 MB, free: 12.38 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.2937, allocations: 8.406 kB / 473.4 MB, free: 12.38 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008244/0.2946, allocations: 0.5576 MB / 474 MB, free: 12.36 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.519e-05/0.2946, allocations: 31.23 kB / 474 MB, free: 12.36 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.81e-05/0.2947, allocations: 39.77 kB / 474.1 MB, free: 12.36 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005218/0.2952, allocations: 426.6 kB / 474.5 MB, free: 12.33 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.2952, allocations: 0 / 474.5 MB, free: 12.33 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2952, allocations: 7.406 kB / 474.5 MB, free: 12.32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.2952, allocations: 4 kB / 474.5 MB, free: 12.32 MB / 410.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.000351/0.2955, allocations: 342.9 kB / 474.8 MB, free: 12.04 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.2956, allocations: 8.469 kB / 474.8 MB, free: 12.04 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001048/0.2966, allocations: 250.8 kB / 475.1 MB, free: 12.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.2968, allocations: 128 kB / 475.2 MB, free: 11.89 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.2968, allocations: 6.781 kB / 475.2 MB, free: 11.89 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.051e-05/0.2968, allocations: 15.75 kB / 475.2 MB, free: 11.88 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002056/0.297, allocations: 238.3 kB / 475.5 MB, free: 11.73 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.505e-06/0.297, allocations: 4 kB / 475.5 MB, free: 11.73 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.877e-05/0.297, allocations: 6.5 kB / 475.5 MB, free: 11.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.297, allocations: 2.031 kB / 475.5 MB, free: 11.73 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001326/0.2972, allocations: 100.9 kB / 475.6 MB, free: 11.73 MB / 410.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.000667/0.2978, allocations: 352.5 kB / 475.9 MB, free: 11.56 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001329/0.298, allocations: 125.5 kB / 476 MB, free: 11.54 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.04e-05/0.298, allocations: 56.05 kB / 476.1 MB, free: 11.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.65e-05/0.2981, allocations: 16.83 kB / 476.1 MB, free: 11.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.563e-05/0.2981, allocations: 33.5 kB / 476.1 MB, free: 11.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.793e-06/0.2981, allocations: 1.094 kB / 476.1 MB, free: 11.48 MB / 410.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.002106/0.3002, allocations: 1.022 MB / 477.2 MB, free: 11.04 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.556e-05/0.3002, allocations: 54.66 kB / 477.2 MB, free: 10.98 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.059e-05/0.3003, allocations: 114.7 kB / 477.3 MB, free: 10.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.3003, allocations: 32.77 kB / 477.4 MB, free: 10.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.51e-05/0.3003, allocations: 98.25 kB / 477.5 MB, free: 10.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.088e-05/0.3003, allocations: 70.67 kB / 477.5 MB, free: 10.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.771e-05/0.3004, allocations: 45.84 kB / 477.6 MB, free: 10.69 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.701e-05/0.3004, allocations: 320.9 kB / 477.9 MB, free: 10.38 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.548e-05/0.3005, allocations: 45 kB / 477.9 MB, free: 10.37 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.558e-05/0.3005, allocations: 68.66 kB / 478 MB, free: 10.34 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001195/0.3006, allocations: 137.7 kB / 478.1 MB, free: 10.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.3006, allocations: 0 / 478.1 MB, free: 10.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002045/0.3009, allocations: 183.6 kB / 478.3 MB, free: 10.24 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.3009, allocations: 5.188 kB / 478.3 MB, free: 10.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.3009, allocations: 7.984 kB / 478.3 MB, free: 10.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.39e-05/0.301, allocations: 20.64 kB / 478.3 MB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002596/0.3012, allocations: 70.58 kB / 478.4 MB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007665/0.3089, allocations: 1.84 MB / 480.2 MB, free: 8.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001347/0.309, allocations: 6.469 kB / 480.3 MB, free: 8.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.322e-05/0.309, allocations: 8.531 kB / 480.3 MB, free: 8.73 MB / 410.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 8.391e-05/0.3091, allocations: 123.6 kB / 480.4 MB, free: 8.609 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.553e-05/0.3092, allocations: 26 kB / 480.4 MB, free: 8.602 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002544/0.3094, allocations: 201.8 kB / 480.6 MB, free: 8.543 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.3094, allocations: 3.188 kB / 480.6 MB, free: 8.543 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.3094, allocations: 2.531 kB / 480.6 MB, free: 8.543 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3095, allocations: 0 / 480.6 MB, free: 8.543 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004105/0.3099, allocations: 401.7 kB / 481 MB, free: 8.312 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.3099, allocations: 0 / 481 MB, free: 8.312 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002357/0.3101, allocations: 61.67 kB / 481.1 MB, free: 8.309 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.189e-05/0.3102, allocations: 21.48 kB / 481.1 MB, free: 8.301 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/0.3102, allocations: 9.406 kB / 481.1 MB, free: 8.297 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000361/0.3105, allocations: 1.157 MB / 482.3 MB, free: 7.156 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.3106, allocations: 1.094 kB / 482.3 MB, free: 7.156 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002966/0.3108, allocations: 350.9 kB / 482.6 MB, free: 6.977 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.224e-05/0.3109, allocations: 11.75 kB / 482.6 MB, free: 6.973 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.158e-05/0.3109, allocations: 5.297 kB / 482.6 MB, free: 6.973 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.311, allocations: 6.156 kB / 482.6 MB, free: 6.973 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.07e-05/0.311, allocations: 22.27 kB / 482.6 MB, free: 6.969 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.875e-05/0.3111, allocations: 7.781 kB / 482.6 MB, free: 6.969 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.699e-05/0.3111, allocations: 20.44 kB / 482.7 MB, free: 6.957 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3111, allocations: 0 / 482.7 MB, free: 6.957 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003803/0.3115, allocations: 133.3 kB / 482.8 MB, free: 6.938 MB / 410.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.0004352/0.3119, allocations: 240.8 kB / 483 MB, free: 6.836 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003007/0.3122, allocations: 253.1 kB / 483.3 MB, free: 6.711 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.3122, allocations: 1.203 kB / 483.3 MB, free: 6.711 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001276/0.3123, allocations: 207.5 kB / 483.5 MB, free: 6.578 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/0.3126, allocations: 53.61 kB / 483.5 MB, free: 6.574 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006564/0.3132, allocations: 377.2 kB / 483.9 MB, free: 6.324 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.273e-05/0.3133, allocations: 74.78 kB / 484 MB, free: 6.25 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001696/0.3134, allocations: 55.47 kB / 484 MB, free: 6.215 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001701/0.3136, allocations: 101.5 kB / 484.1 MB, free: 6.164 MB / 410.7 MB Notification: Performance of SimCode: time 7.41e-07/0.3136, allocations: 0 / 484.1 MB, free: 6.164 MB / 410.7 MB Notification: Performance of Templates: time 0.007749/0.3214, allocations: 7.266 MB / 491.4 MB, free: 3.926 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile [Timeout 660] (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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/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.321894999127835]