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.001545/0.001545, allocations: 87.67 kB / 21.19 MB, free: 3.367 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.001149/0.001149, allocations: 156.5 kB / 24.55 MB, free: 12 kB / 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 1.033/1.033, allocations: 177 MB / 204.8 MB, free: 5.594 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.2543/0.2543, allocations: 34.86 MB / 296.3 MB, free: 492 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.453e-06/1.453e-06, allocations: 0 / 378.8 MB, free: 2.039 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.581e-05/2.726e-05, allocations: 3.016 kB / 378.8 MB, free: 2.035 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.3045/0.3045, allocations: 148.7 MB / 0.5152 GB, free: 14.87 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004215/0.3087, allocations: 2.586 MB / 0.5177 GB, free: 13.15 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004966/0.3092, allocations: 29.91 kB / 0.5177 GB, free: 13.14 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006202/0.3098, allocations: 217.6 kB / 0.5179 GB, free: 13.02 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001916/0.3117, allocations: 1.096 MB / 0.519 GB, free: 12.41 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001353/0.3131, allocations: 0.8239 MB / 0.5198 GB, free: 12 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001409/0.3145, allocations: 1.905 MB / 0.5217 GB, free: 11.12 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004125/0.3149, allocations: 423.8 kB / 0.5221 GB, free: 10.87 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001258/0.3162, allocations: 1.141 MB / 0.5232 GB, free: 10.41 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005233/0.3167, allocations: 0.5908 MB / 0.5238 GB, free: 10.23 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.666e-05/0.3168, allocations: 60.44 kB / 0.5238 GB, free: 10.23 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006771/0.3174, allocations: 452.4 kB / 0.5242 GB, free: 10.12 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001765/0.3176, allocations: 282.2 kB / 0.5245 GB, free: 9.98 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002022/0.3178, allocations: 289.1 kB / 0.5248 GB, free: 9.871 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001028/0.3188, allocations: 0.9907 MB / 0.5258 GB, free: 9.488 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.3189, allocations: 0 / 0.5258 GB, free: 9.488 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3189, allocations: 0 / 0.5258 GB, free: 9.488 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.3189, allocations: 0 / 0.5258 GB, free: 9.488 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.001336/0.3202, allocations: 1.127 MB / 0.5269 GB, free: 8.727 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.3202, allocations: 11.38 kB / 0.5269 GB, free: 8.727 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005338/0.3208, allocations: 225 kB / 0.5271 GB, free: 8.629 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005112/0.3213, allocations: 499.4 kB / 0.5276 GB, free: 8.324 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.225e-05/0.3214, allocations: 151.3 kB / 0.5277 GB, free: 8.184 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.544e-05/0.3215, allocations: 64.77 kB / 0.5278 GB, free: 8.156 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006798/0.3221, allocations: 0.9738 MB / 0.5287 GB, free: 7.324 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.111e-05/0.3222, allocations: 9.062 kB / 0.5287 GB, free: 7.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.754e-05/0.3222, allocations: 20.06 kB / 0.5287 GB, free: 7.309 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.625e-05/0.3223, allocations: 41.16 kB / 0.5288 GB, free: 7.305 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004156/0.3227, allocations: 312 kB / 0.5291 GB, free: 7.238 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.002033/0.3247, allocations: 3.867 MB / 0.5329 GB, free: 3.941 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002874/0.325, allocations: 217.1 kB / 0.5331 GB, free: 3.859 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001176/0.3251, allocations: 87.91 kB / 0.5331 GB, free: 3.832 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.388e-05/0.3252, allocations: 17.77 kB / 0.5332 GB, free: 3.828 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.3252, allocations: 45.02 kB / 0.5332 GB, free: 3.777 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.563e-06/0.3252, allocations: 0 / 0.5332 GB, free: 3.777 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.002649/0.3279, allocations: 1.163 MB / 0.5343 GB, free: 3.199 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.576e-05/0.3279, allocations: 133.8 kB / 0.5345 GB, free: 3.043 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003458/0.3282, allocations: 0.5584 MB / 0.535 GB, free: 2.734 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.104e-05/0.3283, allocations: 36.7 kB / 0.535 GB, free: 2.695 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001639/0.3284, allocations: 440.9 kB / 0.5355 GB, free: 2.324 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.04e-05/0.3285, allocations: 154 kB / 0.5356 GB, free: 2.207 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001361/0.3286, allocations: 163.9 kB / 0.5358 GB, free: 2.121 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.605e-05/0.3287, allocations: 0.5464 MB / 0.5363 GB, free: 1.598 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/0.3289, allocations: 93.62 kB / 0.5364 GB, free: 1.586 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003003/0.3292, allocations: 0.6394 MB / 0.537 GB, free: 0.8477 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000439/0.3296, allocations: 0.7101 MB / 0.5377 GB, free: 136 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.3296, allocations: 3 kB / 0.5377 GB, free: 136 kB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0007644/0.3304, allocations: 0.6655 MB / 0.5384 GB, free: 15.88 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.3304, allocations: 8.125 kB / 0.5384 GB, free: 15.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.3304, allocations: 11.55 kB / 0.5384 GB, free: 15.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006931/0.3311, allocations: 251.9 kB / 0.5386 GB, free: 15.83 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002375/0.3314, allocations: 130.8 kB / 0.5387 GB, free: 15.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007147/0.3321, allocations: 1.009 MB / 0.5397 GB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003292/0.3324, allocations: 28.44 kB / 0.5398 GB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.051e-05/0.3325, allocations: 67.7 kB / 0.5398 GB, free: 14.94 MB / 426.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.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 (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.0002506/0.3327, allocations: 209.5 kB / 0.54 GB, free: 14.74 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.588e-05/0.3328, allocations: 78 kB / 0.5401 GB, free: 14.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000846/0.3337, allocations: 0.6768 MB / 0.5408 GB, free: 14.47 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.3337, allocations: 2.406 kB / 0.5408 GB, free: 14.47 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.3337, allocations: 3.125 kB / 0.5408 GB, free: 14.47 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-06/0.3337, allocations: 6.578 kB / 0.5408 GB, free: 14.46 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001088/0.3348, allocations: 0.9277 MB / 0.5417 GB, free: 13.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.3348, allocations: 6.5 kB / 0.5417 GB, free: 13.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005953/0.3354, allocations: 199.2 kB / 0.5419 GB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.797e-05/0.3355, allocations: 23.08 kB / 0.5419 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.893e-05/0.3355, allocations: 21.83 kB / 0.5419 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001722/0.3372, allocations: 3.555 MB / 0.5454 GB, free: 10.23 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.3372, allocations: 0 / 0.5454 GB, free: 10.23 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006403/0.3379, allocations: 0.6035 MB / 0.546 GB, free: 9.848 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001416/0.338, allocations: 95.16 kB / 0.5461 GB, free: 9.797 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.081e-05/0.3381, allocations: 20.33 kB / 0.5461 GB, free: 9.785 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001803/0.3382, allocations: 15.39 kB / 0.5461 GB, free: 9.777 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.24e-05/0.3383, allocations: 36.03 kB / 0.5461 GB, free: 9.773 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.766e-05/0.3383, allocations: 37.06 kB / 0.5462 GB, free: 9.77 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002524/0.3386, allocations: 344.6 kB / 0.5465 GB, free: 9.598 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3386, allocations: 0 / 0.5465 GB, free: 9.598 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006456/0.3392, allocations: 248.2 kB / 0.5467 GB, free: 9.566 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.000506/0.3397, allocations: 263.6 kB / 0.547 GB, free: 9.422 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007304/0.3405, allocations: 393.2 kB / 0.5474 GB, free: 9.32 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.3405, allocations: 9.844 kB / 0.5474 GB, free: 9.316 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004818/0.341, allocations: 380.7 kB / 0.5477 GB, free: 9.102 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007799/0.3417, allocations: 322.3 kB / 0.548 GB, free: 8.949 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00158/0.3433, allocations: 1.164 MB / 0.5492 GB, free: 8.133 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001001/0.3434, allocations: 165.6 kB / 0.5493 GB, free: 8.012 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0008162/0.3442, allocations: 428.2 kB / 0.5497 GB, free: 7.801 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001651/0.3444, allocations: 98.27 kB / 0.5498 GB, free: 7.77 MB / 426.7 MB Notification: Performance of SimCode: time 8.72e-07/0.3444, allocations: 0 / 0.5498 GB, free: 7.77 MB / 426.7 MB Notification: Performance of Templates: time 0.01725/0.3617, allocations: 16.36 MB / 0.5658 GB, free: 8.227 MB / 442.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.8019659998826683]