Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.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.001629/0.001629, allocations: 110.3 kB / 21.93 MB, free: 5.219 MB / 14.72 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.001766/0.001766, allocations: 213.5 kB / 25.22 MB, free: 3.027 MB / 14.72 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.468/1.468, allocations: 207.7 MB / 236.1 MB, free: 9.805 MB / 190.1 MB " [Timeout remaining time 178] 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(Modelica.Media.Examples.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002088/0.002088, allocations: 54.58 kB / 348.4 MB, free: 9.391 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.2995, allocations: 49.16 MB / 397.6 MB, free: 9.387 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2): time 0.1774/0.4769, allocations: 129.5 MB / 0.5148 GB, free: 1.211 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001504/0.4784, allocations: 0.8801 MB / 0.5156 GB, free: 336 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.9e-05/0.4785, allocations: 0 / 0.5156 GB, free: 336 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002745/0.4787, allocations: 27.78 kB / 0.5156 GB, free: 308 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008103/0.4795, allocations: 250.4 kB / 0.5159 GB, free: 60 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004413/0.48, allocations: 119.7 kB / 0.516 GB, free: 15.94 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000288/0.4803, allocations: 175.2 kB / 0.5162 GB, free: 15.77 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.567e-05/0.4803, allocations: 4 kB / 0.5162 GB, free: 15.77 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002655/0.4806, allocations: 87.69 kB / 0.5162 GB, free: 15.68 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.4807, allocations: 47.77 kB / 0.5163 GB, free: 15.63 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.116e-05/0.4807, allocations: 8 kB / 0.5163 GB, free: 15.62 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005927/0.4813, allocations: 259.7 kB / 0.5165 GB, free: 15.37 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.124e-05/0.4814, allocations: 19.92 kB / 0.5166 GB, free: 15.35 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.37e-05/0.4815, allocations: 35.86 kB / 0.5166 GB, free: 15.32 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005657/0.482, allocations: 289.7 kB / 0.5169 GB, free: 15.04 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.482, allocations: 0 / 0.5169 GB, free: 15.04 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.534e-06/0.482, allocations: 3.938 kB / 0.5169 GB, free: 15.04 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.086e-05/0.482, allocations: 0 / 0.5169 GB, free: 15.04 MB / 446.1 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.0006361/0.4827, allocations: 329.8 kB / 0.5172 GB, free: 14.68 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.4827, allocations: 15.98 kB / 0.5172 GB, free: 14.67 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002115/0.4848, allocations: 184.6 kB / 0.5174 GB, free: 14.49 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003636/0.4852, allocations: 162.4 kB / 0.5175 GB, free: 14.3 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.4852, allocations: 11.89 kB / 0.5176 GB, free: 14.29 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.334e-05/0.4853, allocations: 8 kB / 0.5176 GB, free: 14.29 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005831/0.4859, allocations: 297.2 kB / 0.5178 GB, free: 13.96 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.4859, allocations: 0 / 0.5178 GB, free: 13.96 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.247e-05/0.4859, allocations: 4 kB / 0.5178 GB, free: 13.96 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.4859, allocations: 4 kB / 0.5179 GB, free: 13.95 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004656/0.4864, allocations: 171.8 kB / 0.518 GB, free: 13.79 MB / 446.1 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.001112/0.4875, allocations: 0.5167 MB / 0.5185 GB, free: 13.23 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003568/0.4878, allocations: 130.5 kB / 0.5186 GB, free: 13.09 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001448/0.488, allocations: 64.83 kB / 0.5187 GB, free: 13.03 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.398e-05/0.488, allocations: 0 / 0.5187 GB, free: 13.03 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/0.488, allocations: 38.56 kB / 0.5187 GB, free: 12.98 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.112e-06/0.488, allocations: 0 / 0.5187 GB, free: 12.98 MB / 446.1 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.005277/0.4933, allocations: 1.152 MB / 0.5199 GB, free: 11.77 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/0.4934, allocations: 51.41 kB / 0.5199 GB, free: 11.71 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.952e-05/0.4935, allocations: 109.8 kB / 0.52 GB, free: 11.59 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.28e-05/0.4935, allocations: 29.7 kB / 0.5201 GB, free: 11.55 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.377e-05/0.4936, allocations: 107.9 kB / 0.5202 GB, free: 11.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.014e-05/0.4936, allocations: 67.42 kB / 0.5202 GB, free: 11.38 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.4937, allocations: 61.64 kB / 0.5203 GB, free: 11.31 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.4939, allocations: 322.8 kB / 0.5206 GB, free: 10.99 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001592/0.494, allocations: 67.97 kB / 0.5206 GB, free: 10.92 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001859/0.4942, allocations: 103.2 kB / 0.5207 GB, free: 10.81 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000353/0.4946, allocations: 183.3 kB / 0.5209 GB, free: 10.62 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.4946, allocations: 0 / 0.5209 GB, free: 10.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005205/0.4951, allocations: 262.2 kB / 0.5212 GB, free: 10.35 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.4951, allocations: 8 kB / 0.5212 GB, free: 10.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.4951, allocations: 0 / 0.5212 GB, free: 10.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001879/0.4953, allocations: 48.83 kB / 0.5212 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003196/0.4956, allocations: 55.89 kB / 0.5213 GB, free: 10.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004884/0.4961, allocations: 0.5757 MB / 0.5218 GB, free: 9.637 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001737/0.4963, allocations: 8 kB / 0.5218 GB, free: 9.629 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.601e-05/0.4964, allocations: 28.19 kB / 0.5219 GB, free: 9.602 MB / 446.1 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 0.0001309/0.4965, allocations: 121.8 kB / 0.522 GB, free: 9.473 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.012e-05/0.4965, allocations: 11.95 kB / 0.522 GB, free: 9.461 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007446/0.4973, allocations: 347.3 kB / 0.5223 GB, free: 9.117 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/0.4973, allocations: 4 kB / 0.5223 GB, free: 9.113 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.4973, allocations: 3.938 kB / 0.5223 GB, free: 9.109 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.4973, allocations: 0 / 0.5223 GB, free: 9.109 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009936/0.4983, allocations: 0.5525 MB / 0.5229 GB, free: 8.508 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.4983, allocations: 0 / 0.5229 GB, free: 8.508 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003388/0.4986, allocations: 63.89 kB / 0.5229 GB, free: 8.445 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.226e-05/0.4987, allocations: 16.84 kB / 0.523 GB, free: 8.426 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.219e-05/0.4987, allocations: 15.98 kB / 0.523 GB, free: 8.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009924/0.4997, allocations: 1.241 MB / 0.5242 GB, free: 7.066 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.4997, allocations: 11.92 kB / 0.5242 GB, free: 7.055 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007402/0.5005, allocations: 422.7 kB / 0.5246 GB, free: 6.613 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.59e-05/0.5005, allocations: 15.89 kB / 0.5246 GB, free: 6.598 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.529e-05/0.5005, allocations: 7.938 kB / 0.5246 GB, free: 6.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002108/0.5007, allocations: 8 kB / 0.5246 GB, free: 6.582 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.261e-05/0.5008, allocations: 23.95 kB / 0.5247 GB, free: 6.559 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.611e-05/0.5009, allocations: 28.16 kB / 0.5247 GB, free: 6.531 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.698e-05/0.5009, allocations: 91.27 kB / 0.5248 GB, free: 6.441 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5009, allocations: 0 / 0.5248 GB, free: 6.441 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004169/0.5013, allocations: 79.88 kB / 0.5248 GB, free: 6.363 MB / 446.1 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 (21): * Single equations (assignments): 20 * 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.0004084/0.5017, allocations: 162.9 kB / 0.525 GB, free: 6.191 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005679/0.5023, allocations: 191.8 kB / 0.5252 GB, free: 6.004 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.5023, allocations: 0 / 0.5252 GB, free: 6.004 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003725/0.5027, allocations: 222.8 kB / 0.5254 GB, free: 5.773 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004546/0.5031, allocations: 47.89 kB / 0.5254 GB, free: 5.727 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009618/0.5041, allocations: 0.4951 MB / 0.5259 GB, free: 5.188 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.238e-05/0.5042, allocations: 89.97 kB / 0.526 GB, free: 5.082 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001927/0.5044, allocations: 59.41 kB / 0.5261 GB, free: 5.023 MB / 446.1 MB Notification: Performance of SimCode: time 6.32e-07/0.5044, allocations: 3.938 kB / 0.5261 GB, free: 5.02 MB / 446.1 MB Notification: Performance of Templates: time 0.007319/0.5117, allocations: 3.86 MB / 0.5298 GB, free: 1.156 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.sim & ./Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.024641112424433]