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.00119/0.00119, allocations: 78.66 kB / 21.42 MB, free: 3.082 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.001305/0.001305, allocations: 169.8 kB / 24.82 MB, free: 9.324 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 1.026/1.026, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.2976/0.2976, allocations: 32.81 MB / 294.6 MB, free: 1.234 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 2.064e-06/2.064e-06, allocations: 0 / 376.5 MB, free: 4.41 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.66e-05/2.866e-05, allocations: 2.312 kB / 376.5 MB, free: 4.406 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.3802/0.3802, allocations: 146 MB / 0.5102 GB, free: 18.88 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004701/0.3849, allocations: 2.574 MB / 0.5127 GB, free: 17.16 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009647/0.3858, allocations: 32.06 kB / 0.5128 GB, free: 17.14 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007851/0.3866, allocations: 210 kB / 0.513 GB, free: 17.04 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003088/0.3897, allocations: 1.101 MB / 0.514 GB, free: 16.43 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002006/0.3917, allocations: 0.8219 MB / 0.5148 GB, free: 16.02 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002563/0.3943, allocations: 1.914 MB / 0.5167 GB, free: 15.13 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008196/0.3951, allocations: 416.6 kB / 0.5171 GB, free: 14.88 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002286/0.3974, allocations: 1.139 MB / 0.5182 GB, free: 14.43 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001036/0.3984, allocations: 0.6011 MB / 0.5188 GB, free: 14.24 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001654/0.3986, allocations: 57.88 kB / 0.5189 GB, free: 14.24 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001111/0.3997, allocations: 454.1 kB / 0.5193 GB, free: 14.12 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002793/0.4, allocations: 286 kB / 0.5196 GB, free: 13.98 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003511/0.4003, allocations: 289 kB / 0.5199 GB, free: 13.88 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001588/0.4019, allocations: 0.9848 MB / 0.5208 GB, free: 13.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.4019, allocations: 0 / 0.5208 GB, free: 13.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4019, allocations: 3.188 kB / 0.5208 GB, free: 13.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.292e-05/0.402, allocations: 0 / 0.5208 GB, free: 13.5 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.001852/0.4038, allocations: 1.125 MB / 0.5219 GB, free: 12.73 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.369e-05/0.4039, allocations: 7.906 kB / 0.5219 GB, free: 12.73 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006587/0.4045, allocations: 219.6 kB / 0.5221 GB, free: 12.63 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007069/0.4052, allocations: 486.1 kB / 0.5226 GB, free: 12.32 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.815e-05/0.4053, allocations: 158.4 kB / 0.5227 GB, free: 12.18 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.219e-05/0.4054, allocations: 57.28 kB / 0.5228 GB, free: 12.16 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007405/0.4061, allocations: 0.9369 MB / 0.5237 GB, free: 11.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/0.4062, allocations: 2.406 kB / 0.5237 GB, free: 11.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.771e-05/0.4062, allocations: 25.92 kB / 0.5237 GB, free: 11.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.182e-05/0.4063, allocations: 40.14 kB / 0.5238 GB, free: 11.31 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000379/0.4066, allocations: 259.7 kB / 0.524 GB, free: 11.27 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.002593/0.4092, allocations: 3.757 MB / 0.5277 GB, free: 8.031 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002757/0.4095, allocations: 205.7 kB / 0.5279 GB, free: 7.949 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.013e-05/0.4096, allocations: 79.73 kB / 0.528 GB, free: 7.926 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.866e-05/0.4097, allocations: 14.2 kB / 0.528 GB, free: 7.926 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.773e-05/0.4097, allocations: 52.44 kB / 0.528 GB, free: 7.875 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 3.356e-06/0.4097, allocations: 0 / 0.528 GB, free: 7.875 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.002697/0.4124, allocations: 0.9972 MB / 0.529 GB, free: 7.379 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/0.4125, allocations: 138.1 kB / 0.5291 GB, free: 7.219 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003967/0.4129, allocations: 0.5455 MB / 0.5297 GB, free: 6.91 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.45e-05/0.4129, allocations: 33.7 kB / 0.5297 GB, free: 6.871 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001798/0.4131, allocations: 446.2 kB / 0.5301 GB, free: 6.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.865e-05/0.4132, allocations: 145.9 kB / 0.5303 GB, free: 6.387 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001568/0.4133, allocations: 169.3 kB / 0.5304 GB, free: 6.297 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.4134, allocations: 0.5548 MB / 0.531 GB, free: 5.766 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/0.4136, allocations: 75.39 kB / 0.531 GB, free: 5.758 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002965/0.4139, allocations: 0.6291 MB / 0.5317 GB, free: 5.016 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005601/0.4144, allocations: 0.6734 MB / 0.5323 GB, free: 4.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/0.4144, allocations: 3 kB / 0.5323 GB, free: 4.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0008308/0.4153, allocations: 0.6282 MB / 0.5329 GB, free: 4.078 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.4153, allocations: 11.5 kB / 0.5329 GB, free: 4.078 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/0.4153, allocations: 9.062 kB / 0.533 GB, free: 4.078 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006977/0.416, allocations: 242.9 kB / 0.5332 GB, free: 4.043 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002361/0.4162, allocations: 127.1 kB / 0.5333 GB, free: 4.027 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005144/0.4167, allocations: 0.9834 MB / 0.5343 GB, free: 3.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003211/0.4171, allocations: 30.72 kB / 0.5343 GB, free: 3.168 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.534e-05/0.4171, allocations: 57.41 kB / 0.5343 GB, free: 3.16 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.0001878/0.4173, allocations: 208.2 kB / 0.5345 GB, free: 2.961 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.733e-05/0.4174, allocations: 75.86 kB / 0.5346 GB, free: 2.922 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007918/0.4182, allocations: 0.6716 MB / 0.5353 GB, free: 2.691 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.4182, allocations: 6.781 kB / 0.5353 GB, free: 2.688 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.4182, allocations: 0 / 0.5353 GB, free: 2.688 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.4182, allocations: 4.156 kB / 0.5353 GB, free: 2.688 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001046/0.4193, allocations: 0.8258 MB / 0.5361 GB, free: 2.172 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.4193, allocations: 0 / 0.5361 GB, free: 2.172 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004574/0.4197, allocations: 174.6 kB / 0.5363 GB, free: 2.164 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.677e-05/0.4198, allocations: 32.58 kB / 0.5363 GB, free: 2.141 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.711e-05/0.4198, allocations: 16.31 kB / 0.5363 GB, free: 2.137 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001265/0.4211, allocations: 3.519 MB / 0.5397 GB, free: 14.55 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.4211, allocations: 2.969 kB / 0.5397 GB, free: 14.55 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005988/0.4217, allocations: 0.5644 MB / 0.5403 GB, free: 14.19 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001706/0.4219, allocations: 98.55 kB / 0.5404 GB, free: 14.13 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.103e-05/0.4219, allocations: 20 kB / 0.5404 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000168/0.4221, allocations: 13.56 kB / 0.5404 GB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.442e-05/0.4222, allocations: 41.22 kB / 0.5405 GB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-05/0.4222, allocations: 34.11 kB / 0.5405 GB, free: 14.1 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002351/0.4224, allocations: 323 kB / 0.5408 GB, free: 13.94 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.4224, allocations: 0 / 0.5408 GB, free: 13.94 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008047/0.4233, allocations: 249 kB / 0.541 GB, free: 13.91 MB / 426.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.0005182/0.4238, allocations: 260.4 kB / 0.5413 GB, free: 13.77 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006103/0.4244, allocations: 361.2 kB / 0.5416 GB, free: 13.68 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.4244, allocations: 0 / 0.5416 GB, free: 13.68 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004689/0.4249, allocations: 361.4 kB / 0.542 GB, free: 13.48 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008352/0.4257, allocations: 328.3 kB / 0.5423 GB, free: 13.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002391/0.4281, allocations: 1.163 MB / 0.5434 GB, free: 12.67 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001358/0.4282, allocations: 166.8 kB / 0.5436 GB, free: 12.59 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006768/0.4289, allocations: 364.4 kB / 0.5439 GB, free: 12.51 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006352/0.4295, allocations: 377.8 kB / 0.5443 GB, free: 12.43 MB / 426.7 MB Notification: Performance of SimCode: time 2.345e-06/0.4295, allocations: 0 / 0.5443 GB, free: 12.43 MB / 426.7 MB Notification: Performance of Templates: time 0.02457/0.4541, allocations: 16.57 MB / 0.5605 GB, free: 14.68 MB / 442.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.9997119116596878]