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.0009709/0.0009709, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001032/0.001032, allocations: 169.1 kB / 24.91 MB, free: 9.191 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.9432/0.9432, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] 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.2619/0.2619, allocations: 34.26 MB / 296.1 MB, free: 0.7266 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.803e-06/1.803e-06, allocations: 0 / 325.3 MB, free: 7.641 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.608e-05/2.788e-05, allocations: 2.312 kB / 325.3 MB, free: 7.637 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.3272/0.3272, allocations: 148.1 MB / 473.4 MB, free: 16.31 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004655/0.3318, allocations: 2.64 MB / 476.1 MB, free: 16.23 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007721/0.3326, allocations: 29.34 kB / 476.1 MB, free: 16.23 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006896/0.3333, allocations: 210.2 kB / 476.3 MB, free: 16.23 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002742/0.3361, allocations: 1.068 MB / 477.4 MB, free: 16.16 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001765/0.3378, allocations: 0.8099 MB / 478.2 MB, free: 16.14 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002118/0.3399, allocations: 1.902 MB / 480.1 MB, free: 16.07 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006946/0.3406, allocations: 418.6 kB / 480.5 MB, free: 16.04 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001863/0.3425, allocations: 1.129 MB / 481.6 MB, free: 15.95 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008777/0.3434, allocations: 0.5594 MB / 482.2 MB, free: 15.89 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001675/0.3435, allocations: 58.25 kB / 482.2 MB, free: 15.89 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001064/0.3446, allocations: 477.7 kB / 482.7 MB, free: 15.87 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002398/0.3448, allocations: 290.3 kB / 483 MB, free: 15.83 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003422/0.3452, allocations: 287.5 kB / 483.3 MB, free: 15.8 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001305/0.3465, allocations: 0.988 MB / 484.3 MB, free: 15.7 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.3465, allocations: 0 / 484.3 MB, free: 15.7 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3465, allocations: 0 / 484.3 MB, free: 15.7 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.746e-05/0.3465, allocations: 4 kB / 484.3 MB, free: 15.69 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.001527/0.348, allocations: 0.9758 MB / 485.2 MB, free: 15.19 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.3481, allocations: 12.84 kB / 485.2 MB, free: 15.19 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000764/0.3488, allocations: 208.1 kB / 485.4 MB, free: 15.16 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006299/0.3495, allocations: 419.5 kB / 485.9 MB, free: 14.95 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.023e-05/0.3496, allocations: 160 kB / 486 MB, free: 14.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.698e-05/0.3496, allocations: 59.92 kB / 486.1 MB, free: 14.81 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006767/0.3503, allocations: 0.8831 MB / 487 MB, free: 14.16 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/0.3503, allocations: 3.062 kB / 487 MB, free: 14.16 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.904e-05/0.3504, allocations: 27.98 kB / 487 MB, free: 14.16 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.427e-05/0.3505, allocations: 43.41 kB / 487 MB, free: 14.16 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003753/0.3508, allocations: 221 kB / 487.2 MB, free: 14.14 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.002249/0.3531, allocations: 2.651 MB / 489.9 MB, free: 12.25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002593/0.3533, allocations: 175.3 kB / 490.1 MB, free: 12.21 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.3534, allocations: 63.11 kB / 490.1 MB, free: 12.21 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000141/0.3536, allocations: 37 kB / 490.2 MB, free: 12.21 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.3536, allocations: 43.94 kB / 490.2 MB, free: 12.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.753e-06/0.3536, allocations: 0 / 490.2 MB, free: 12.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.002826/0.3564, allocations: 0.9267 MB / 491.1 MB, free: 11.83 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.196e-05/0.3565, allocations: 136.7 kB / 491.3 MB, free: 11.67 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003421/0.3568, allocations: 490 kB / 491.7 MB, free: 11.52 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.481e-05/0.3568, allocations: 35.77 kB / 491.8 MB, free: 11.48 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/0.357, allocations: 339.4 kB / 492.1 MB, free: 11.25 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.607e-05/0.3571, allocations: 153.2 kB / 492.3 MB, free: 11.16 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001708/0.3572, allocations: 147.2 kB / 492.4 MB, free: 11.13 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.621e-05/0.3573, allocations: 378.2 kB / 492.8 MB, free: 10.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/0.3574, allocations: 61.16 kB / 492.8 MB, free: 10.82 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002582/0.3577, allocations: 496.2 kB / 493.3 MB, free: 10.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000447/0.3581, allocations: 0.5318 MB / 493.9 MB, free: 9.895 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.3581, allocations: 2.625 kB / 493.9 MB, free: 9.895 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00068/0.3588, allocations: 499.6 kB / 494.3 MB, free: 9.832 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.3588, allocations: 14.34 kB / 494.4 MB, free: 9.832 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/0.3588, allocations: 12.19 kB / 494.4 MB, free: 9.832 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007282/0.3596, allocations: 225.3 kB / 494.6 MB, free: 9.812 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003016/0.3599, allocations: 130.7 kB / 494.7 MB, free: 9.812 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004561/0.3603, allocations: 0.682 MB / 495.4 MB, free: 9.281 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003176/0.3607, allocations: 28.58 kB / 495.4 MB, free: 9.281 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.401e-05/0.3607, allocations: 51.09 kB / 495.5 MB, free: 9.281 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.0001612/0.3609, allocations: 163.9 kB / 495.6 MB, free: 9.156 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.543e-05/0.361, allocations: 51.86 kB / 495.7 MB, free: 9.156 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007822/0.3617, allocations: 0.5929 MB / 496.3 MB, free: 9.035 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.3617, allocations: 5.281 kB / 496.3 MB, free: 9.035 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.3618, allocations: 0 / 496.3 MB, free: 9.035 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.3618, allocations: 1.5 kB / 496.3 MB, free: 9.035 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000985/0.3627, allocations: 0.7188 MB / 497 MB, free: 8.738 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.3627, allocations: 7.188 kB / 497 MB, free: 8.734 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006604/0.3634, allocations: 184.9 kB / 497.2 MB, free: 8.734 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.199e-05/0.3635, allocations: 23.09 kB / 497.2 MB, free: 8.727 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.126e-05/0.3635, allocations: 13.62 kB / 497.2 MB, free: 8.727 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008814/0.3644, allocations: 2.399 MB / 499.6 MB, free: 6.363 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.3644, allocations: 9.969 kB / 499.6 MB, free: 6.359 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004885/0.3649, allocations: 474.8 kB / 0.4884 GB, free: 6.109 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001268/0.365, allocations: 72 kB / 0.4884 GB, free: 6.078 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.336e-05/0.3651, allocations: 8.812 kB / 0.4885 GB, free: 6.078 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002282/0.3653, allocations: 17.44 kB / 0.4885 GB, free: 6.074 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.555e-05/0.3654, allocations: 40.14 kB / 0.4885 GB, free: 6.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.534e-05/0.3654, allocations: 28.59 kB / 0.4885 GB, free: 6.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001847/0.3656, allocations: 204.4 kB / 0.4887 GB, free: 6.051 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3656, allocations: 4.031 kB / 0.4887 GB, free: 6.047 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000737/0.3664, allocations: 250.6 kB / 0.489 GB, free: 6.031 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.0004819/0.3668, allocations: 245.8 kB / 0.4892 GB, free: 5.941 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000542/0.3674, allocations: 320.9 kB / 0.4895 GB, free: 5.922 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.223e-05/0.3674, allocations: 13.66 kB / 0.4895 GB, free: 5.918 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004495/0.3679, allocations: 294.6 kB / 0.4898 GB, free: 5.793 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008952/0.3687, allocations: 313.4 kB / 0.4901 GB, free: 5.754 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001738/0.3705, allocations: 1.124 MB / 0.4912 GB, free: 5.16 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001097/0.3706, allocations: 163 kB / 0.4914 GB, free: 5.086 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006221/0.3712, allocations: 363.8 kB / 0.4917 GB, free: 4.969 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006261/0.3718, allocations: 324.6 kB / 0.492 GB, free: 4.836 MB / 410.7 MB Notification: Performance of SimCode: time 1.232e-06/0.3718, allocations: 4 kB / 0.492 GB, free: 4.832 MB / 410.7 MB Notification: Performance of Templates: time 0.02269/0.3945, allocations: 16.58 MB / 0.5082 GB, free: 9.48 MB / 426.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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) [Timeout 240] 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","",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.719657635781914]