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.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.001014/0.001014, 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.002013/0.002013, allocations: 168.4 kB / 25.61 MB, free: 8.582 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.9667/0.9667, allocations: 177.1 MB / 206.1 MB, free: 4.445 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.1411/0.1411, allocations: 32.8 MB / 295.4 MB, free: 15.33 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.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.543e-06/1.543e-06, allocations: 0 / 377.2 MB, free: 25.6 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.513e-05/2.667e-05, allocations: 2.312 kB / 377.2 MB, free: 25.6 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.3019/0.302, allocations: 142.5 MB / 0.5076 GB, free: 17.03 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008119/0.3028, allocations: 0.9648 MB / 0.5085 GB, free: 17.02 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.45e-05/0.3028, allocations: 0 / 0.5085 GB, free: 17.02 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002249/0.3031, allocations: 33.73 kB / 0.5086 GB, free: 17.01 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005277/0.3036, allocations: 253 kB / 0.5088 GB, free: 17 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002733/0.3039, allocations: 119.2 kB / 0.5089 GB, free: 17 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002283/0.3041, allocations: 170.9 kB / 0.5091 GB, free: 17 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.182e-05/0.3041, allocations: 7.938 kB / 0.5091 GB, free: 17 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002058/0.3043, allocations: 117.8 kB / 0.5092 GB, free: 17 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.458e-05/0.3044, allocations: 42.25 kB / 0.5092 GB, free: 17 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.145e-05/0.3044, allocations: 5.031 kB / 0.5093 GB, free: 17 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000479/0.3049, allocations: 258.8 kB / 0.5095 GB, free: 16.99 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.89e-05/0.305, allocations: 21.08 kB / 0.5095 GB, free: 16.99 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.022e-05/0.305, allocations: 36.67 kB / 0.5096 GB, free: 16.99 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004621/0.3055, allocations: 305.3 kB / 0.5098 GB, free: 16.98 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3055, allocations: 4.562 kB / 0.5099 GB, free: 16.97 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3055, allocations: 0 / 0.5099 GB, free: 16.97 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.3055, allocations: 0.5625 kB / 0.5099 GB, free: 16.97 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.000375/0.3059, allocations: 440 kB / 0.5103 GB, free: 16.58 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.3059, allocations: 13.3 kB / 0.5103 GB, free: 16.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001121/0.307, allocations: 218.6 kB / 0.5105 GB, free: 16.55 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001653/0.3072, allocations: 148.7 kB / 0.5106 GB, free: 16.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.3072, allocations: 15.67 kB / 0.5107 GB, free: 16.42 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.465e-05/0.3073, allocations: 12.25 kB / 0.5107 GB, free: 16.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002399/0.3075, allocations: 272.7 kB / 0.5109 GB, free: 16.24 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.3075, allocations: 0 / 0.5109 GB, free: 16.24 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.298e-05/0.3075, allocations: 5.25 kB / 0.5109 GB, free: 16.24 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.3075, allocations: 6.094 kB / 0.5109 GB, free: 16.24 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001319/0.3077, allocations: 106.3 kB / 0.511 GB, free: 16.23 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.0004868/0.3081, allocations: 0.6145 MB / 0.5116 GB, free: 15.72 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001421/0.3083, allocations: 117.8 kB / 0.5117 GB, free: 15.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.532e-05/0.3083, allocations: 51.36 kB / 0.5118 GB, free: 15.67 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.581e-05/0.3084, allocations: 5 kB / 0.5118 GB, free: 15.67 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.55e-05/0.3084, allocations: 40.89 kB / 0.5118 GB, free: 15.62 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.192e-06/0.3084, allocations: 0 / 0.5118 GB, free: 15.62 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.00214/0.3105, allocations: 0.8522 MB / 0.5127 GB, free: 15.31 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.516e-05/0.3105, allocations: 54.34 kB / 0.5127 GB, free: 15.25 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.693e-05/0.3106, allocations: 169.5 kB / 0.5129 GB, free: 15.08 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.3106, allocations: 32.67 kB / 0.5129 GB, free: 15.05 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.052e-05/0.3106, allocations: 144.4 kB / 0.5131 GB, free: 14.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.961e-05/0.3106, allocations: 68.61 kB / 0.5131 GB, free: 14.86 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.732e-05/0.3107, allocations: 55.73 kB / 0.5132 GB, free: 14.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.303e-05/0.3107, allocations: 0.4951 MB / 0.5137 GB, free: 14.35 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.458e-05/0.3108, allocations: 34.2 kB / 0.5137 GB, free: 14.35 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.694e-05/0.3108, allocations: 83.61 kB / 0.5138 GB, free: 14.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/0.311, allocations: 137.1 kB / 0.5139 GB, free: 14.25 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.311, allocations: 1.203 kB / 0.5139 GB, free: 14.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002006/0.3112, allocations: 205.3 kB / 0.5141 GB, free: 14.19 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.3112, allocations: 7 kB / 0.5141 GB, free: 14.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.3112, allocations: 0 / 0.5141 GB, free: 14.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.606e-05/0.3113, allocations: 36.62 kB / 0.5141 GB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001626/0.3114, allocations: 52.89 kB / 0.5142 GB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001828/0.3116, allocations: 0.805 MB / 0.515 GB, free: 13.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.349e-05/0.3117, allocations: 10.5 kB / 0.515 GB, free: 13.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.509e-05/0.3117, allocations: 24.39 kB / 0.515 GB, free: 13.38 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.166e-05/0.3118, allocations: 164.2 kB / 0.5152 GB, free: 13.21 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.884e-05/0.3118, allocations: 21.86 kB / 0.5152 GB, free: 13.21 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002972/0.3121, allocations: 254.7 kB / 0.5154 GB, free: 13.15 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3121, allocations: 0 / 0.5154 GB, free: 13.15 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.3121, allocations: 2.781 kB / 0.5154 GB, free: 13.15 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3121, allocations: 3.141 kB / 0.5154 GB, free: 13.15 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004158/0.3125, allocations: 0.5142 MB / 0.5159 GB, free: 12.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.3125, allocations: 0 / 0.5159 GB, free: 12.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001559/0.3127, allocations: 53.36 kB / 0.516 GB, free: 12.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.764e-05/0.3128, allocations: 25.42 kB / 0.516 GB, free: 12.81 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.3128, allocations: 15.08 kB / 0.516 GB, free: 12.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004296/0.3132, allocations: 1.712 MB / 0.5177 GB, free: 11.1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3132, allocations: 3.438 kB / 0.5177 GB, free: 11.1 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003018/0.3135, allocations: 415.2 kB / 0.5181 GB, free: 10.85 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.006e-05/0.3135, allocations: 6.828 kB / 0.5181 GB, free: 10.85 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.3135, allocations: 9.531 kB / 0.5181 GB, free: 10.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.3136, allocations: 8.625 kB / 0.5181 GB, free: 10.85 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.015e-05/0.3137, allocations: 20.78 kB / 0.5181 GB, free: 10.85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.093e-05/0.3137, allocations: 21.48 kB / 0.5182 GB, free: 10.84 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.997e-05/0.3137, allocations: 127.4 kB / 0.5183 GB, free: 10.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3137, allocations: 1.094 kB / 0.5183 GB, free: 10.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002586/0.314, allocations: 76.94 kB / 0.5184 GB, free: 10.72 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.0002185/0.3142, allocations: 159.3 kB / 0.5185 GB, free: 10.62 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002094/0.3144, allocations: 154.3 kB / 0.5187 GB, free: 10.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.3144, allocations: 0 / 0.5187 GB, free: 10.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001372/0.3145, allocations: 260.9 kB / 0.5189 GB, free: 10.41 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000264/0.3148, allocations: 58.19 kB / 0.519 GB, free: 10.41 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006251/0.3154, allocations: 407.6 kB / 0.5193 GB, free: 10.14 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.019e-05/0.3155, allocations: 69.47 kB / 0.5194 GB, free: 10.07 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001591/0.3156, allocations: 65.64 kB / 0.5195 GB, free: 10.04 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001777/0.3158, allocations: 140.4 kB / 0.5196 GB, free: 9.965 MB / 410.7 MB Notification: Performance of SimCode: time 9.51e-07/0.3158, allocations: 2.5 kB / 0.5196 GB, free: 9.965 MB / 410.7 MB Notification: Performance of Templates: time 0.006757/0.3226, allocations: 6.008 MB / 0.5255 GB, free: 9.418 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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.5909896111115813]