Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.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.001271/0.001271, allocations: 80.17 kB / 9.913 MB, free: 0.7734 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001656/0.002927, allocations: 443.8 kB / 10.35 MB, free: 348 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.00109/0.00109, allocations: 157.2 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001442/0.002531, allocations: 463.6 kB / 11.69 MB, free: 2.477 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 1.033/1.033, allocations: 158.6 MB / 171 MB, free: 2.164 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1775/1.211, allocations: 49.5 MB / 220.5 MB, free: 5.258 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1239/0.1239, allocations: 32.34 MB / 253.6 MB, free: 4.156 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02209/0.1459, allocations: 12.3 MB / 265.9 MB, free: 7.816 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 267.2 MB, free: 6.555 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.85e-05/1.978e-05, allocations: 6.25 kB / 267.2 MB, free: 6.547 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.2838/0.2838, allocations: 143.6 MB / 410.8 MB, free: 7.77 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001565/0.2854, allocations: 1.537 MB / 412.3 MB, free: 6.246 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.114e-05/0.2854, allocations: 4 kB / 412.4 MB, free: 6.242 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002626/0.2857, allocations: 35.77 kB / 412.4 MB, free: 6.207 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008574/0.2865, allocations: 397.8 kB / 412.8 MB, free: 5.824 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004557/0.287, allocations: 175.4 kB / 412.9 MB, free: 5.652 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002594/0.2873, allocations: 183.2 kB / 413.1 MB, free: 5.473 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.257e-05/0.2873, allocations: 11.88 kB / 413.1 MB, free: 5.461 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001769/0.2875, allocations: 108.3 kB / 413.2 MB, free: 5.355 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.2876, allocations: 55.8 kB / 413.3 MB, free: 5.301 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.78e-05/0.2876, allocations: 8 kB / 413.3 MB, free: 5.293 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008405/0.2885, allocations: 0.5376 MB / 413.8 MB, free: 4.754 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.429e-05/0.2885, allocations: 23.92 kB / 413.9 MB, free: 4.73 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.562e-05/0.2886, allocations: 28 kB / 413.9 MB, free: 4.703 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005232/0.2891, allocations: 355.1 kB / 414.2 MB, free: 4.355 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.439e-05/0.2891, allocations: 0 / 414.2 MB, free: 4.355 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2891, allocations: 0 / 414.2 MB, free: 4.355 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.537e-05/0.2891, allocations: 0 / 414.2 MB, free: 4.355 MB / 362.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.0005355/0.2897, allocations: 380.7 kB / 414.6 MB, free: 3.961 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.2897, allocations: 8.031 kB / 414.6 MB, free: 3.953 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001082/0.2908, allocations: 321.5 kB / 414.9 MB, free: 3.621 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002151/0.291, allocations: 133.6 kB / 415.1 MB, free: 3.465 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.291, allocations: 4.562 kB / 415.1 MB, free: 3.461 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.117e-05/0.291, allocations: 16.56 kB / 415.1 MB, free: 3.445 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002473/0.2913, allocations: 238.1 kB / 415.3 MB, free: 3.184 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.2913, allocations: 3.984 kB / 415.3 MB, free: 3.18 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.282e-05/0.2913, allocations: 8 kB / 415.3 MB, free: 3.172 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.2913, allocations: 0 / 415.3 MB, free: 3.172 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001395/0.2915, allocations: 103.8 kB / 415.4 MB, free: 3.07 MB / 362.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.0007722/0.2922, allocations: 357.5 kB / 415.8 MB, free: 2.703 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001658/0.2924, allocations: 134.6 kB / 415.9 MB, free: 2.566 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.358e-05/0.2925, allocations: 48.84 kB / 416 MB, free: 2.516 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001049/0.2926, allocations: 19.98 kB / 416 MB, free: 2.496 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.2926, allocations: 34.5 kB / 416 MB, free: 2.453 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.973e-06/0.2926, allocations: 0 / 416 MB, free: 2.453 MB / 362.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.002165/0.2948, allocations: 1.017 MB / 417 MB, free: 1.371 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.784e-05/0.2948, allocations: 59.34 kB / 417.1 MB, free: 1.301 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.304e-05/0.2948, allocations: 114.6 kB / 417.2 MB, free: 1.176 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.2949, allocations: 33.7 kB / 417.2 MB, free: 1.137 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.399e-05/0.2949, allocations: 100.3 kB / 417.3 MB, free: 1.035 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.116e-05/0.2949, allocations: 67.42 kB / 417.4 MB, free: 0.9688 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.95e-05/0.295, allocations: 42.3 kB / 417.4 MB, free: 0.9219 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.327e-05/0.2951, allocations: 322.8 kB / 417.8 MB, free: 0.5977 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.182e-05/0.2951, allocations: 48.86 kB / 417.8 MB, free: 0.5508 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.695e-05/0.2952, allocations: 79.19 kB / 417.9 MB, free: 472 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/0.2953, allocations: 130.1 kB / 418 MB, free: 328 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2953, allocations: 0 / 418 MB, free: 328 kB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002356/0.2956, allocations: 170.4 kB / 418.2 MB, free: 148 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.2956, allocations: 4 kB / 418.2 MB, free: 144 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.2956, allocations: 0 / 418.2 MB, free: 144 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001155/0.2957, allocations: 24.78 kB / 418.2 MB, free: 116 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002996/0.296, allocations: 81.17 kB / 418.3 MB, free: 36 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001013/0.297, allocations: 1.236 MB / 419.5 MB, free: 14.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001268/0.2971, allocations: 14.61 kB / 419.5 MB, free: 14.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.011e-05/0.2972, allocations: 8.312 kB / 419.5 MB, free: 14.69 MB / 378.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.165e-05/0.2972, allocations: 116.7 kB / 419.6 MB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.465e-05/0.2973, allocations: 19.92 kB / 419.7 MB, free: 14.55 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002552/0.2976, allocations: 207.1 kB / 419.9 MB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.2976, allocations: 0 / 419.9 MB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.2976, allocations: 4 kB / 419.9 MB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.2976, allocations: 0 / 419.9 MB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004196/0.298, allocations: 401.9 kB / 420.3 MB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.298, allocations: 0 / 420.3 MB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002339/0.2982, allocations: 63.92 kB / 420.3 MB, free: 13.84 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.248e-05/0.2982, allocations: 7.953 kB / 420.3 MB, free: 13.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.934e-05/0.2983, allocations: 24.78 kB / 420.4 MB, free: 13.81 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.674e-05/0.2983, allocations: 15.88 kB / 420.4 MB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004801/0.2988, allocations: 1.159 MB / 421.5 MB, free: 12.55 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/0.2988, allocations: 0 / 421.5 MB, free: 12.55 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003139/0.2991, allocations: 349.9 kB / 421.9 MB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.167e-05/0.2991, allocations: 7.984 kB / 421.9 MB, free: 12.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/0.2993, allocations: 12.16 kB / 421.9 MB, free: 12.16 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.802e-05/0.2993, allocations: 19.97 kB / 421.9 MB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.2993, allocations: 7.984 kB / 421.9 MB, free: 12.13 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.249e-05/0.2993, allocations: 12.86 kB / 421.9 MB, free: 12.12 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2993, allocations: 0 / 421.9 MB, free: 12.12 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003476/0.2997, allocations: 123.7 kB / 422.1 MB, free: 12 MB / 378.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.0003906/0.3001, allocations: 207.9 kB / 422.3 MB, free: 11.78 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003034/0.3004, allocations: 255.5 kB / 422.5 MB, free: 11.52 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/0.3004, allocations: 4 kB / 422.5 MB, free: 11.52 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001268/0.3005, allocations: 199.3 kB / 422.7 MB, free: 11.3 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000227/0.3007, allocations: 60.36 kB / 422.8 MB, free: 11.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001887/0.3026, allocations: 376.8 kB / 423.1 MB, free: 10.84 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.739e-05/0.3027, allocations: 68 kB / 423.2 MB, free: 10.76 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001953/0.3029, allocations: 49.45 kB / 423.3 MB, free: 10.71 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001917/0.3031, allocations: 113.2 kB / 423.4 MB, free: 10.6 MB / 378.7 MB Notification: Performance of SimCode: time 6.62e-07/0.3031, allocations: 0 / 423.4 MB, free: 10.6 MB / 378.7 MB Notification: Performance of Templates: time 0.008647/0.3117, allocations: 6.714 MB / 430.1 MB, free: 3.93 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.2254586033523083]