Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001878/0.001878, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.002653/0.002653, allocations: 157.7 kB / 24.27 MB, free: 176 kB / 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.52/1.52, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3409/0.3409, allocations: 34.26 MB / 295.3 MB, free: 0.6914 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.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.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 377.3 MB, free: 2.957 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.557e-05/3.721e-05, allocations: 2.312 kB / 377.3 MB, free: 2.953 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.3652/0.3652, allocations: 153.8 MB / 0.5187 GB, free: 9.848 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006196/0.3714, allocations: 4.911 MB / 0.5235 GB, free: 6.539 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008703/0.3723, allocations: 30.12 kB / 0.5235 GB, free: 6.52 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001003/0.3733, allocations: 306.3 kB / 0.5238 GB, free: 6.359 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003563/0.3769, allocations: 1.318 MB / 0.5251 GB, free: 5.637 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00264/0.3795, allocations: 1.004 MB / 0.5261 GB, free: 5.133 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002418/0.3819, allocations: 1.88 MB / 0.5279 GB, free: 4.273 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006009/0.3825, allocations: 421.9 kB / 0.5283 GB, free: 4.012 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002584/0.3851, allocations: 1.345 MB / 0.5296 GB, free: 3.438 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009584/0.3861, allocations: 0.6414 MB / 0.5302 GB, free: 3.242 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001076/0.3862, allocations: 61.25 kB / 0.5303 GB, free: 3.242 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001435/0.3876, allocations: 0.5581 MB / 0.5308 GB, free: 3.086 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002904/0.3879, allocations: 284.4 kB / 0.5311 GB, free: 2.953 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003576/0.3883, allocations: 284.6 kB / 0.5314 GB, free: 2.848 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002054/0.3903, allocations: 1.387 MB / 0.5327 GB, free: 2.375 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3903, allocations: 0 / 0.5327 GB, free: 2.375 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3903, allocations: 6.219 kB / 0.5327 GB, free: 2.371 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.129e-05/0.3903, allocations: 0 / 0.5327 GB, free: 2.371 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.00241/0.3927, allocations: 1.036 MB / 0.5338 GB, free: 1.703 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/0.3928, allocations: 10.47 kB / 0.5338 GB, free: 1.703 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009327/0.3937, allocations: 221.8 kB / 0.534 GB, free: 1.609 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008091/0.3945, allocations: 0.4994 MB / 0.5345 GB, free: 1.309 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001169/0.3947, allocations: 155.9 kB / 0.5346 GB, free: 1.16 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001351/0.3948, allocations: 57.39 kB / 0.5347 GB, free: 1.141 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001258/0.3961, allocations: 1.143 MB / 0.5358 GB, free: 196 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.195e-05/0.3961, allocations: 0 / 0.5358 GB, free: 196 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.821e-05/0.3962, allocations: 26.19 kB / 0.5358 GB, free: 180 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.927e-05/0.3962, allocations: 39.41 kB / 0.5359 GB, free: 168 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001031/0.3972, allocations: 0.6206 MB / 0.5365 GB, free: 15.85 MB / 426.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.004766/0.402, allocations: 3.219 MB / 0.5396 GB, free: 13.17 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006304/0.4026, allocations: 337.8 kB / 0.5399 GB, free: 12.99 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003069/0.4029, allocations: 161.7 kB / 0.5401 GB, free: 12.91 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.871e-05/0.403, allocations: 17.55 kB / 0.5401 GB, free: 12.9 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.62e-05/0.4031, allocations: 37.12 kB / 0.5401 GB, free: 12.86 MB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 1.974e-06/0.4031, allocations: 0 / 0.5401 GB, free: 12.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=39): time 0.005784/0.4089, allocations: 1.576 MB / 0.5417 GB, free: 11.93 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001203/0.409, allocations: 134 kB / 0.5418 GB, free: 11.77 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007585/0.4098, allocations: 0.5359 MB / 0.5423 GB, free: 11.43 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.557e-05/0.4098, allocations: 35.91 kB / 0.5424 GB, free: 11.39 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00033/0.4102, allocations: 388.5 kB / 0.5427 GB, free: 11.05 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001476/0.4103, allocations: 141.7 kB / 0.5429 GB, free: 10.93 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002276/0.4105, allocations: 147.9 kB / 0.543 GB, free: 10.85 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002319/0.4108, allocations: 374.2 kB / 0.5434 GB, free: 10.49 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003684/0.4111, allocations: 205.6 kB / 0.5436 GB, free: 10.39 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009952/0.4121, allocations: 0.5795 MB / 0.5441 GB, free: 9.785 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001177/0.4133, allocations: 0.7518 MB / 0.5449 GB, free: 9.152 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.4133, allocations: 2.938 kB / 0.5449 GB, free: 9.152 MB / 426.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001556/0.4149, allocations: 0.8869 MB / 0.5457 GB, free: 8.699 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.4149, allocations: 7.969 kB / 0.5457 GB, free: 8.699 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.4149, allocations: 11.03 kB / 0.5457 GB, free: 8.699 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00138/0.4163, allocations: 302 kB / 0.546 GB, free: 8.574 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003978/0.4167, allocations: 125 kB / 0.5461 GB, free: 8.543 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001237/0.4179, allocations: 0.9222 MB / 0.547 GB, free: 7.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004945/0.4184, allocations: 33.36 kB / 0.5471 GB, free: 7.801 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.652e-05/0.4185, allocations: 57.06 kB / 0.5471 GB, free: 7.797 MB / 426.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.0004169/0.4189, allocations: 253.8 kB / 0.5474 GB, free: 7.594 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001525/0.419, allocations: 72.91 kB / 0.5474 GB, free: 7.559 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001655/0.4207, allocations: 0.8173 MB / 0.5482 GB, free: 7.098 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/0.4207, allocations: 2.312 kB / 0.5482 GB, free: 7.098 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.4207, allocations: 2.938 kB / 0.5483 GB, free: 7.098 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.4207, allocations: 4 kB / 0.5483 GB, free: 7.094 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002099/0.4228, allocations: 1.06 MB / 0.5493 GB, free: 6.148 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.4228, allocations: 0 / 0.5493 GB, free: 6.148 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00111/0.4239, allocations: 207.9 kB / 0.5495 GB, free: 5.945 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001098/0.424, allocations: 24.84 kB / 0.5495 GB, free: 5.918 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.427e-05/0.4241, allocations: 20 kB / 0.5495 GB, free: 5.898 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002641/0.4267, allocations: 2.629 MB / 0.5521 GB, free: 3.07 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/0.4267, allocations: 4.031 kB / 0.5521 GB, free: 3.066 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001752/0.4285, allocations: 0.7946 MB / 0.5529 GB, free: 2.234 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003308/0.4288, allocations: 103.6 kB / 0.553 GB, free: 2.133 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.507e-05/0.4289, allocations: 12 kB / 0.553 GB, free: 2.121 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003901/0.4293, allocations: 19.92 kB / 0.553 GB, free: 2.102 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/0.4294, allocations: 35.89 kB / 0.553 GB, free: 2.066 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.309e-05/0.4295, allocations: 40.17 kB / 0.5531 GB, free: 2.027 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005276/0.43, allocations: 362.8 kB / 0.5534 GB, free: 1.676 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.43, allocations: 0 / 0.5534 GB, free: 1.676 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001032/0.4311, allocations: 251.7 kB / 0.5537 GB, free: 1.43 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.0007556/0.4318, allocations: 291.3 kB / 0.5539 GB, free: 1.137 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001278/0.4331, allocations: 0.5155 MB / 0.5544 GB, free: 0.6211 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.4331, allocations: 0 / 0.5544 GB, free: 0.6211 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001092/0.4342, allocations: 399.1 kB / 0.5548 GB, free: 224 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001549/0.4357, allocations: 331.2 kB / 0.5551 GB, free: 15.93 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002399/0.4381, allocations: 1.258 MB / 0.5564 GB, free: 14.62 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004108/0.4385, allocations: 328.3 kB / 0.5567 GB, free: 14.28 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001052/0.4396, allocations: 440.5 kB / 0.5571 GB, free: 13.85 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003038/0.4399, allocations: 100.5 kB / 0.5572 GB, free: 13.75 MB / 442.7 MB Notification: Performance of SimCode: time 7.21e-07/0.4399, allocations: 0 / 0.5572 GB, free: 13.75 MB / 442.7 MB Notification: Performance of Templates: time 0.02936/0.4693, allocations: 15.36 MB / 0.5722 GB, free: 14.63 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 5.76304191199597]