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.001125/0.001125, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001563/0.002688, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0007673/0.0007673, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009659/0.001733, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.9312/0.9312, allocations: 177.5 MB / 190 MB, free: 4.789 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1012/1.032, allocations: 53.87 MB / 243.9 MB, free: 14.85 MB / 250.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.3106/0.3106, allocations: 34.89 MB / 279.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03155/0.3421, allocations: 13.24 MB / 292.8 MB, free: 6.375 MB / 282.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.322e-06/1.322e-06, allocations: 0 / 294.1 MB, free: 5.098 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.435e-05/1.567e-05, allocations: 4.562 kB / 294.1 MB, free: 5.094 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.1373/0.1373, allocations: 145.3 MB / 439.4 MB, free: 3.215 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001496/0.1388, allocations: 1.641 MB / 441 MB, free: 1.57 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.486e-05/0.1389, allocations: 0 / 441 MB, free: 1.57 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002716/0.1392, allocations: 43.75 kB / 441.1 MB, free: 1.527 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006837/0.1398, allocations: 413.6 kB / 441.5 MB, free: 1.121 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004088/0.1402, allocations: 177.1 kB / 441.7 MB, free: 0.9492 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002031/0.1404, allocations: 187.2 kB / 441.8 MB, free: 0.7656 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.997e-05/0.1405, allocations: 4 kB / 441.8 MB, free: 0.7617 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001873/0.1407, allocations: 107.7 kB / 441.9 MB, free: 0.6562 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001257/0.1408, allocations: 51.81 kB / 442 MB, free: 0.6055 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.642e-05/0.1408, allocations: 4 kB / 442 MB, free: 0.6016 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007266/0.1415, allocations: 0.5649 MB / 442.6 MB, free: 36 kB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 5.185e-05/0.1416, allocations: 31.92 kB / 442.6 MB, free: 4 kB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.2182/0.3598, allocations: 28.19 kB / 442.6 MB, free: 4.129 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001021/0.3608, allocations: 368.4 kB / 443 MB, free: 4.129 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.158e-05/0.3608, allocations: 0.5312 kB / 443 MB, free: 4.129 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3608, allocations: 0 / 443 MB, free: 4.129 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.019e-05/0.3608, allocations: 2.859 kB / 443 MB, free: 4.129 MB / 426.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.0006772/0.3615, allocations: 376.9 kB / 443.4 MB, free: 19.89 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.3615, allocations: 9.672 kB / 443.4 MB, free: 19.89 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001083/0.3626, allocations: 329 kB / 443.7 MB, free: 19.77 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002037/0.3628, allocations: 136 kB / 443.8 MB, free: 19.64 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.3628, allocations: 12.72 kB / 443.8 MB, free: 19.64 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.148e-05/0.3628, allocations: 8.25 kB / 443.8 MB, free: 19.64 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002624/0.3631, allocations: 240.7 kB / 444.1 MB, free: 19.49 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.3631, allocations: 0.875 kB / 444.1 MB, free: 19.49 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.892e-05/0.3631, allocations: 3.688 kB / 444.1 MB, free: 19.49 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.3631, allocations: 2.719 kB / 444.1 MB, free: 19.49 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001456/0.3633, allocations: 105.9 kB / 444.2 MB, free: 19.49 MB / 442.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.0007327/0.364, allocations: 351.9 kB / 444.5 MB, free: 19.33 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001465/0.3642, allocations: 124.7 kB / 444.7 MB, free: 19.3 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.317e-05/0.3642, allocations: 58.03 kB / 444.7 MB, free: 19.29 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.174e-05/0.3643, allocations: 15.52 kB / 444.7 MB, free: 19.29 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/0.3643, allocations: 36.61 kB / 444.8 MB, free: 19.25 MB / 442.7 MB Notification: Performance of pre-optimization done (n=14): time 1.042e-06/0.3643, allocations: 0 / 444.8 MB, free: 19.25 MB / 442.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.002264/0.3666, allocations: 1.026 MB / 445.8 MB, free: 18.85 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.061e-05/0.3666, allocations: 58.39 kB / 445.8 MB, free: 18.79 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.824e-05/0.3667, allocations: 123 kB / 446 MB, free: 18.68 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.3667, allocations: 25.7 kB / 446 MB, free: 18.64 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.238e-05/0.3667, allocations: 104.8 kB / 446.1 MB, free: 18.55 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.574e-05/0.3668, allocations: 64.61 kB / 446.2 MB, free: 18.51 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.265e-05/0.3668, allocations: 50.78 kB / 446.2 MB, free: 18.49 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.007e-05/0.3669, allocations: 321 kB / 446.5 MB, free: 18.18 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.657e-05/0.367, allocations: 40.64 kB / 446.6 MB, free: 18.18 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.768e-05/0.367, allocations: 79.09 kB / 446.6 MB, free: 18.14 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001271/0.3671, allocations: 139.3 kB / 446.8 MB, free: 18.11 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.3671, allocations: 0 / 446.8 MB, free: 18.11 MB / 442.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002118/0.3674, allocations: 176.3 kB / 446.9 MB, free: 18.06 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.3674, allocations: 11.86 kB / 447 MB, free: 18.06 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.3674, allocations: 0 / 447 MB, free: 18.06 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001053/0.3675, allocations: 25.47 kB / 447 MB, free: 18.05 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002782/0.3678, allocations: 75.25 kB / 447.1 MB, free: 18.05 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007124/0.3685, allocations: 1.222 MB / 448.3 MB, free: 16.89 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.3686, allocations: 10.84 kB / 448.3 MB, free: 16.89 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.02e-05/0.3686, allocations: 9.359 kB / 448.3 MB, free: 16.89 MB / 442.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.783e-05/0.3687, allocations: 121.6 kB / 448.4 MB, free: 16.78 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.509e-05/0.3687, allocations: 28.62 kB / 448.4 MB, free: 16.77 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002332/0.369, allocations: 200.1 kB / 448.6 MB, free: 16.72 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.369, allocations: 2.719 kB / 448.6 MB, free: 16.72 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.369, allocations: 4 kB / 448.6 MB, free: 16.72 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.369, allocations: 2.375 kB / 448.6 MB, free: 16.72 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004206/0.3694, allocations: 395 kB / 449 MB, free: 16.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3694, allocations: 0 / 449 MB, free: 16.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002563/0.3697, allocations: 69.09 kB / 449.1 MB, free: 16.5 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.101e-05/0.3697, allocations: 6.641 kB / 449.1 MB, free: 16.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.987e-05/0.3697, allocations: 23.25 kB / 449.1 MB, free: 16.49 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.737e-05/0.3697, allocations: 16.27 kB / 449.1 MB, free: 16.48 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005058/0.3703, allocations: 1.155 MB / 450.3 MB, free: 15.36 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.3703, allocations: 0.9688 kB / 450.3 MB, free: 15.36 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003124/0.3706, allocations: 347.9 kB / 450.6 MB, free: 15.18 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.3706, allocations: 6.984 kB / 450.6 MB, free: 15.18 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/0.3707, allocations: 9.234 kB / 450.7 MB, free: 15.18 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.977e-05/0.3707, allocations: 20.03 kB / 450.7 MB, free: 15.18 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-05/0.3708, allocations: 12.45 kB / 450.7 MB, free: 15.18 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.84e-05/0.3708, allocations: 15.3 kB / 450.7 MB, free: 15.17 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3708, allocations: 0.9375 kB / 450.7 MB, free: 15.17 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004039/0.3712, allocations: 131.9 kB / 450.8 MB, free: 15.15 MB / 442.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.000425/0.3716, allocations: 219.8 kB / 451 MB, free: 15.06 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002943/0.3719, allocations: 260.8 kB / 451.3 MB, free: 14.93 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.315e-06/0.3719, allocations: 3.5 kB / 451.3 MB, free: 14.93 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001417/0.3721, allocations: 210.9 kB / 451.5 MB, free: 14.82 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002788/0.3723, allocations: 151.1 kB / 451.7 MB, free: 14.71 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001846/0.3742, allocations: 361.9 kB / 452 MB, free: 14.5 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.551e-05/0.3742, allocations: 73.03 kB / 452.1 MB, free: 14.43 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001847/0.3744, allocations: 52.5 kB / 452.1 MB, free: 14.43 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001815/0.3746, allocations: 104.2 kB / 452.2 MB, free: 14.38 MB / 442.7 MB Notification: Performance of SimCode: time 7.01e-07/0.3746, allocations: 0 / 452.2 MB, free: 14.38 MB / 442.7 MB Notification: Performance of Templates: time 0.007326/0.3819, allocations: 6.728 MB / 459 MB, free: 14.06 MB / 442.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 -emit_protected -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2641526525840163]