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.0009626/0.0009626, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001187/0.001187, allocations: 162.8 kB / 25.61 MB, free: 8.902 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.9879/0.9879, allocations: 177.1 MB / 206 MB, free: 4.496 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.142/0.142, allocations: 32.8 MB / 295.4 MB, free: 15.39 MB / 282.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.563e-06/1.563e-06, allocations: 0 / 377.3 MB, free: 25.58 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.128e-05/2.284e-05, allocations: 5.922 kB / 377.3 MB, free: 25.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.354/0.354, allocations: 146 MB / 0.511 GB, free: 16.88 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003817/0.3578, allocations: 2.576 MB / 0.5135 GB, free: 16.8 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006002/0.3584, allocations: 26.94 kB / 0.5135 GB, free: 16.8 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005036/0.3589, allocations: 217.5 kB / 0.5137 GB, free: 16.79 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002213/0.3612, allocations: 1.091 MB / 0.5148 GB, free: 16.73 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001488/0.3626, allocations: 0.8319 MB / 0.5156 GB, free: 16.71 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002012/0.3647, allocations: 1.903 MB / 0.5175 GB, free: 16.64 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006083/0.3653, allocations: 425.2 kB / 0.5179 GB, free: 16.62 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001627/0.3669, allocations: 1.143 MB / 0.519 GB, free: 16.52 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007493/0.3676, allocations: 0.5976 MB / 0.5196 GB, free: 16.46 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001538/0.3678, allocations: 57.84 kB / 0.5196 GB, free: 16.46 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000834/0.3686, allocations: 446.8 kB / 0.5201 GB, free: 16.45 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002383/0.3689, allocations: 289.4 kB / 0.5203 GB, free: 16.41 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002918/0.3692, allocations: 278.3 kB / 0.5206 GB, free: 16.38 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001225/0.3704, allocations: 1.004 MB / 0.5216 GB, free: 16.27 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.3704, allocations: 0 / 0.5216 GB, free: 16.27 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.3704, allocations: 0 / 0.5216 GB, free: 16.27 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.132e-05/0.3704, allocations: 0 / 0.5216 GB, free: 16.27 MB / 410.7 MB 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.001436/0.3718, allocations: 1.124 MB / 0.5227 GB, free: 15.63 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.3719, allocations: 15.95 kB / 0.5227 GB, free: 15.62 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005346/0.3724, allocations: 215.1 kB / 0.5229 GB, free: 15.56 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000523/0.3729, allocations: 481 kB / 0.5233 GB, free: 15.34 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.228e-05/0.373, allocations: 155.1 kB / 0.5235 GB, free: 15.22 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.19e-05/0.3731, allocations: 65.78 kB / 0.5236 GB, free: 15.21 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005742/0.3737, allocations: 0.9328 MB / 0.5245 GB, free: 14.48 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.3737, allocations: 3.188 kB / 0.5245 GB, free: 14.48 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.549e-05/0.3737, allocations: 26.98 kB / 0.5245 GB, free: 14.48 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.066e-05/0.3738, allocations: 38.55 kB / 0.5245 GB, free: 14.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003162/0.3741, allocations: 263 kB / 0.5248 GB, free: 14.46 MB / 410.7 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.001987/0.3761, allocations: 3.771 MB / 0.5285 GB, free: 11.59 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002533/0.3763, allocations: 189.4 kB / 0.5286 GB, free: 11.55 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.91e-05/0.3764, allocations: 79.17 kB / 0.5287 GB, free: 11.54 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.732e-05/0.3765, allocations: 18.09 kB / 0.5287 GB, free: 11.54 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.3765, allocations: 46.92 kB / 0.5288 GB, free: 11.49 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.784e-06/0.3765, allocations: 4 kB / 0.5288 GB, free: 11.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.002436/0.3789, allocations: 0.9784 MB / 0.5297 GB, free: 11.11 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.596e-05/0.379, allocations: 136.3 kB / 0.5299 GB, free: 10.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003315/0.3793, allocations: 0.5463 MB / 0.5304 GB, free: 10.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.262e-05/0.3793, allocations: 39.27 kB / 0.5304 GB, free: 10.71 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001791/0.3795, allocations: 444.1 kB / 0.5309 GB, free: 10.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.415e-05/0.3796, allocations: 148.3 kB / 0.531 GB, free: 10.34 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001492/0.3797, allocations: 165.8 kB / 0.5312 GB, free: 10.31 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.15e-05/0.3798, allocations: 0.5539 MB / 0.5317 GB, free: 9.816 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001064/0.3799, allocations: 77 kB / 0.5318 GB, free: 9.812 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002668/0.3802, allocations: 0.6302 MB / 0.5324 GB, free: 9.102 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004446/0.3806, allocations: 0.6686 MB / 0.5331 GB, free: 8.512 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.3806, allocations: 6.219 kB / 0.5331 GB, free: 8.508 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0006822/0.3813, allocations: 0.6251 MB / 0.5337 GB, free: 8.41 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.3814, allocations: 11.53 kB / 0.5337 GB, free: 8.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.3814, allocations: 8.391 kB / 0.5337 GB, free: 8.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006557/0.382, allocations: 254.9 kB / 0.5339 GB, free: 8.387 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002232/0.3822, allocations: 130.5 kB / 0.5341 GB, free: 8.387 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004991/0.3827, allocations: 0.9811 MB / 0.535 GB, free: 7.582 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002542/0.383, allocations: 26.41 kB / 0.535 GB, free: 7.582 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.82e-05/0.3831, allocations: 55.64 kB / 0.5351 GB, free: 7.582 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 4 (volume.inFlow[1],volume.inFlow[2],volume.regularFlow[2],volume.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * 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.0001693/0.3832, allocations: 208.7 kB / 0.5353 GB, free: 7.414 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.813e-05/0.3833, allocations: 81.77 kB / 0.5354 GB, free: 7.375 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007673/0.3841, allocations: 0.6642 MB / 0.536 GB, free: 7.25 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.3841, allocations: 7.5 kB / 0.536 GB, free: 7.246 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3841, allocations: 2.969 kB / 0.536 GB, free: 7.246 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.3841, allocations: 1.828 kB / 0.536 GB, free: 7.246 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009272/0.385, allocations: 0.8222 MB / 0.5368 GB, free: 6.887 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.385, allocations: 3.125 kB / 0.5368 GB, free: 6.887 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000474/0.3855, allocations: 179.9 kB / 0.537 GB, free: 6.883 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.001e-05/0.3856, allocations: 23.16 kB / 0.537 GB, free: 6.871 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.753e-05/0.3856, allocations: 15.97 kB / 0.537 GB, free: 6.871 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000989/0.3866, allocations: 3.516 MB / 0.5405 GB, free: 3.355 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.3866, allocations: 3.312 kB / 0.5405 GB, free: 3.355 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004933/0.3871, allocations: 0.5696 MB / 0.541 GB, free: 3.039 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001272/0.3872, allocations: 95.86 kB / 0.5411 GB, free: 3.004 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.195e-05/0.3873, allocations: 11.44 kB / 0.5411 GB, free: 3.004 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001767/0.3875, allocations: 13.41 kB / 0.5412 GB, free: 3.004 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.785e-05/0.3875, allocations: 43.14 kB / 0.5412 GB, free: 3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.798e-05/0.3876, allocations: 32.39 kB / 0.5412 GB, free: 3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001742/0.3877, allocations: 325.9 kB / 0.5415 GB, free: 2.871 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3877, allocations: 0 / 0.5415 GB, free: 2.871 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006971/0.3884, allocations: 251.4 kB / 0.5418 GB, free: 2.855 MB / 410.7 MB 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 (38): * Single equations (assignments): 36 * 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.0004973/0.3889, allocations: 259.7 kB / 0.542 GB, free: 2.742 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005513/0.3895, allocations: 363 kB / 0.5424 GB, free: 2.715 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.3895, allocations: 0 / 0.5424 GB, free: 2.715 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000409/0.3899, allocations: 364.1 kB / 0.5427 GB, free: 2.531 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007961/0.3907, allocations: 315.2 kB / 0.543 GB, free: 2.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001604/0.3923, allocations: 1.167 MB / 0.5442 GB, free: 1.863 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001061/0.3924, allocations: 166.8 kB / 0.5443 GB, free: 1.789 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005339/0.3929, allocations: 369.5 kB / 0.5447 GB, free: 1.711 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005578/0.3935, allocations: 377.7 kB / 0.545 GB, free: 1.637 MB / 410.7 MB Notification: Performance of SimCode: time 1.193e-06/0.3935, allocations: 0 / 0.545 GB, free: 1.637 MB / 410.7 MB Notification: Performance of Templates: time 0.0206/0.4141, allocations: 16.78 MB / 0.5614 GB, free: 7.223 MB / 426.7 MB " [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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.963557197712362]