Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.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.001342/0.001342, allocations: 82.7 kB / 22 MB, free: 5.18 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.00136/0.00136, allocations: 161.8 kB / 25.25 MB, free: 3.02 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.312/1.312, allocations: 158.6 MB / 187 MB, free: 6.473 MB / 174.1 MB " [Timeout remaining time 179] 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.DryAirNasa,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.DryAirNasa") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa,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.DryAirNasa") [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.002042/0.002042, allocations: 63.92 kB / 299.4 MB, free: 6.828 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.227/0.2291, allocations: 49.15 MB / 348.6 MB, free: 15.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa): time 0.404/0.633, allocations: 149.4 MB / 498 MB, free: 1.254 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003108/0.6362, allocations: 2.96 MB / 0.4892 GB, free: 1.184 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001436/0.6363, allocations: 6.844 kB / 0.4892 GB, free: 1.184 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005478/0.6368, allocations: 166.6 kB / 0.4893 GB, free: 1.18 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000717/0.6376, allocations: 417.2 kB / 0.4897 GB, free: 1.164 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000699/0.6383, allocations: 346.6 kB / 0.4901 GB, free: 1.152 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006779/0.6389, allocations: 0.9076 MB / 0.491 GB, free: 1.152 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001608/0.6391, allocations: 72.16 kB / 0.491 GB, free: 1.145 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001449/0.6406, allocations: 0.8143 MB / 0.4918 GB, free: 1.129 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003272/0.6409, allocations: 275 kB / 0.4921 GB, free: 1.129 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.287e-05/0.6409, allocations: 28.19 kB / 0.4921 GB, free: 1.129 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002519/0.6412, allocations: 128.4 kB / 0.4922 GB, free: 1.129 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.952e-05/0.6413, allocations: 91.33 kB / 0.4923 GB, free: 1.129 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00016/0.6414, allocations: 167 kB / 0.4925 GB, free: 1.129 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004986/0.6419, allocations: 0.5159 MB / 0.493 GB, free: 1.105 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.6419, allocations: 0.9688 kB / 0.493 GB, free: 1.105 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.6419, allocations: 0 / 0.493 GB, free: 1.105 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.642, allocations: 0 / 0.493 GB, free: 1.105 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.0008622/0.6428, allocations: 0.5155 MB / 0.4935 GB, free: 16.76 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.6429, allocations: 13.52 kB / 0.4935 GB, free: 16.75 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002752/0.6431, allocations: 48.8 kB / 0.4935 GB, free: 16.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000477/0.6436, allocations: 227 kB / 0.4938 GB, free: 16.59 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/0.6436, allocations: 23.47 kB / 0.4938 GB, free: 16.59 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.783e-05/0.6437, allocations: 25.58 kB / 0.4938 GB, free: 16.58 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000565/0.6442, allocations: 0.5401 MB / 0.4943 GB, free: 16.21 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.6443, allocations: 4.781 kB / 0.4943 GB, free: 16.2 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.663e-05/0.6443, allocations: 9.469 kB / 0.4943 GB, free: 16.2 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.625e-06/0.6443, allocations: 9.344 kB / 0.4944 GB, free: 16.2 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002934/0.6446, allocations: 205 kB / 0.4946 GB, free: 16.2 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.001573/0.6462, allocations: 1.15 MB / 0.4957 GB, free: 15.46 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002792/0.6464, allocations: 162.8 kB / 0.4958 GB, free: 15.44 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/0.6466, allocations: 85.45 kB / 0.4959 GB, free: 15.43 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.545e-05/0.6466, allocations: 10.16 kB / 0.4959 GB, free: 15.43 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.6466, allocations: 35.22 kB / 0.496 GB, free: 15.39 MB / 446.1 MB Notification: Performance of pre-optimization done (n=22): time 1.382e-06/0.6466, allocations: 2.906 kB / 0.496 GB, free: 15.39 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: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.005367/0.652, allocations: 1.325 MB / 0.4973 GB, free: 15.02 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.903e-05/0.652, allocations: 55.12 kB / 0.4973 GB, free: 14.96 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002033/0.6522, allocations: 226.8 kB / 0.4975 GB, free: 14.85 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.625e-05/0.6523, allocations: 35.3 kB / 0.4976 GB, free: 14.82 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.82e-05/0.6524, allocations: 186.3 kB / 0.4977 GB, free: 14.68 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.881e-05/0.6524, allocations: 98.59 kB / 0.4978 GB, free: 14.62 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.595e-05/0.6525, allocations: 84.03 kB / 0.4979 GB, free: 14.6 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.6527, allocations: 331.7 kB / 0.4982 GB, free: 14.29 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.6528, allocations: 90.42 kB / 0.4983 GB, free: 14.29 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001701/0.653, allocations: 191.8 kB / 0.4985 GB, free: 14.17 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003472/0.6533, allocations: 301.5 kB / 0.4988 GB, free: 14.06 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.6533, allocations: 1.203 kB / 0.4988 GB, free: 14.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005584/0.6539, allocations: 407.8 kB / 0.4992 GB, free: 13.99 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.6539, allocations: 9.625 kB / 0.4992 GB, free: 13.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.6539, allocations: 2.625 kB / 0.4992 GB, free: 13.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001946/0.6541, allocations: 70.92 kB / 0.4992 GB, free: 13.97 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003215/0.6544, allocations: 86.33 kB / 0.4993 GB, free: 13.97 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001454/0.6559, allocations: 1.825 MB / 0.5011 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001822/0.6561, allocations: 13.06 kB / 0.5011 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.703e-05/0.6561, allocations: 40.52 kB / 0.5012 GB, free: 12.27 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001616/0.6563, allocations: 150 kB / 0.5013 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.758e-05/0.6563, allocations: 32.73 kB / 0.5013 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007497/0.6571, allocations: 442 kB / 0.5018 GB, free: 12.05 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.6571, allocations: 6.594 kB / 0.5018 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.6571, allocations: 6.281 kB / 0.5018 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005464/0.6576, allocations: 0.5599 MB / 0.5023 GB, free: 11.59 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008675/0.6585, allocations: 0.623 MB / 0.5029 GB, free: 11.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.6585, allocations: 3.938 kB / 0.5029 GB, free: 11.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002944/0.6588, allocations: 74.66 kB / 0.503 GB, free: 11.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.938e-05/0.6589, allocations: 19.59 kB / 0.503 GB, free: 11.32 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.411e-05/0.6589, allocations: 20.2 kB / 0.503 GB, free: 11.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009223/0.6598, allocations: 1.25 MB / 0.5043 GB, free: 10.13 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.6598, allocations: 4.406 kB / 0.5043 GB, free: 10.13 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006046/0.6604, allocations: 482.9 kB / 0.5047 GB, free: 9.953 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.402e-05/0.6605, allocations: 24.25 kB / 0.5047 GB, free: 9.941 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.144e-05/0.6605, allocations: 5.719 kB / 0.5048 GB, free: 9.941 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002252/0.6607, allocations: 7.625 kB / 0.5048 GB, free: 9.941 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.307e-05/0.6608, allocations: 32.59 kB / 0.5048 GB, free: 9.938 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.942e-05/0.6608, allocations: 30.19 kB / 0.5048 GB, free: 9.938 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000147/0.661, allocations: 171 kB / 0.505 GB, free: 9.855 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.661, allocations: 0 / 0.505 GB, free: 9.855 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000491/0.6615, allocations: 125 kB / 0.5051 GB, free: 9.848 MB / 446.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.0003315/0.6618, allocations: 147.7 kB / 0.5052 GB, free: 9.754 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005837/0.6624, allocations: 359.2 kB / 0.5056 GB, free: 9.645 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.6624, allocations: 0 / 0.5056 GB, free: 9.645 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002674/0.6627, allocations: 228 kB / 0.5058 GB, free: 9.527 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007791/0.6634, allocations: 142.6 kB / 0.5059 GB, free: 9.504 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/0.6645, allocations: 0.6919 MB / 0.5066 GB, free: 9.184 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001326/0.6647, allocations: 158.9 kB / 0.5068 GB, free: 9.109 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003734/0.665, allocations: 108.4 kB / 0.5069 GB, free: 9.082 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001617/0.6652, allocations: 65.25 kB / 0.5069 GB, free: 9.066 MB / 446.1 MB Notification: Performance of SimCode: time 3.61e-07/0.6652, allocations: 0 / 0.5069 GB, free: 9.066 MB / 446.1 MB Notification: Performance of Templates: time 0.01283/0.678, allocations: 7.993 MB / 0.5147 GB, free: 8.164 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.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: 4.968895492958836]