Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.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.001232/0.001232, allocations: 85.8 kB / 21.42 MB, free: 3.07 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.001376/0.001376, allocations: 165.9 kB / 24.82 MB, free: 8.32 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 1.01/1.01, allocations: 177 MB / 205.1 MB, free: 5.504 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.3018/0.3018, allocations: 34.87 MB / 296.6 MB, free: 0.5117 MB / 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.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 379.2 MB, free: 1.902 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.271e-05/3.486e-05, allocations: 6.312 kB / 379.2 MB, free: 1.895 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.294/0.2941, allocations: 142.6 MB / 0.5095 GB, free: 18.48 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001008/0.2951, allocations: 1.055 MB / 0.5106 GB, free: 17.8 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.97e-05/0.2952, allocations: 0 / 0.5106 GB, free: 17.8 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002541/0.2954, allocations: 30.69 kB / 0.5106 GB, free: 17.78 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006396/0.296, allocations: 287.7 kB / 0.5109 GB, free: 17.64 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003033/0.2964, allocations: 114 kB / 0.511 GB, free: 17.59 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001955/0.2965, allocations: 184.3 kB / 0.5112 GB, free: 17.5 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.329e-05/0.2966, allocations: 3.406 kB / 0.5112 GB, free: 17.5 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001969/0.2968, allocations: 123.2 kB / 0.5113 GB, free: 17.45 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.313e-05/0.2969, allocations: 51.97 kB / 0.5113 GB, free: 17.44 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.773e-05/0.2969, allocations: 5.5 kB / 0.5113 GB, free: 17.44 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004023/0.2973, allocations: 268 kB / 0.5116 GB, free: 17.37 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.033e-05/0.2973, allocations: 17.94 kB / 0.5116 GB, free: 17.36 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.307e-05/0.2974, allocations: 35.66 kB / 0.5116 GB, free: 17.35 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003704/0.2977, allocations: 297.6 kB / 0.5119 GB, free: 17.25 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.2977, allocations: 8.781 kB / 0.5119 GB, free: 17.25 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.2977, allocations: 1.375 kB / 0.5119 GB, free: 17.25 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.2978, allocations: 0 / 0.5119 GB, free: 17.25 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0003513/0.2981, allocations: 446.1 kB / 0.5124 GB, free: 16.83 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.2981, allocations: 9.625 kB / 0.5124 GB, free: 16.83 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001056/0.2992, allocations: 209.9 kB / 0.5126 GB, free: 16.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001672/0.2994, allocations: 147.1 kB / 0.5127 GB, free: 16.65 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.2994, allocations: 11.95 kB / 0.5127 GB, free: 16.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.333e-05/0.2994, allocations: 15.14 kB / 0.5127 GB, free: 16.64 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002603/0.2997, allocations: 275.1 kB / 0.513 GB, free: 16.45 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.091e-06/0.2997, allocations: 0 / 0.513 GB, free: 16.45 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.056e-05/0.2997, allocations: 6.391 kB / 0.513 GB, free: 16.44 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.2997, allocations: 2.75 kB / 0.513 GB, free: 16.44 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001518/0.2998, allocations: 104 kB / 0.5131 GB, free: 16.43 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.0005264/0.3004, allocations: 0.6115 MB / 0.5137 GB, free: 15.88 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001564/0.3005, allocations: 122.2 kB / 0.5138 GB, free: 15.82 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.593e-05/0.3006, allocations: 53.73 kB / 0.5139 GB, free: 15.81 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.665e-05/0.3006, allocations: 12.12 kB / 0.5139 GB, free: 15.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.56e-05/0.3006, allocations: 36.27 kB / 0.5139 GB, free: 15.76 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.062e-06/0.3006, allocations: 0 / 0.5139 GB, free: 15.76 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.002128/0.3028, allocations: 0.8573 MB / 0.5148 GB, free: 15.36 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.455e-05/0.3028, allocations: 55.39 kB / 0.5148 GB, free: 15.29 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.558e-05/0.3028, allocations: 168.7 kB / 0.515 GB, free: 15.12 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.3028, allocations: 33.44 kB / 0.515 GB, free: 15.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.97e-05/0.3029, allocations: 142.8 kB / 0.5151 GB, free: 14.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.141e-05/0.3029, allocations: 77.06 kB / 0.5152 GB, free: 14.89 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.49e-05/0.303, allocations: 53.03 kB / 0.5153 GB, free: 14.85 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.383e-05/0.303, allocations: 0.4977 MB / 0.5157 GB, free: 14.35 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.504e-05/0.303, allocations: 39.38 kB / 0.5158 GB, free: 14.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.066e-05/0.3031, allocations: 82.5 kB / 0.5159 GB, free: 14.29 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001109/0.3032, allocations: 137.2 kB / 0.516 GB, free: 14.21 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.3032, allocations: 0 / 0.516 GB, free: 14.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002442/0.3035, allocations: 207.3 kB / 0.5162 GB, free: 14.14 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.3035, allocations: 15.05 kB / 0.5162 GB, free: 14.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.3035, allocations: 0 / 0.5162 GB, free: 14.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001532/0.3036, allocations: 53.28 kB / 0.5163 GB, free: 14.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001515/0.3038, allocations: 53.69 kB / 0.5163 GB, free: 14.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001732/0.304, allocations: 0.8118 MB / 0.5171 GB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.571e-05/0.304, allocations: 10.69 kB / 0.5171 GB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.084e-05/0.304, allocations: 16.56 kB / 0.5171 GB, free: 13.3 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 6.529e-05/0.3041, allocations: 163.5 kB / 0.5173 GB, free: 13.13 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.351e-05/0.3041, allocations: 20.5 kB / 0.5173 GB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002864/0.3044, allocations: 247 kB / 0.5175 GB, free: 13.03 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.3044, allocations: 6.469 kB / 0.5175 GB, free: 13.02 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/0.3044, allocations: 0 / 0.5175 GB, free: 13.02 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.3044, allocations: 0 / 0.5175 GB, free: 13.02 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004113/0.3048, allocations: 0.5194 MB / 0.518 GB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.3048, allocations: 0 / 0.518 GB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001452/0.305, allocations: 58.42 kB / 0.5181 GB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-05/0.305, allocations: 27.77 kB / 0.5181 GB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.3051, allocations: 12.59 kB / 0.5181 GB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003649/0.3054, allocations: 1.698 MB / 0.5198 GB, free: 10.88 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3054, allocations: 0 / 0.5198 GB, free: 10.88 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002662/0.3057, allocations: 416.6 kB / 0.5202 GB, free: 10.6 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.127e-06/0.3057, allocations: 13.44 kB / 0.5202 GB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.3057, allocations: 6.781 kB / 0.5202 GB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.879e-05/0.3058, allocations: 6.656 kB / 0.5202 GB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.614e-05/0.3058, allocations: 21.11 kB / 0.5202 GB, free: 10.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.996e-05/0.3059, allocations: 27.03 kB / 0.5203 GB, free: 10.57 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.971e-05/0.3059, allocations: 127.2 kB / 0.5204 GB, free: 10.46 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3059, allocations: 0 / 0.5204 GB, free: 10.46 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002474/0.3061, allocations: 84.72 kB / 0.5205 GB, free: 10.44 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.000215/0.3063, allocations: 153.5 kB / 0.5206 GB, free: 10.33 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002006/0.3065, allocations: 154.2 kB / 0.5208 GB, free: 10.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3065, allocations: 0 / 0.5208 GB, free: 10.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001356/0.3067, allocations: 261.5 kB / 0.521 GB, free: 10.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002631/0.3069, allocations: 67.78 kB / 0.5211 GB, free: 10.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006377/0.3076, allocations: 392.5 kB / 0.5215 GB, free: 9.797 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.091e-05/0.3076, allocations: 73.31 kB / 0.5215 GB, free: 9.727 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001565/0.3078, allocations: 59.8 kB / 0.5216 GB, free: 9.699 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001779/0.3079, allocations: 143.7 kB / 0.5217 GB, free: 9.629 MB / 410.7 MB Notification: Performance of SimCode: time 6.91e-07/0.3079, allocations: 2.656 kB / 0.5217 GB, free: 9.629 MB / 410.7 MB Notification: Performance of Templates: time 0.007285/0.3152, allocations: 5.948 MB / 0.5275 GB, free: 9.051 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.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.32131876796484]