Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.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.001844/0.001844, allocations: 107.6 kB / 21.18 MB, free: 0.5859 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.002249/0.002249, allocations: 210.7 kB / 24.48 MB, free: 3.883 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.549/1.549, allocations: 207.7 MB / 235.3 MB, free: 9.77 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.IdealGases.Air,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.IdealGases.Air") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air,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.IdealGases.Air") [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.001918/0.001918, allocations: 55.92 kB / 347.7 MB, free: 9.34 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3106/0.3125, allocations: 49.15 MB / 396.9 MB, free: 9.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air): time 0.2154/0.5279, allocations: 149.4 MB / 0.5335 GB, free: 13.24 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004785/0.5327, allocations: 2.96 MB / 0.5364 GB, free: 10.27 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003645/0.5331, allocations: 7.938 kB / 0.5364 GB, free: 10.26 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000787/0.5338, allocations: 159 kB / 0.5365 GB, free: 10.11 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001242/0.5351, allocations: 421.5 kB / 0.5369 GB, free: 9.695 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00113/0.5362, allocations: 359.2 kB / 0.5373 GB, free: 9.344 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001382/0.5376, allocations: 0.9031 MB / 0.5382 GB, free: 8.438 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000241/0.5378, allocations: 72.88 kB / 0.5382 GB, free: 8.367 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002434/0.5403, allocations: 0.8088 MB / 0.539 GB, free: 7.559 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005858/0.5409, allocations: 278.9 kB / 0.5393 GB, free: 7.285 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001036/0.541, allocations: 32 kB / 0.5393 GB, free: 7.254 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004379/0.5414, allocations: 119.8 kB / 0.5394 GB, free: 7.137 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001566/0.5416, allocations: 99.7 kB / 0.5395 GB, free: 7.039 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002911/0.5418, allocations: 163.4 kB / 0.5397 GB, free: 6.879 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007674/0.5426, allocations: 0.5175 MB / 0.5402 GB, free: 6.363 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.5426, allocations: 0 / 0.5402 GB, free: 6.363 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.5426, allocations: 0 / 0.5402 GB, free: 6.363 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.444e-05/0.5426, allocations: 0 / 0.5402 GB, free: 6.363 MB / 462.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.001112/0.5437, allocations: 0.5168 MB / 0.5407 GB, free: 5.816 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.5438, allocations: 11.98 kB / 0.5407 GB, free: 5.805 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003698/0.5442, allocations: 43.8 kB / 0.5408 GB, free: 5.762 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005558/0.5447, allocations: 232.7 kB / 0.541 GB, free: 5.508 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.5447, allocations: 16.5 kB / 0.541 GB, free: 5.488 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.566e-05/0.5448, allocations: 24 kB / 0.541 GB, free: 5.465 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007107/0.5455, allocations: 0.545 MB / 0.5415 GB, free: 4.84 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.5455, allocations: 0 / 0.5415 GB, free: 4.84 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.972e-05/0.5456, allocations: 16 kB / 0.5416 GB, free: 4.824 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.5456, allocations: 4 kB / 0.5416 GB, free: 4.82 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003739/0.5459, allocations: 205.6 kB / 0.5418 GB, free: 4.621 MB / 462.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.001916/0.5479, allocations: 1.156 MB / 0.5429 GB, free: 3.41 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000346/0.5482, allocations: 154.8 kB / 0.543 GB, free: 3.25 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001614/0.5484, allocations: 97.08 kB / 0.5431 GB, free: 3.152 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.804e-05/0.5484, allocations: 4 kB / 0.5431 GB, free: 3.148 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/0.5484, allocations: 38.56 kB / 0.5432 GB, free: 3.102 MB / 462.1 MB Notification: Performance of pre-optimization done (n=22): time 1.352e-06/0.5484, allocations: 0 / 0.5432 GB, free: 3.102 MB / 462.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: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.005663/0.5541, allocations: 1.31 MB / 0.5445 GB, free: 1.73 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.04e-05/0.5541, allocations: 59.41 kB / 0.5445 GB, free: 1.66 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002844/0.5544, allocations: 228 kB / 0.5447 GB, free: 1.43 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.382e-05/0.5545, allocations: 29.7 kB / 0.5448 GB, free: 1.395 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001852/0.5547, allocations: 192.3 kB / 0.5449 GB, free: 1.203 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.5548, allocations: 103.2 kB / 0.545 GB, free: 1.102 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001466/0.5549, allocations: 81.64 kB / 0.5451 GB, free: 1.016 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.5551, allocations: 334.8 kB / 0.5454 GB, free: 0.6797 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001858/0.5553, allocations: 87.95 kB / 0.5455 GB, free: 0.5938 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002619/0.5555, allocations: 195.7 kB / 0.5457 GB, free: 368 kB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005191/0.556, allocations: 303.8 kB / 0.546 GB, free: 20 kB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.556, allocations: 3.938 kB / 0.546 GB, free: 16 kB / 462.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007969/0.5568, allocations: 398.8 kB / 0.5464 GB, free: 15.61 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.5569, allocations: 8 kB / 0.5464 GB, free: 15.61 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.5569, allocations: 8 kB / 0.5464 GB, free: 15.6 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002265/0.5571, allocations: 74.08 kB / 0.5465 GB, free: 15.52 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000356/0.5575, allocations: 83.91 kB / 0.5465 GB, free: 15.44 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001859/0.5593, allocations: 1.828 MB / 0.5483 GB, free: 13.48 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002073/0.5595, allocations: 12.03 kB / 0.5483 GB, free: 13.46 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.199e-05/0.5596, allocations: 39.98 kB / 0.5484 GB, free: 13.43 MB / 478.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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002279/0.5598, allocations: 157.9 kB / 0.5485 GB, free: 13.26 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.665e-05/0.5599, allocations: 35.81 kB / 0.5486 GB, free: 13.23 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001214/0.5611, allocations: 427.5 kB / 0.549 GB, free: 12.79 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/0.5611, allocations: 4 kB / 0.549 GB, free: 12.79 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.5611, allocations: 0 / 0.549 GB, free: 12.79 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009543/0.5621, allocations: 0.563 MB / 0.5495 GB, free: 12.14 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001577/0.5637, allocations: 0.6335 MB / 0.5501 GB, free: 11.46 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.5637, allocations: 0 / 0.5501 GB, free: 11.46 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004701/0.5641, allocations: 67.89 kB / 0.5502 GB, free: 11.39 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001049/0.5642, allocations: 20.84 kB / 0.5502 GB, free: 11.37 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.112e-05/0.5643, allocations: 12 kB / 0.5502 GB, free: 11.36 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001268/0.5655, allocations: 1.26 MB / 0.5515 GB, free: 9.992 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.5655, allocations: 4.031 kB / 0.5515 GB, free: 9.988 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007446/0.5663, allocations: 467.4 kB / 0.5519 GB, free: 9.508 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.597e-05/0.5664, allocations: 27.88 kB / 0.5519 GB, free: 9.48 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.859e-05/0.5664, allocations: 11.94 kB / 0.552 GB, free: 9.469 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002203/0.5666, allocations: 11.92 kB / 0.552 GB, free: 9.457 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.121e-05/0.5667, allocations: 27.95 kB / 0.552 GB, free: 9.43 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-05/0.5667, allocations: 31.98 kB / 0.552 GB, free: 9.398 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002005/0.5669, allocations: 172.7 kB / 0.5522 GB, free: 9.23 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5669, allocations: 0 / 0.5522 GB, free: 9.23 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005607/0.5675, allocations: 119.9 kB / 0.5523 GB, free: 9.113 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (26): * Single equations (assignments): 25 * 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.0004617/0.568, allocations: 159 kB / 0.5525 GB, free: 8.945 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008472/0.5688, allocations: 354.6 kB / 0.5528 GB, free: 8.586 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/0.5688, allocations: 4 kB / 0.5528 GB, free: 8.582 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000377/0.5692, allocations: 223.5 kB / 0.553 GB, free: 8.352 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008767/0.5701, allocations: 136 kB / 0.5531 GB, free: 8.219 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001679/0.5718, allocations: 0.7015 MB / 0.5538 GB, free: 7.484 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002156/0.572, allocations: 155.2 kB / 0.554 GB, free: 7.312 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004518/0.5724, allocations: 110.9 kB / 0.5541 GB, free: 7.207 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001995/0.5726, allocations: 67.41 kB / 0.5541 GB, free: 7.141 MB / 478.1 MB Notification: Performance of SimCode: time 5.51e-07/0.5726, allocations: 0 / 0.5541 GB, free: 7.141 MB / 478.1 MB Notification: Performance of Templates: time 0.2323/0.805, allocations: 8.481 MB / 0.5624 GB, free: 164.8 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.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.486332571133971]