Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.00135/0.00135, allocations: 91.33 kB / 20.43 MB, free: 4.141 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.001686/0.001686, allocations: 165 kB / 23.79 MB, free: 0.7734 MB / 18.57 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 0.9919/0.9919, allocations: 158.6 MB / 185.7 MB, free: 2.887 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1615/0.1615, allocations: 32.37 MB / 270.4 MB, free: 14.7 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 347.7 MB, free: 9.418 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.06e-05/3.268e-05, allocations: 2.312 kB / 347.7 MB, free: 9.414 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.3368/0.3369, allocations: 147 MB / 494.7 MB, free: 9.254 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005611/0.3425, allocations: 5.029 MB / 499.7 MB, free: 7.023 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004354/0.3429, allocations: 31.22 kB / 499.8 MB, free: 7.004 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005809/0.3435, allocations: 212.8 kB / 500 MB, free: 6.84 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002102/0.3456, allocations: 1.137 MB / 0.4894 GB, free: 5.98 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001328/0.3469, allocations: 0.8404 MB / 0.4902 GB, free: 5.348 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0014/0.3483, allocations: 1.904 MB / 0.4921 GB, free: 4.242 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004883/0.3488, allocations: 431 kB / 0.4925 GB, free: 3.93 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001094/0.3499, allocations: 1.036 MB / 0.4935 GB, free: 3.309 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000697/0.3506, allocations: 0.6441 MB / 0.4941 GB, free: 2.969 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001027/0.3507, allocations: 60.38 kB / 0.4942 GB, free: 2.969 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006646/0.3514, allocations: 479.1 kB / 0.4946 GB, free: 2.766 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001847/0.3516, allocations: 289.8 kB / 0.4949 GB, free: 2.566 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002052/0.3518, allocations: 291.2 kB / 0.4952 GB, free: 2.43 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009732/0.3527, allocations: 1.015 MB / 0.4962 GB, free: 1.816 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3528, allocations: 7.391 kB / 0.4962 GB, free: 1.812 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3528, allocations: 0 / 0.4962 GB, free: 1.812 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.248e-05/0.3528, allocations: 0 / 0.4962 GB, free: 1.812 MB / 362.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.001364/0.3541, allocations: 1.138 MB / 0.4973 GB, free: 0.9375 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.3542, allocations: 8.844 kB / 0.4973 GB, free: 0.9375 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005654/0.3547, allocations: 221.6 kB / 0.4975 GB, free: 0.8242 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005288/0.3553, allocations: 496.6 kB / 0.498 GB, free: 476 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.336e-05/0.3553, allocations: 161.7 kB / 0.4981 GB, free: 316 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.716e-05/0.3554, allocations: 60.67 kB / 0.4982 GB, free: 296 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000804/0.3562, allocations: 1.026 MB / 0.4992 GB, free: 15.28 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.3562, allocations: 2.688 kB / 0.4992 GB, free: 15.28 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.112e-05/0.3563, allocations: 28.55 kB / 0.4992 GB, free: 15.26 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.456e-05/0.3563, allocations: 41.62 kB / 0.4993 GB, free: 15.25 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004442/0.3568, allocations: 306.4 kB / 0.4996 GB, free: 15.13 MB / 378.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.002746/0.3595, allocations: 3.884 MB / 0.5033 GB, free: 11.61 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003205/0.3599, allocations: 219.5 kB / 0.5036 GB, free: 11.4 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001248/0.36, allocations: 84.2 kB / 0.5036 GB, free: 11.32 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002414/0.3602, allocations: 126.2 kB / 0.5038 GB, free: 11.2 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.828e-05/0.3603, allocations: 53.59 kB / 0.5038 GB, free: 11.13 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 1.373e-06/0.3603, allocations: 0 / 0.5038 GB, free: 11.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=39): time 0.002775/0.363, allocations: 1.169 MB / 0.505 GB, free: 9.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.899e-05/0.3631, allocations: 132.5 kB / 0.5051 GB, free: 9.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004272/0.3635, allocations: 0.5452 MB / 0.5056 GB, free: 9.188 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.193e-05/0.3636, allocations: 37.7 kB / 0.5056 GB, free: 9.145 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002023/0.3638, allocations: 435 kB / 0.5061 GB, free: 8.711 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.306e-05/0.3638, allocations: 154.7 kB / 0.5062 GB, free: 8.559 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000146/0.364, allocations: 156.2 kB / 0.5064 GB, free: 8.398 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.3641, allocations: 0.543 MB / 0.5069 GB, free: 7.844 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001517/0.3643, allocations: 85.94 kB / 0.507 GB, free: 7.762 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003631/0.3647, allocations: 0.6191 MB / 0.5076 GB, free: 6.922 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005255/0.3652, allocations: 0.6623 MB / 0.5082 GB, free: 6.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.3652, allocations: 4 kB / 0.5082 GB, free: 6.066 MB / 378.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0008234/0.366, allocations: 0.6447 MB / 0.5089 GB, free: 5.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.366, allocations: 12 kB / 0.5089 GB, free: 5.398 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.366, allocations: 8 kB / 0.5089 GB, free: 5.391 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006941/0.3667, allocations: 258.5 kB / 0.5091 GB, free: 5.141 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002245/0.367, allocations: 123.8 kB / 0.5092 GB, free: 5.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006169/0.3676, allocations: 0.9989 MB / 0.5102 GB, free: 3.988 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002627/0.3678, allocations: 35.92 kB / 0.5102 GB, free: 3.953 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.473e-05/0.3679, allocations: 63.94 kB / 0.5103 GB, free: 3.891 MB / 378.7 MB 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.0002094/0.3681, allocations: 208.3 kB / 0.5105 GB, free: 3.676 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.66e-05/0.3682, allocations: 71.62 kB / 0.5106 GB, free: 3.605 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006813/0.3689, allocations: 0.4936 MB / 0.5111 GB, free: 3.094 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.3689, allocations: 4 kB / 0.5111 GB, free: 3.09 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.3689, allocations: 0 / 0.5111 GB, free: 3.09 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.3689, allocations: 7.984 kB / 0.5111 GB, free: 3.082 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001273/0.3702, allocations: 1.014 MB / 0.5121 GB, free: 2.004 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.3702, allocations: 4 kB / 0.5121 GB, free: 2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005293/0.3707, allocations: 191.8 kB / 0.5122 GB, free: 1.812 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.002e-05/0.3708, allocations: 27.8 kB / 0.5123 GB, free: 1.781 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.957e-05/0.3708, allocations: 19.98 kB / 0.5123 GB, free: 1.762 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001497/0.3723, allocations: 3.558 MB / 0.5158 GB, free: 13.96 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3723, allocations: 0 / 0.5158 GB, free: 13.96 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006065/0.3729, allocations: 0.5893 MB / 0.5163 GB, free: 13.33 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001397/0.3731, allocations: 99.56 kB / 0.5164 GB, free: 13.23 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.591e-05/0.3731, allocations: 12 kB / 0.5164 GB, free: 13.22 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001844/0.3733, allocations: 20.14 kB / 0.5165 GB, free: 13.2 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.301e-05/0.3734, allocations: 40.58 kB / 0.5165 GB, free: 13.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.016e-05/0.3734, allocations: 35.98 kB / 0.5165 GB, free: 13.13 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002614/0.3737, allocations: 342.8 kB / 0.5169 GB, free: 12.8 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3737, allocations: 0 / 0.5169 GB, free: 12.8 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000597/0.3743, allocations: 251.7 kB / 0.5171 GB, free: 12.55 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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.0006224/0.3749, allocations: 288.8 kB / 0.5174 GB, free: 12.27 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000616/0.3755, allocations: 386.4 kB / 0.5178 GB, free: 11.89 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.3755, allocations: 0 / 0.5178 GB, free: 11.89 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005082/0.376, allocations: 385.5 kB / 0.5181 GB, free: 11.5 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007805/0.3768, allocations: 315.1 kB / 0.5184 GB, free: 11.2 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001728/0.3785, allocations: 1.12 MB / 0.5195 GB, free: 10.02 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001112/0.3786, allocations: 170.4 kB / 0.5197 GB, free: 9.836 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004667/0.3791, allocations: 217.2 kB / 0.5199 GB, free: 9.621 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001662/0.3793, allocations: 88.47 kB / 0.52 GB, free: 9.535 MB / 394.7 MB Notification: Performance of SimCode: time 7.41e-07/0.3793, allocations: 0 / 0.52 GB, free: 9.535 MB / 394.7 MB Notification: Performance of Templates: time 0.01821/0.3975, allocations: 15.12 MB / 0.5347 GB, free: 10.5 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 4.008233634755015]