Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.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.001641/0.001641, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.001602/0.001602, allocations: 216.1 kB / 24.47 MB, free: 3.777 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.567/1.567, allocations: 207.7 MB / 235.3 MB, free: 9.793 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.Tests.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") [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.001824/0.001824, allocations: 54.58 kB / 347.7 MB, free: 9.352 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2422/0.244, allocations: 49.16 MB / 396.9 MB, free: 9.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.1702/0.4142, allocations: 124.1 MB / 0.5088 GB, free: 6.816 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003199/0.4174, allocations: 1.631 MB / 0.5104 GB, free: 5.184 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004604/0.4179, allocations: 7.938 kB / 0.5104 GB, free: 5.176 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009139/0.4188, allocations: 162.9 kB / 0.5105 GB, free: 5.016 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009275/0.4197, allocations: 334.3 kB / 0.5108 GB, free: 4.688 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001247/0.421, allocations: 415 kB / 0.5112 GB, free: 4.281 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001341/0.4223, allocations: 0.8601 MB / 0.5121 GB, free: 3.418 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002266/0.4225, allocations: 68.89 kB / 0.5121 GB, free: 3.344 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009821/0.4235, allocations: 410.7 kB / 0.5125 GB, free: 2.941 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007103/0.4242, allocations: 330.8 kB / 0.5128 GB, free: 2.617 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001076/0.4243, allocations: 32 kB / 0.5129 GB, free: 2.586 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004563/0.4248, allocations: 119.7 kB / 0.513 GB, free: 2.469 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001774/0.425, allocations: 103.7 kB / 0.5131 GB, free: 2.367 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002742/0.4252, allocations: 171.4 kB / 0.5133 GB, free: 2.199 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007145/0.4259, allocations: 492.9 kB / 0.5137 GB, free: 1.723 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.426, allocations: 0 / 0.5137 GB, free: 1.723 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.426, allocations: 0 / 0.5137 GB, free: 1.723 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.499e-05/0.426, allocations: 4 kB / 0.5137 GB, free: 1.719 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001039/0.427, allocations: 0.5247 MB / 0.5142 GB, free: 1.164 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.4271, allocations: 11.98 kB / 0.5143 GB, free: 1.152 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003249/0.4274, allocations: 40.75 kB / 0.5143 GB, free: 1.113 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000556/0.4279, allocations: 234 kB / 0.5145 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.589e-05/0.428, allocations: 16.88 kB / 0.5145 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.906e-05/0.428, allocations: 24.38 kB / 0.5146 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006823/0.4287, allocations: 0.5272 MB / 0.5151 GB, free: 224 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/0.4287, allocations: 4 kB / 0.5151 GB, free: 220 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.537e-05/0.4287, allocations: 8 kB / 0.5151 GB, free: 212 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.4288, allocations: 11.94 kB / 0.5151 GB, free: 200 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003637/0.4291, allocations: 198 kB / 0.5153 GB, free: 16 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001823/0.4309, allocations: 0.9098 MB / 0.5162 GB, free: 15.05 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004554/0.4314, allocations: 176.4 kB / 0.5163 GB, free: 14.87 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001676/0.4316, allocations: 88.77 kB / 0.5164 GB, free: 14.78 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.804e-05/0.4317, allocations: 23.98 kB / 0.5164 GB, free: 14.75 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.768e-05/0.4317, allocations: 34.5 kB / 0.5165 GB, free: 14.71 MB / 446.1 MB Notification: Performance of pre-optimization done (n=21): time 1.552e-06/0.4317, allocations: 3.938 kB / 0.5165 GB, free: 14.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=26): time 0.002601/0.4343, allocations: 0.7969 MB / 0.5173 GB, free: 13.87 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.142e-05/0.4344, allocations: 59.34 kB / 0.5173 GB, free: 13.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003385/0.4347, allocations: 236 kB / 0.5175 GB, free: 13.56 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.92e-05/0.4348, allocations: 33.7 kB / 0.5176 GB, free: 13.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001581/0.4349, allocations: 188.4 kB / 0.5178 GB, free: 13.33 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.86e-05/0.435, allocations: 99.16 kB / 0.5178 GB, free: 13.23 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001275/0.4351, allocations: 73.64 kB / 0.5179 GB, free: 13.16 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001821/0.4353, allocations: 330.8 kB / 0.5182 GB, free: 12.82 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000179/0.4355, allocations: 79.97 kB / 0.5183 GB, free: 12.75 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000268/0.4358, allocations: 175.8 kB / 0.5185 GB, free: 12.53 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004555/0.4362, allocations: 287.8 kB / 0.5188 GB, free: 12.21 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.4362, allocations: 0 / 0.5188 GB, free: 12.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006931/0.4369, allocations: 370.8 kB / 0.5191 GB, free: 11.83 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.364e-05/0.4369, allocations: 8 kB / 0.5191 GB, free: 11.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.437, allocations: 4 kB / 0.5191 GB, free: 11.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001788/0.4371, allocations: 38.11 kB / 0.5192 GB, free: 11.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004346/0.4376, allocations: 83.83 kB / 0.5192 GB, free: 11.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002677/0.4403, allocations: 2.505 MB / 0.5217 GB, free: 8.984 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002224/0.4405, allocations: 8.312 kB / 0.5217 GB, free: 8.977 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.943e-05/0.4405, allocations: 23.98 kB / 0.5217 GB, free: 8.953 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001963/0.4407, allocations: 149.8 kB / 0.5219 GB, free: 8.797 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.808e-05/0.4408, allocations: 31.75 kB / 0.5219 GB, free: 8.766 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005701/0.4414, allocations: 285.5 kB / 0.5222 GB, free: 8.473 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.4414, allocations: 7.984 kB / 0.5222 GB, free: 8.465 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-06/0.4414, allocations: 0 / 0.5222 GB, free: 8.465 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006248/0.442, allocations: 0.5396 MB / 0.5227 GB, free: 7.836 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001056/0.443, allocations: 0.5742 MB / 0.5233 GB, free: 7.219 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.165e-06/0.4431, allocations: 0 / 0.5233 GB, free: 7.219 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002838/0.4433, allocations: 55.95 kB / 0.5233 GB, free: 7.164 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.6e-05/0.4434, allocations: 20.78 kB / 0.5233 GB, free: 7.141 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.634e-05/0.4434, allocations: 11.94 kB / 0.5233 GB, free: 7.129 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001098/0.4445, allocations: 1.248 MB / 0.5246 GB, free: 5.781 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.4445, allocations: 15.89 kB / 0.5246 GB, free: 5.766 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006628/0.4452, allocations: 439.6 kB / 0.525 GB, free: 5.316 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.498e-05/0.4453, allocations: 19.89 kB / 0.525 GB, free: 5.297 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.896e-05/0.4453, allocations: 7.938 kB / 0.525 GB, free: 5.289 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002263/0.4455, allocations: 16.2 kB / 0.525 GB, free: 5.273 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.959e-05/0.4456, allocations: 27.84 kB / 0.5251 GB, free: 5.246 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.574e-05/0.4456, allocations: 19.92 kB / 0.5251 GB, free: 5.227 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001865/0.4458, allocations: 157.8 kB / 0.5252 GB, free: 5.074 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4458, allocations: 0 / 0.5252 GB, free: 5.074 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000483/0.4463, allocations: 103.9 kB / 0.5253 GB, free: 4.973 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.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 (25): * Single equations (assignments): 24 * 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.0002967/0.4466, allocations: 135.1 kB / 0.5255 GB, free: 4.828 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007565/0.4473, allocations: 433.1 kB / 0.5259 GB, free: 4.379 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/0.4473, allocations: 4 kB / 0.5259 GB, free: 4.375 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003106/0.4476, allocations: 219.4 kB / 0.5261 GB, free: 4.148 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008443/0.4485, allocations: 128.3 kB / 0.5262 GB, free: 4.027 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00138/0.4499, allocations: 0.679 MB / 0.5269 GB, free: 3.32 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002058/0.4501, allocations: 155.2 kB / 0.527 GB, free: 3.148 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002715/0.4503, allocations: 54.95 kB / 0.5271 GB, free: 3.09 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.259e-05/0.4504, allocations: 27.44 kB / 0.5271 GB, free: 3.062 MB / 446.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4504, allocations: 0 / 0.5271 GB, free: 3.062 MB / 446.1 MB Notification: Performance of Templates: time 0.0128/0.4632, allocations: 6.129 MB / 0.5331 GB, free: 12.92 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.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: 5.124333169311285]