Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.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.001122/0.001122, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.005083/0.005083, allocations: 163.9 kB / 24.7 MB, free: 9.406 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.848/0.848, allocations: 177.1 MB / 205 MB, free: 5.73 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.2346/0.2346, allocations: 32.79 MB / 294.2 MB, free: 1.227 MB / 266.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.TestsWithFluid.MediaTestModels.Air.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 440.9 MB, free: 3.746 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.46e-05/2.622e-05, allocations: 2.281 kB / 440.9 MB, free: 3.742 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.3104/0.3104, allocations: 153.8 MB / 0.5807 GB, free: 10.52 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.004602/0.315, allocations: 4.907 MB / 0.5855 GB, free: 5.602 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003081/0.3153, allocations: 31.69 kB / 0.5856 GB, free: 5.57 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006538/0.3159, allocations: 309.8 kB / 0.5859 GB, free: 5.266 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002236/0.3182, allocations: 1.326 MB / 0.5872 GB, free: 3.938 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001331/0.3195, allocations: 1.01 MB / 0.5881 GB, free: 2.934 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001193/0.3207, allocations: 1.879 MB / 0.59 GB, free: 1.051 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003964/0.3211, allocations: 392.5 kB / 0.5904 GB, free: 0.6641 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001371/0.3225, allocations: 1.348 MB / 0.5917 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005756/0.323, allocations: 0.6389 MB / 0.5923 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 7.136e-05/0.3231, allocations: 64 kB / 0.5924 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000683/0.3238, allocations: 0.5577 MB / 0.5929 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0004455/0.3242, allocations: 287.1 kB / 0.5932 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001988/0.3244, allocations: 279.4 kB / 0.5934 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001163/0.3256, allocations: 1.39 MB / 0.5948 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.3256, allocations: 0 / 0.5948 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3256, allocations: 4 kB / 0.5948 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.725e-06/0.3256, allocations: 0 / 0.5948 GB, free: 12.1 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001431/0.327, allocations: 1.038 MB / 0.5958 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.3271, allocations: 8.031 kB / 0.5958 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004431/0.3275, allocations: 139.5 kB / 0.596 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005908/0.3281, allocations: 481.4 kB / 0.5964 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001003/0.3282, allocations: 151.8 kB / 0.5966 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.782e-05/0.3283, allocations: 51.98 kB / 0.5966 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008948/0.3292, allocations: 1.144 MB / 0.5977 GB, free: 8.859 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/0.3292, allocations: 3.938 kB / 0.5977 GB, free: 8.855 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.829e-05/0.3292, allocations: 24 kB / 0.5977 GB, free: 8.832 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-05/0.3293, allocations: 40.97 kB / 0.5978 GB, free: 8.793 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006756/0.33, allocations: 0.6127 MB / 0.5984 GB, free: 8.18 MB / 0.4948 GB 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.002811/0.3328, allocations: 3.23 MB / 0.6015 GB, free: 4.848 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003906/0.3332, allocations: 335.6 kB / 0.6019 GB, free: 4.512 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001705/0.3333, allocations: 164.3 kB / 0.602 GB, free: 4.352 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.569e-05/0.3334, allocations: 20.27 kB / 0.602 GB, free: 4.332 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.3334, allocations: 38.84 kB / 0.6021 GB, free: 4.285 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=34): time 1.473e-06/0.3334, allocations: 0 / 0.6021 GB, free: 4.285 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39): time 0.002985/0.3364, allocations: 1.591 MB / 0.6036 GB, free: 2.645 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.118e-05/0.3365, allocations: 136.5 kB / 0.6038 GB, free: 2.48 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000388/0.3368, allocations: 0.5299 MB / 0.6043 GB, free: 1.941 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.324e-05/0.3369, allocations: 33.7 kB / 0.6043 GB, free: 1.902 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001684/0.337, allocations: 384.2 kB / 0.6047 GB, free: 1.52 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.784e-05/0.3371, allocations: 150.7 kB / 0.6048 GB, free: 1.371 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001362/0.3373, allocations: 150.6 kB / 0.605 GB, free: 1.219 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.3374, allocations: 374.7 kB / 0.6053 GB, free: 0.8438 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002423/0.3376, allocations: 211.7 kB / 0.6055 GB, free: 0.6367 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003915/0.338, allocations: 0.5841 MB / 0.6061 GB, free: 15.89 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008931/0.3389, allocations: 0.7525 MB / 0.6068 GB, free: 15 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.3389, allocations: 4 kB / 0.6068 GB, free: 14.99 MB / 0.5105 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0009248/0.3398, allocations: 0.8776 MB / 0.6077 GB, free: 14.11 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.3398, allocations: 8 kB / 0.6077 GB, free: 14.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.3399, allocations: 12 kB / 0.6077 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008003/0.3407, allocations: 310.9 kB / 0.608 GB, free: 13.78 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002146/0.3409, allocations: 119.8 kB / 0.6081 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007179/0.3416, allocations: 0.9381 MB / 0.609 GB, free: 12.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002238/0.3418, allocations: 27.12 kB / 0.6091 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.7e-05/0.3419, allocations: 71.98 kB / 0.6091 GB, free: 12.61 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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 {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0002053/0.3421, allocations: 238.6 kB / 0.6094 GB, free: 12.37 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.921e-05/0.3421, allocations: 67.58 kB / 0.6094 GB, free: 12.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009936/0.3431, allocations: 0.8611 MB / 0.6103 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.3431, allocations: 4 kB / 0.6103 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.3431, allocations: 4 kB / 0.6103 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.3432, allocations: 3.984 kB / 0.6103 GB, free: 11.42 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001124/0.3443, allocations: 1.087 MB / 0.6113 GB, free: 10.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3443, allocations: 4.188 kB / 0.6113 GB, free: 10.27 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005306/0.3448, allocations: 207.8 kB / 0.6115 GB, free: 10.07 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.578e-05/0.3449, allocations: 24.84 kB / 0.6116 GB, free: 10.04 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.867e-05/0.3449, allocations: 29.33 kB / 0.6116 GB, free: 10.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001507/0.3464, allocations: 2.618 MB / 0.6141 GB, free: 7.195 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.3464, allocations: 11.91 kB / 0.6142 GB, free: 7.184 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007485/0.3471, allocations: 0.8068 MB / 0.6149 GB, free: 6.34 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001354/0.3473, allocations: 103.7 kB / 0.615 GB, free: 6.238 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.593e-05/0.3473, allocations: 15.94 kB / 0.6151 GB, free: 6.223 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001952/0.3475, allocations: 20.86 kB / 0.6151 GB, free: 6.203 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.29e-05/0.3476, allocations: 39.88 kB / 0.6151 GB, free: 6.164 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.103e-05/0.3476, allocations: 43.98 kB / 0.6152 GB, free: 6.121 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002629/0.3479, allocations: 362.8 kB / 0.6155 GB, free: 5.77 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.3479, allocations: 0 / 0.6155 GB, free: 5.77 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005304/0.3484, allocations: 255.7 kB / 0.6157 GB, free: 5.52 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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.0004601/0.3489, allocations: 286 kB / 0.616 GB, free: 5.234 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006857/0.3496, allocations: 0.5354 MB / 0.6165 GB, free: 4.699 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.3496, allocations: 3.953 kB / 0.6165 GB, free: 4.695 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005165/0.3501, allocations: 410.7 kB / 0.6169 GB, free: 4.281 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007848/0.3509, allocations: 302 kB / 0.6172 GB, free: 4.004 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001378/0.3523, allocations: 1.277 MB / 0.6185 GB, free: 2.676 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002237/0.3525, allocations: 336.2 kB / 0.6188 GB, free: 2.32 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002244/0.3527, allocations: 120.5 kB / 0.6189 GB, free: 2.203 MB / 0.5105 GB Notification: Performance of SimCode: time 6.51e-07/0.3527, allocations: 4 kB / 0.6189 GB, free: 2.199 MB / 0.5105 GB Notification: Performance of Templates: time 0.01393/0.3666, allocations: 16.13 MB / 0.6347 GB, free: 2.117 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.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: 6.8178713116794825]