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.00134/0.00134, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.001145/0.001145, allocations: 173 kB / 24.25 MB, free: 312 kB / 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.9015/0.9015, allocations: 158.6 MB / 186 MB, free: 2.914 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.1387/0.1387, allocations: 32.37 MB / 270.7 MB, free: 14.77 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 1.453e-06/1.453e-06, allocations: 0 / 347.7 MB, free: 9.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.101e-05/2.246e-05, allocations: 9.344 kB / 347.7 MB, free: 9.762 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.3155/0.3155, allocations: 173.2 MB / 0.5087 GB, free: 6.688 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00987/0.3254, allocations: 8.225 MB / 0.5167 GB, free: 14.44 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000695/0.3261, allocations: 27.75 kB / 0.5168 GB, free: 14.41 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000906/0.327, allocations: 313.8 kB / 0.5171 GB, free: 14.1 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003773/0.3308, allocations: 1.554 MB / 0.5186 GB, free: 12.54 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002629/0.3334, allocations: 1.191 MB / 0.5197 GB, free: 11.34 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002291/0.3357, allocations: 1.887 MB / 0.5216 GB, free: 9.449 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007527/0.3364, allocations: 421.8 kB / 0.522 GB, free: 9.039 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003056/0.3395, allocations: 1.491 MB / 0.5235 GB, free: 7.543 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001112/0.3406, allocations: 0.635 MB / 0.5241 GB, free: 6.906 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001358/0.3407, allocations: 64 kB / 0.5241 GB, free: 6.844 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001606/0.3423, allocations: 0.7486 MB / 0.5249 GB, free: 6.094 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003136/0.3427, allocations: 295.1 kB / 0.5251 GB, free: 5.805 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003505/0.343, allocations: 291.4 kB / 0.5254 GB, free: 5.52 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002/0.345, allocations: 1.239 MB / 0.5266 GB, free: 4.277 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.345, allocations: 0 / 0.5266 GB, free: 4.277 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.345, allocations: 0 / 0.5266 GB, free: 4.277 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.619e-05/0.345, allocations: 0 / 0.5266 GB, free: 4.277 MB / 394.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.002034/0.3471, allocations: 1.18 MB / 0.5278 GB, free: 3.055 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.3471, allocations: 11.97 kB / 0.5278 GB, free: 3.043 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008903/0.348, allocations: 231 kB / 0.528 GB, free: 2.816 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007998/0.3488, allocations: 492.8 kB / 0.5285 GB, free: 2.309 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000131/0.3489, allocations: 151.8 kB / 0.5286 GB, free: 2.133 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/0.349, allocations: 63.92 kB / 0.5287 GB, free: 2.07 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001057/0.3501, allocations: 1.029 MB / 0.5297 GB, free: 0.8438 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.3501, allocations: 0 / 0.5297 GB, free: 0.8438 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.647e-05/0.3502, allocations: 23.98 kB / 0.5297 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-05/0.3502, allocations: 40.97 kB / 0.5298 GB, free: 0.7812 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006184/0.3509, allocations: 313.5 kB / 0.5301 GB, free: 488 kB / 394.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.01539/0.3662, allocations: 3.895 MB / 0.5339 GB, free: 12.44 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004009/0.3666, allocations: 208.2 kB / 0.5341 GB, free: 12.22 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001563/0.3668, allocations: 88.2 kB / 0.5341 GB, free: 12.13 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002858/0.3671, allocations: 142 kB / 0.5343 GB, free: 11.99 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/0.3671, allocations: 41.67 kB / 0.5343 GB, free: 11.94 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 2.224e-06/0.3671, allocations: 0 / 0.5343 GB, free: 11.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.009466/0.3766, allocations: 1.17 MB / 0.5355 GB, free: 10.71 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.116e-05/0.3766, allocations: 132.5 kB / 0.5356 GB, free: 10.55 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004988/0.3771, allocations: 0.5413 MB / 0.5361 GB, free: 9.996 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.006049/0.3832, allocations: 41.64 kB / 0.5362 GB, free: 9.949 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002436/0.3834, allocations: 427 kB / 0.5366 GB, free: 9.523 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000107/0.3835, allocations: 154.7 kB / 0.5367 GB, free: 9.371 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001811/0.3837, allocations: 160.2 kB / 0.5369 GB, free: 9.207 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.3839, allocations: 0.543 MB / 0.5374 GB, free: 8.652 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001921/0.3841, allocations: 93.92 kB / 0.5375 GB, free: 8.559 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004385/0.3845, allocations: 0.6191 MB / 0.5381 GB, free: 7.719 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006599/0.3852, allocations: 0.6584 MB / 0.5387 GB, free: 6.871 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.3852, allocations: 0 / 0.5387 GB, free: 6.871 MB / 410.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.006997/0.3922, allocations: 0.6481 MB / 0.5394 GB, free: 6.211 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.3922, allocations: 8 kB / 0.5394 GB, free: 6.203 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/0.3922, allocations: 20.41 kB / 0.5394 GB, free: 6.188 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000885/0.3931, allocations: 258.5 kB / 0.5396 GB, free: 5.934 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000299/0.3934, allocations: 123.8 kB / 0.5398 GB, free: 5.812 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007448/0.3941, allocations: 0.9911 MB / 0.5407 GB, free: 4.789 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003148/0.3945, allocations: 27.98 kB / 0.5407 GB, free: 4.762 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.788e-05/0.3945, allocations: 60 kB / 0.5408 GB, free: 4.703 MB / 410.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.0002522/0.3948, allocations: 216.3 kB / 0.541 GB, free: 4.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/0.3949, allocations: 75.62 kB / 0.5411 GB, free: 4.406 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006982/0.4019, allocations: 0.4897 MB / 0.5416 GB, free: 3.902 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.4019, allocations: 4 kB / 0.5416 GB, free: 3.898 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.4019, allocations: 0 / 0.5416 GB, free: 3.898 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.952e-06/0.4019, allocations: 3.984 kB / 0.5416 GB, free: 3.895 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00241/0.4043, allocations: 1.021 MB / 0.5426 GB, free: 2.809 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/0.4043, allocations: 3.984 kB / 0.5426 GB, free: 2.805 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006418/0.405, allocations: 191.9 kB / 0.5428 GB, free: 2.617 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004658/0.4096, allocations: 27.66 kB / 0.5428 GB, free: 2.586 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.112e-05/0.4097, allocations: 19.98 kB / 0.5428 GB, free: 2.566 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00184/0.4115, allocations: 3.562 MB / 0.5463 GB, free: 14.77 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.4115, allocations: 4 kB / 0.5463 GB, free: 14.76 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007296/0.4122, allocations: 0.5856 MB / 0.5469 GB, free: 14.13 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001752/0.4124, allocations: 99.56 kB / 0.547 GB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.061e-05/0.4125, allocations: 8 kB / 0.547 GB, free: 14.03 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002404/0.4127, allocations: 20.67 kB / 0.547 GB, free: 14.01 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.741e-05/0.4128, allocations: 39.88 kB / 0.547 GB, free: 13.97 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.697e-05/0.4128, allocations: 39.92 kB / 0.5471 GB, free: 13.93 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003312/0.4161, allocations: 334.8 kB / 0.5474 GB, free: 13.61 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4161, allocations: 4 kB / 0.5474 GB, free: 13.6 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008358/0.417, allocations: 291.7 kB / 0.5477 GB, free: 13.32 MB / 426.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.000809/0.4178, allocations: 405.3 kB / 0.548 GB, free: 12.92 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007758/0.4186, allocations: 373.3 kB / 0.5484 GB, free: 12.55 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.603e-06/0.4186, allocations: 4 kB / 0.5484 GB, free: 12.55 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006412/0.4192, allocations: 394.6 kB / 0.5488 GB, free: 12.14 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/0.4203, allocations: 316.7 kB / 0.5491 GB, free: 11.84 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002099/0.4224, allocations: 1.12 MB / 0.5502 GB, free: 10.67 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001039/0.4225, allocations: 166.4 kB / 0.5503 GB, free: 10.49 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004723/0.423, allocations: 221.1 kB / 0.5505 GB, free: 10.27 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000158/0.4231, allocations: 88.47 kB / 0.5506 GB, free: 10.18 MB / 426.7 MB Notification: Performance of SimCode: time 1.533e-06/0.4231, allocations: 0 / 0.5506 GB, free: 10.18 MB / 426.7 MB Notification: Performance of Templates: time 0.02073/0.4438, allocations: 16.43 MB / 0.5667 GB, free: 9.852 MB / 442.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: 3.9617549730464816]