Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001587/0.002649, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006674/0.0006674, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009305/0.001598, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8866/0.8866, allocations: 173.4 MB / 186 MB, free: 7.527 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1824/1.069, allocations: 52.48 MB / 238.5 MB, free: 7.621 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1605/0.1605, allocations: 32.81 MB / 272 MB, free: 6.289 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02311/0.1836, allocations: 12.54 MB / 284.6 MB, free: 9.707 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 285.8 MB, free: 8.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.132e-05/1.273e-05, allocations: 5.266 kB / 285.8 MB, free: 8.434 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.2806/0.2806, allocations: 142.2 MB / 428 MB, free: 9.961 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009461/0.2815, allocations: 0.9917 MB / 429 MB, free: 8.98 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.735e-05/0.2816, allocations: 0 / 429 MB, free: 8.98 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002409/0.2818, allocations: 26.03 kB / 429 MB, free: 8.957 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004913/0.2823, allocations: 248.1 kB / 429.3 MB, free: 8.723 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000306/0.2826, allocations: 113.8 kB / 429.4 MB, free: 8.613 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001794/0.2828, allocations: 171.2 kB / 429.6 MB, free: 8.445 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.812e-05/0.2829, allocations: 11.92 kB / 429.6 MB, free: 8.434 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001964/0.283, allocations: 124.2 kB / 429.7 MB, free: 8.312 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.76e-05/0.2831, allocations: 43.83 kB / 429.7 MB, free: 8.27 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.2831, allocations: 4 kB / 429.7 MB, free: 8.266 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003286/0.2835, allocations: 263.6 kB / 430 MB, free: 8.008 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 4.532e-05/0.2835, allocations: 15.94 kB / 430 MB, free: 7.992 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.321e-05/0.2835, allocations: 24 kB / 430 MB, free: 7.969 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003007/0.2838, allocations: 259.3 kB / 430.3 MB, free: 7.715 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.164e-05/0.2839, allocations: 0 / 430.3 MB, free: 7.715 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2839, allocations: 0 / 430.3 MB, free: 7.715 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.436e-06/0.2839, allocations: 4 kB / 430.3 MB, free: 7.711 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0004072/0.2843, allocations: 336.6 kB / 430.6 MB, free: 7.359 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.2843, allocations: 16.02 kB / 430.6 MB, free: 7.344 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001054/0.2854, allocations: 318 kB / 430.9 MB, free: 7.016 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001575/0.2855, allocations: 129.6 kB / 431.1 MB, free: 6.863 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.287e-06/0.2855, allocations: 8.562 kB / 431.1 MB, free: 6.855 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.446e-05/0.2856, allocations: 19.92 kB / 431.1 MB, free: 6.836 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002464/0.2858, allocations: 261.8 kB / 431.4 MB, free: 6.543 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.2858, allocations: 0 / 431.4 MB, free: 6.543 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.715e-05/0.2858, allocations: 3.938 kB / 431.4 MB, free: 6.539 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.2858, allocations: 4 kB / 431.4 MB, free: 6.535 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001102/0.286, allocations: 79.95 kB / 431.4 MB, free: 6.457 MB / 394.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.0004788/0.2864, allocations: 428.8 kB / 431.9 MB, free: 6.016 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000141/0.2866, allocations: 102.5 kB / 432 MB, free: 5.906 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.193e-05/0.2866, allocations: 40.84 kB / 432 MB, free: 5.863 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.2866, allocations: 7.984 kB / 432 MB, free: 5.855 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.863e-05/0.2867, allocations: 34.56 kB / 432 MB, free: 5.812 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 1.042e-06/0.2867, allocations: 4 kB / 432 MB, free: 5.809 MB / 394.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.001911/0.2886, allocations: 0.8217 MB / 432.9 MB, free: 4.938 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.172e-05/0.2886, allocations: 55.41 kB / 432.9 MB, free: 4.871 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.319e-05/0.2886, allocations: 112.3 kB / 433 MB, free: 4.75 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.2887, allocations: 29.7 kB / 433.1 MB, free: 4.715 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.407e-05/0.2887, allocations: 103.9 kB / 433.2 MB, free: 4.609 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.774e-05/0.2887, allocations: 75.41 kB / 433.2 MB, free: 4.535 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.109e-05/0.2888, allocations: 41.69 kB / 433.3 MB, free: 4.488 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.694e-05/0.2888, allocations: 322.8 kB / 433.6 MB, free: 4.164 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.476e-05/0.2889, allocations: 31.84 kB / 433.6 MB, free: 4.133 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.901e-05/0.2889, allocations: 63.33 kB / 433.7 MB, free: 4.059 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001/0.289, allocations: 120.2 kB / 433.8 MB, free: 3.93 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.289, allocations: 3.938 kB / 433.8 MB, free: 3.926 MB / 394.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001671/0.2892, allocations: 156.6 kB / 434 MB, free: 3.766 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/0.2892, allocations: 7.938 kB / 434 MB, free: 3.758 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.2892, allocations: 0 / 434 MB, free: 3.758 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-05/0.2893, allocations: 20.84 kB / 434 MB, free: 3.734 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002311/0.2895, allocations: 75.88 kB / 434.1 MB, free: 3.66 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008767/0.2904, allocations: 1.246 MB / 435.3 MB, free: 2.332 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.304e-05/0.2905, allocations: 8 kB / 435.3 MB, free: 2.324 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.152e-05/0.2905, allocations: 12 kB / 435.3 MB, free: 2.312 MB / 394.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 6.699e-05/0.2906, allocations: 124.5 kB / 435.4 MB, free: 2.18 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.882e-05/0.2906, allocations: 15.98 kB / 435.5 MB, free: 2.164 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000213/0.2908, allocations: 193.5 kB / 435.7 MB, free: 1.969 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.2908, allocations: 4 kB / 435.7 MB, free: 1.965 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.2908, allocations: 0 / 435.7 MB, free: 1.965 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.2908, allocations: 4 kB / 435.7 MB, free: 1.961 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003499/0.2912, allocations: 370.6 kB / 436 MB, free: 1.562 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.2912, allocations: 0 / 436 MB, free: 1.562 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000189/0.2914, allocations: 67.92 kB / 436.1 MB, free: 1.496 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.089e-05/0.2914, allocations: 11.91 kB / 436.1 MB, free: 1.484 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.179e-05/0.2914, allocations: 20.98 kB / 436.1 MB, free: 1.461 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.657e-05/0.2914, allocations: 11.98 kB / 436.1 MB, free: 1.449 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004196/0.2919, allocations: 1.159 MB / 437.3 MB, free: 208 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.2919, allocations: 4 kB / 437.3 MB, free: 204 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002218/0.2921, allocations: 302.6 kB / 437.6 MB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.2921, allocations: 12.14 kB / 437.6 MB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.084e-05/0.2922, allocations: 8 kB / 437.6 MB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.821e-05/0.2922, allocations: 23.84 kB / 437.6 MB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.2922, allocations: 19.98 kB / 437.7 MB, free: 15.82 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.27e-05/0.2923, allocations: 12.84 kB / 437.7 MB, free: 15.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 3e-08/0.2923, allocations: 4 kB / 437.7 MB, free: 15.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002025/0.2925, allocations: 71.94 kB / 437.7 MB, free: 15.73 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 (20): * Single equations (assignments): 19 * 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.0002077/0.2927, allocations: 126.2 kB / 437.9 MB, free: 15.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002266/0.2929, allocations: 227 kB / 438.1 MB, free: 15.36 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.2929, allocations: 8.281 kB / 438.1 MB, free: 15.36 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001211/0.293, allocations: 206.5 kB / 438.3 MB, free: 15.14 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002434/0.2933, allocations: 150.3 kB / 438.4 MB, free: 14.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00177/0.295, allocations: 366.7 kB / 438.8 MB, free: 14.59 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.769e-05/0.2951, allocations: 83.83 kB / 438.9 MB, free: 14.49 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001398/0.2952, allocations: 49.69 kB / 438.9 MB, free: 14.44 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000175/0.2954, allocations: 103.3 kB / 439 MB, free: 14.34 MB / 410.7 MB Notification: Performance of SimCode: time 4.31e-07/0.2954, allocations: 0 / 439 MB, free: 14.34 MB / 410.7 MB Notification: Performance of Templates: time 0.006586/0.302, allocations: 5.554 MB / 444.6 MB, free: 8.844 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.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: 2.990947524085641]