Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001103/0.001103, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.001473/0.001473, allocations: 170.4 kB / 25.61 MB, free: 8.902 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9652/0.9652, allocations: 177.1 MB / 206 MB, free: 4.504 MB / 186.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.1421/0.1421, allocations: 32.8 MB / 295.4 MB, free: 15.39 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 377.2 MB, free: 25.62 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.677e-05/1.805e-05, allocations: 2.312 kB / 377.2 MB, free: 25.62 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.2955/0.2956, allocations: 142.7 MB / 0.5078 GB, free: 14.53 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001147/0.2967, allocations: 1.603 MB / 0.5094 GB, free: 14.51 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.869e-05/0.2968, allocations: 0 / 0.5094 GB, free: 14.51 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003025/0.2971, allocations: 47.8 kB / 0.5094 GB, free: 14.51 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000711/0.2978, allocations: 425.9 kB / 0.5098 GB, free: 14.49 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003029/0.2981, allocations: 177.9 kB / 0.51 GB, free: 14.48 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001862/0.2983, allocations: 185.5 kB / 0.5102 GB, free: 14.48 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.582e-05/0.2983, allocations: 6.375 kB / 0.5102 GB, free: 14.48 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001446/0.2984, allocations: 107.1 kB / 0.5103 GB, free: 14.48 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.2985, allocations: 51.45 kB / 0.5103 GB, free: 14.48 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.2986, allocations: 8 kB / 0.5103 GB, free: 14.48 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007073/0.2993, allocations: 0.5499 MB / 0.5109 GB, free: 14.47 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.88e-05/0.2994, allocations: 37.09 kB / 0.5109 GB, free: 14.47 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.741e-05/0.2994, allocations: 33.75 kB / 0.5109 GB, free: 14.47 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007423/0.3002, allocations: 433.9 kB / 0.5113 GB, free: 14.45 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3002, allocations: 0 / 0.5113 GB, free: 14.45 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.133e-06/0.3002, allocations: 0.5938 kB / 0.5113 GB, free: 14.45 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.419e-06/0.3002, allocations: 0 / 0.5113 GB, free: 14.45 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.0004484/0.3006, allocations: 465.7 kB / 0.5118 GB, free: 14.04 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.3007, allocations: 13.2 kB / 0.5118 GB, free: 14.03 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001172/0.3018, allocations: 218.4 kB / 0.512 GB, free: 14.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001717/0.302, allocations: 156.4 kB / 0.5121 GB, free: 13.88 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.302, allocations: 11.19 kB / 0.5122 GB, free: 13.88 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.672e-05/0.3021, allocations: 16.23 kB / 0.5122 GB, free: 13.87 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002103/0.3023, allocations: 233.5 kB / 0.5124 GB, free: 13.73 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.3023, allocations: 0 / 0.5124 GB, free: 13.73 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.308e-05/0.3023, allocations: 5.156 kB / 0.5124 GB, free: 13.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.3023, allocations: 3.375 kB / 0.5124 GB, free: 13.73 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001523/0.3025, allocations: 132.6 kB / 0.5125 GB, free: 13.72 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.0007782/0.3032, allocations: 0.521 MB / 0.513 GB, free: 13.42 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001785/0.3034, allocations: 151.5 kB / 0.5132 GB, free: 13.38 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.087e-05/0.3035, allocations: 73.44 kB / 0.5133 GB, free: 13.37 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.514e-05/0.3035, allocations: 10.45 kB / 0.5133 GB, free: 13.37 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.79e-05/0.3036, allocations: 45.3 kB / 0.5133 GB, free: 13.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.052e-06/0.3036, allocations: 0 / 0.5133 GB, free: 13.32 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.002268/0.3058, allocations: 1.043 MB / 0.5143 GB, free: 12.88 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.639e-05/0.3058, allocations: 55.75 kB / 0.5144 GB, free: 12.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.345e-05/0.3059, allocations: 171.7 kB / 0.5145 GB, free: 12.65 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.3059, allocations: 31.98 kB / 0.5146 GB, free: 12.62 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.723e-05/0.306, allocations: 147.2 kB / 0.5147 GB, free: 12.48 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.615e-05/0.306, allocations: 69.27 kB / 0.5148 GB, free: 12.44 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.122e-05/0.3061, allocations: 51.08 kB / 0.5148 GB, free: 12.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.341e-05/0.3061, allocations: 0.4898 MB / 0.5153 GB, free: 11.92 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.837e-05/0.3062, allocations: 47.36 kB / 0.5154 GB, free: 11.92 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.485e-05/0.3062, allocations: 103.4 kB / 0.5155 GB, free: 11.88 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/0.3064, allocations: 162.7 kB / 0.5156 GB, free: 11.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.3064, allocations: 0 / 0.5156 GB, free: 11.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002485/0.3066, allocations: 216.6 kB / 0.5158 GB, free: 11.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.3066, allocations: 5.688 kB / 0.5158 GB, free: 11.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.3067, allocations: 3.984 kB / 0.5158 GB, free: 11.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.392e-05/0.3067, allocations: 41.06 kB / 0.5159 GB, free: 11.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002144/0.307, allocations: 53.17 kB / 0.5159 GB, free: 11.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001777/0.3071, allocations: 0.795 MB / 0.5167 GB, free: 10.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001283/0.3073, allocations: 5.469 kB / 0.5167 GB, free: 10.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.225e-05/0.3073, allocations: 12.22 kB / 0.5167 GB, free: 10.95 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 7.185e-05/0.3074, allocations: 162.4 kB / 0.5169 GB, free: 10.78 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.218e-05/0.3074, allocations: 26.38 kB / 0.5169 GB, free: 10.77 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003035/0.3077, allocations: 245.9 kB / 0.5171 GB, free: 10.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.155e-06/0.3077, allocations: 2.719 kB / 0.5171 GB, free: 10.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.3077, allocations: 2.25 kB / 0.5171 GB, free: 10.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.3077, allocations: 0 / 0.5171 GB, free: 10.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004662/0.3082, allocations: 0.5615 MB / 0.5177 GB, free: 10.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.3082, allocations: 0 / 0.5177 GB, free: 10.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002008/0.3084, allocations: 49.11 kB / 0.5177 GB, free: 10.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.29e-05/0.3085, allocations: 24.47 kB / 0.5177 GB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.3085, allocations: 4.984 kB / 0.5177 GB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003918/0.3089, allocations: 1.724 MB / 0.5194 GB, free: 8.605 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3089, allocations: 3.766 kB / 0.5194 GB, free: 8.605 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003315/0.3092, allocations: 444.8 kB / 0.5199 GB, free: 8.355 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.041e-05/0.3092, allocations: 15.25 kB / 0.5199 GB, free: 8.352 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.111e-05/0.3092, allocations: 2.5 kB / 0.5199 GB, free: 8.352 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/0.3094, allocations: 14.62 kB / 0.5199 GB, free: 8.348 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.333e-05/0.3094, allocations: 16.88 kB / 0.5199 GB, free: 8.348 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-05/0.3094, allocations: 11.38 kB / 0.5199 GB, free: 8.344 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.092e-05/0.3094, allocations: 127.3 kB / 0.52 GB, free: 8.227 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3094, allocations: 0 / 0.52 GB, free: 8.227 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003552/0.3098, allocations: 137.3 kB / 0.5202 GB, free: 8.207 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.0004154/0.3102, allocations: 268 kB / 0.5204 GB, free: 8.082 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002488/0.3105, allocations: 181.3 kB / 0.5206 GB, free: 8.055 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3105, allocations: 0 / 0.5206 GB, free: 8.055 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001591/0.3106, allocations: 270.5 kB / 0.5209 GB, free: 7.863 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002692/0.3109, allocations: 52.52 kB / 0.5209 GB, free: 7.863 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006404/0.3115, allocations: 394.9 kB / 0.5213 GB, free: 7.582 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.852e-05/0.3116, allocations: 70.64 kB / 0.5213 GB, free: 7.512 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001618/0.3117, allocations: 51.61 kB / 0.5214 GB, free: 7.477 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000162/0.3119, allocations: 125.4 kB / 0.5215 GB, free: 7.41 MB / 410.7 MB Notification: Performance of SimCode: time 6.21e-07/0.3119, allocations: 0 / 0.5215 GB, free: 7.41 MB / 410.7 MB Notification: Performance of Templates: time 0.007713/0.3196, allocations: 7.254 MB / 0.5286 GB, free: 5.566 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.5560448952019215]