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.0009571/0.0009571, 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.001069/0.001069, allocations: 160.2 kB / 24.91 MB, free: 8.758 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.9533/0.9533, allocations: 177 MB / 205.2 MB, free: 5.422 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.2615/0.2615, allocations: 34.86 MB / 296.6 MB, free: 0.5195 MB / 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.052e-06/1.052e-06, allocations: 0 / 326 MB, free: 7.109 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.413e-05/1.518e-05, allocations: 5.266 kB / 326 MB, free: 7.105 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.2985/0.2985, allocations: 148.1 MB / 474.1 MB, free: 16.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002586/0.3011, allocations: 2.625 MB / 476.7 MB, free: 16.16 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002376/0.3013, allocations: 29.22 kB / 476.8 MB, free: 16.16 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004337/0.3018, allocations: 212 kB / 477 MB, free: 16.16 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001519/0.3033, allocations: 1.069 MB / 478 MB, free: 16.09 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008601/0.3041, allocations: 0.8209 MB / 478.8 MB, free: 16.06 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00113/0.3053, allocations: 1.897 MB / 480.7 MB, free: 16 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003721/0.3056, allocations: 416.8 kB / 481.2 MB, free: 15.96 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001067/0.3067, allocations: 1.131 MB / 482.3 MB, free: 15.87 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005425/0.3072, allocations: 0.5604 MB / 482.8 MB, free: 15.81 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.269e-05/0.3073, allocations: 57.59 kB / 482.9 MB, free: 15.81 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006517/0.308, allocations: 480.5 kB / 483.4 MB, free: 15.8 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002129/0.3082, allocations: 285.1 kB / 483.6 MB, free: 15.76 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002392/0.3084, allocations: 283.3 kB / 483.9 MB, free: 15.73 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000919/0.3094, allocations: 0.9935 MB / 484.9 MB, free: 15.62 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3094, allocations: 3.938 kB / 484.9 MB, free: 15.62 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3094, allocations: 3 kB / 484.9 MB, free: 15.62 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.586e-06/0.3094, allocations: 0 / 484.9 MB, free: 15.62 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.001163/0.3105, allocations: 0.9753 MB / 485.9 MB, free: 15.12 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.3106, allocations: 12.53 kB / 485.9 MB, free: 15.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005579/0.3111, allocations: 205.5 kB / 486.1 MB, free: 15.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005293/0.3117, allocations: 421.8 kB / 486.5 MB, free: 14.87 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001045/0.3118, allocations: 154.4 kB / 486.7 MB, free: 14.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.226e-05/0.3118, allocations: 65.02 kB / 486.7 MB, free: 14.74 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006682/0.3125, allocations: 0.8852 MB / 487.6 MB, free: 14.09 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.172e-05/0.3125, allocations: 6.344 kB / 487.6 MB, free: 14.09 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.758e-05/0.3126, allocations: 21.91 kB / 487.7 MB, free: 14.09 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.504e-05/0.3126, allocations: 41.38 kB / 487.7 MB, free: 14.09 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003035/0.3129, allocations: 227.9 kB / 487.9 MB, free: 14.07 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.001842/0.3148, allocations: 2.645 MB / 490.6 MB, free: 12.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002232/0.315, allocations: 168.2 kB / 490.7 MB, free: 12.15 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.134e-05/0.3151, allocations: 66.97 kB / 490.8 MB, free: 12.14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001287/0.3152, allocations: 36.81 kB / 490.8 MB, free: 12.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/0.3152, allocations: 40.91 kB / 490.9 MB, free: 12.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.573e-06/0.3152, allocations: 4 kB / 490.9 MB, free: 12.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.002225/0.3175, allocations: 0.9286 MB / 491.8 MB, free: 11.76 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.454e-05/0.3175, allocations: 134 kB / 491.9 MB, free: 11.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002501/0.3177, allocations: 488.1 kB / 492.4 MB, free: 11.45 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.81e-05/0.3178, allocations: 31.89 kB / 492.4 MB, free: 11.42 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.3179, allocations: 344.8 kB / 492.8 MB, free: 11.19 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.307e-05/0.3179, allocations: 157.3 kB / 492.9 MB, free: 11.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/0.3181, allocations: 142.8 kB / 493.1 MB, free: 11.06 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.981e-05/0.3181, allocations: 378 kB / 493.4 MB, free: 10.74 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.337e-05/0.3182, allocations: 64.27 kB / 493.5 MB, free: 10.74 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002093/0.3184, allocations: 0.4901 MB / 494 MB, free: 10.23 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003416/0.3188, allocations: 0.5316 MB / 494.5 MB, free: 9.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.3188, allocations: 6.75 kB / 494.5 MB, free: 9.816 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.000495/0.3193, allocations: 495.8 kB / 495 MB, free: 9.762 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.3193, allocations: 13.78 kB / 495 MB, free: 9.762 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.3193, allocations: 10.84 kB / 495 MB, free: 9.762 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005306/0.3198, allocations: 219.8 kB / 495.2 MB, free: 9.746 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002125/0.32, allocations: 134 kB / 495.4 MB, free: 9.746 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003698/0.3204, allocations: 0.6784 MB / 496.1 MB, free: 9.215 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002011/0.3206, allocations: 32.58 kB / 496.1 MB, free: 9.211 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.907e-05/0.3207, allocations: 49.41 kB / 496.1 MB, free: 9.211 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.0001244/0.3208, allocations: 164.8 kB / 496.3 MB, free: 9.09 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.809e-05/0.3209, allocations: 49.7 kB / 496.3 MB, free: 9.09 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007022/0.3216, allocations: 0.5859 MB / 496.9 MB, free: 8.969 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.3216, allocations: 5.469 kB / 496.9 MB, free: 8.969 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3216, allocations: 3.688 kB / 496.9 MB, free: 8.969 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.3216, allocations: 3.047 kB / 496.9 MB, free: 8.969 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007624/0.3223, allocations: 0.7223 MB / 497.7 MB, free: 8.668 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.3223, allocations: 2.719 kB / 497.7 MB, free: 8.668 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004913/0.3228, allocations: 186.5 kB / 497.9 MB, free: 8.668 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.114e-05/0.3229, allocations: 23.38 kB / 497.9 MB, free: 8.656 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.41e-05/0.3229, allocations: 14.72 kB / 497.9 MB, free: 8.656 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007578/0.3237, allocations: 2.398 MB / 0.4886 GB, free: 6.297 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.175e-06/0.3237, allocations: 3.094 kB / 0.4886 GB, free: 6.297 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003634/0.324, allocations: 476.8 kB / 0.489 GB, free: 6.047 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.3241, allocations: 75.58 kB / 0.4891 GB, free: 6.008 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.914e-05/0.3242, allocations: 14.17 kB / 0.4891 GB, free: 6.008 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001605/0.3244, allocations: 17.84 kB / 0.4891 GB, free: 6.008 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.071e-05/0.3244, allocations: 45.52 kB / 0.4892 GB, free: 5.996 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.332e-05/0.3244, allocations: 25.72 kB / 0.4892 GB, free: 5.996 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001328/0.3246, allocations: 201 kB / 0.4894 GB, free: 5.977 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3246, allocations: 0 / 0.4894 GB, free: 5.977 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004859/0.3251, allocations: 256.1 kB / 0.4896 GB, free: 5.957 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.0003768/0.3254, allocations: 242.5 kB / 0.4899 GB, free: 5.871 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004029/0.3258, allocations: 326.3 kB / 0.4902 GB, free: 5.848 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.397e-05/0.3259, allocations: 9.531 kB / 0.4902 GB, free: 5.848 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003538/0.3262, allocations: 290.6 kB / 0.4905 GB, free: 5.723 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006581/0.3269, allocations: 327.5 kB / 0.4908 GB, free: 5.684 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.3282, allocations: 1.127 MB / 0.4919 GB, free: 5.086 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.769e-05/0.3283, allocations: 157 kB / 0.492 GB, free: 4.977 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000428/0.3287, allocations: 361.6 kB / 0.4924 GB, free: 4.805 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004896/0.3292, allocations: 326.2 kB / 0.4927 GB, free: 4.676 MB / 410.7 MB Notification: Performance of SimCode: time 6.91e-07/0.3292, allocations: 0 / 0.4927 GB, free: 4.676 MB / 410.7 MB Notification: Performance of Templates: time 0.01615/0.3453, allocations: 16.56 MB / 0.5089 GB, free: 9.234 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 -s gbode -gbm=radauIIA3 -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.7235231064260006]