Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009458/0.0009458, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001001/0.001001, allocations: 164.4 kB / 24.91 MB, free: 8.77 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9323/0.9323, allocations: 177 MB / 205.2 MB, free: 5.426 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2644/0.2644, allocations: 34.87 MB / 296.6 MB, free: 460 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 325.9 MB, free: 7.148 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.481e-05/1.605e-05, allocations: 3.297 kB / 325.9 MB, free: 7.145 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.2875/0.2875, allocations: 148.1 MB / 474 MB, free: 16.21 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002868/0.2904, allocations: 2.628 MB / 476.6 MB, free: 16.14 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002554/0.2906, allocations: 25.66 kB / 476.7 MB, free: 16.14 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004375/0.291, allocations: 217.1 kB / 476.9 MB, free: 16.13 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001701/0.2927, allocations: 1.098 MB / 478 MB, free: 16.07 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001136/0.2939, allocations: 0.8281 MB / 478.8 MB, free: 16.04 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001301/0.2952, allocations: 1.906 MB / 480.7 MB, free: 15.98 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003664/0.2955, allocations: 423.1 kB / 481.1 MB, free: 15.95 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001049/0.2966, allocations: 1.135 MB / 482.3 MB, free: 15.86 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005283/0.2971, allocations: 0.5653 MB / 482.8 MB, free: 15.79 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.544e-05/0.2972, allocations: 60.53 kB / 482.9 MB, free: 15.79 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006359/0.2978, allocations: 448.2 kB / 483.3 MB, free: 15.78 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001994/0.298, allocations: 288.4 kB / 483.6 MB, free: 15.74 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002048/0.2982, allocations: 283 kB / 483.9 MB, free: 15.71 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008792/0.2991, allocations: 0.9944 MB / 484.9 MB, free: 15.6 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.2991, allocations: 0 / 484.9 MB, free: 15.6 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2991, allocations: 0 / 484.9 MB, free: 15.6 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.2991, allocations: 0 / 484.9 MB, free: 15.6 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.001109/0.3002, allocations: 0.9806 MB / 485.8 MB, free: 15.09 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.3003, allocations: 9.125 kB / 485.9 MB, free: 15.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004702/0.3007, allocations: 203.1 kB / 486.1 MB, free: 15.07 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004312/0.3012, allocations: 418.6 kB / 486.5 MB, free: 14.86 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.212e-05/0.3012, allocations: 160.5 kB / 486.6 MB, free: 14.73 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.837e-05/0.3013, allocations: 60.17 kB / 486.7 MB, free: 14.72 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005223/0.3018, allocations: 0.8856 MB / 487.6 MB, free: 14.07 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.3019, allocations: 8.781 kB / 487.6 MB, free: 14.07 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.468e-05/0.3019, allocations: 27.81 kB / 487.6 MB, free: 14.07 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.793e-05/0.3019, allocations: 36.34 kB / 487.6 MB, free: 14.07 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002645/0.3022, allocations: 226.6 kB / 487.9 MB, free: 14.05 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.001605/0.3038, allocations: 2.644 MB / 490.5 MB, free: 12.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001968/0.304, allocations: 175.8 kB / 490.7 MB, free: 12.12 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.887e-05/0.3041, allocations: 63.69 kB / 490.7 MB, free: 12.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001013/0.3042, allocations: 35.81 kB / 490.8 MB, free: 12.12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.694e-05/0.3042, allocations: 50.91 kB / 490.8 MB, free: 12.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.372e-06/0.3042, allocations: 0 / 490.8 MB, free: 12.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.002043/0.3062, allocations: 0.922 MB / 491.7 MB, free: 11.74 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/0.3063, allocations: 137 kB / 491.9 MB, free: 11.58 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002559/0.3065, allocations: 484.6 kB / 492.3 MB, free: 11.43 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.988e-05/0.3065, allocations: 32.27 kB / 492.4 MB, free: 11.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.3067, allocations: 345.3 kB / 492.7 MB, free: 11.17 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.732e-05/0.3067, allocations: 151.4 kB / 492.9 MB, free: 11.07 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001338/0.3069, allocations: 144.7 kB / 493 MB, free: 11.05 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.417e-05/0.3069, allocations: 372.4 kB / 493.4 MB, free: 10.73 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.354e-05/0.307, allocations: 70.75 kB / 493.4 MB, free: 10.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001962/0.3072, allocations: 0.4906 MB / 493.9 MB, free: 10.21 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003367/0.3075, allocations: 0.5328 MB / 494.5 MB, free: 9.801 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.3076, allocations: 2.938 kB / 494.5 MB, free: 9.801 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0005036/0.3081, allocations: 499.1 kB / 495 MB, free: 9.746 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.3081, allocations: 10.78 kB / 495 MB, free: 9.746 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.3081, allocations: 8.5 kB / 495 MB, free: 9.746 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000532/0.3086, allocations: 222.7 kB / 495.2 MB, free: 9.727 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002182/0.3088, allocations: 123 kB / 495.3 MB, free: 9.727 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003733/0.3092, allocations: 0.6871 MB / 496 MB, free: 9.191 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002057/0.3094, allocations: 28.78 kB / 496 MB, free: 9.191 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.811e-05/0.3095, allocations: 52.91 kB / 496.1 MB, free: 9.188 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.000135/0.3096, allocations: 163.8 kB / 496.2 MB, free: 9.062 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.732e-05/0.3097, allocations: 54 kB / 496.3 MB, free: 9.062 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000631/0.3103, allocations: 0.5771 MB / 496.9 MB, free: 8.949 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.135e-06/0.3103, allocations: 5.781 kB / 496.9 MB, free: 8.949 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.3103, allocations: 0 / 496.9 MB, free: 8.949 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.3103, allocations: 5.547 kB / 496.9 MB, free: 8.945 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007297/0.311, allocations: 0.7217 MB / 497.6 MB, free: 8.645 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.311, allocations: 4.219 kB / 497.6 MB, free: 8.645 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004127/0.3115, allocations: 166.3 kB / 497.8 MB, free: 8.645 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-05/0.3115, allocations: 26.2 kB / 497.8 MB, free: 8.633 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.137e-05/0.3115, allocations: 12.02 kB / 497.8 MB, free: 8.633 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006496/0.3122, allocations: 2.401 MB / 0.4885 GB, free: 6.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.3122, allocations: 6.031 kB / 0.4885 GB, free: 6.27 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003487/0.3125, allocations: 473.5 kB / 0.4889 GB, free: 6.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/0.3127, allocations: 70.28 kB / 0.489 GB, free: 5.988 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.082e-05/0.3127, allocations: 15.59 kB / 0.489 GB, free: 5.984 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001546/0.3129, allocations: 15.52 kB / 0.489 GB, free: 5.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.024e-05/0.3129, allocations: 48.12 kB / 0.4891 GB, free: 5.973 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.022e-05/0.3129, allocations: 27.89 kB / 0.4891 GB, free: 5.973 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000132/0.3131, allocations: 201.8 kB / 0.4893 GB, free: 5.953 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3131, allocations: 0 / 0.4893 GB, free: 5.953 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004606/0.3135, allocations: 246.8 kB / 0.4895 GB, free: 5.941 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.0003754/0.3139, allocations: 245.6 kB / 0.4898 GB, free: 5.848 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003969/0.3143, allocations: 322.7 kB / 0.4901 GB, free: 5.824 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.436e-05/0.3143, allocations: 12.56 kB / 0.4901 GB, free: 5.824 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003407/0.3147, allocations: 289.6 kB / 0.4904 GB, free: 5.703 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006716/0.3153, allocations: 323.8 kB / 0.4907 GB, free: 5.664 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001281/0.3166, allocations: 1.135 MB / 0.4918 GB, free: 5.062 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.533e-05/0.3167, allocations: 165.6 kB / 0.4919 GB, free: 4.957 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004321/0.3171, allocations: 364.2 kB / 0.4923 GB, free: 4.785 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004767/0.3176, allocations: 317.2 kB / 0.4926 GB, free: 4.66 MB / 410.7 MB Notification: Performance of SimCode: time 8.61e-07/0.3176, allocations: 0 / 0.4926 GB, free: 4.66 MB / 410.7 MB Notification: Performance of Templates: time 0.01692/0.3345, allocations: 16.53 MB / 0.5087 GB, free: 9.301 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.7277214992791414]