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.0009625/0.0009625, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001139/0.001139, allocations: 170 kB / 24.82 MB, free: 9.254 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.9963/0.9963, allocations: 177 MB / 205.1 MB, free: 5.473 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.2888/0.2888, allocations: 34.86 MB / 296.6 MB, free: 0.5117 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 2.004e-06/2.004e-06, allocations: 0 / 379.2 MB, free: 1.832 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.285e-05/1.486e-05, allocations: 3.578 kB / 379.2 MB, free: 1.828 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.3013/0.3013, allocations: 146 MB / 0.5129 GB, free: 16.18 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00401/0.3053, allocations: 2.57 MB / 0.5154 GB, free: 14.46 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006637/0.306, allocations: 31.5 kB / 0.5154 GB, free: 14.45 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000656/0.3067, allocations: 210 kB / 0.5156 GB, free: 14.34 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002259/0.3089, allocations: 1.102 MB / 0.5167 GB, free: 13.73 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001709/0.3106, allocations: 0.8273 MB / 0.5175 GB, free: 13.31 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001823/0.3125, allocations: 1.906 MB / 0.5194 GB, free: 12.43 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006744/0.3131, allocations: 424.2 kB / 0.5198 GB, free: 12.18 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001569/0.3147, allocations: 1.132 MB / 0.5209 GB, free: 11.73 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007869/0.3155, allocations: 0.5962 MB / 0.5215 GB, free: 11.55 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001381/0.3156, allocations: 62.75 kB / 0.5215 GB, free: 11.54 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008528/0.3165, allocations: 448 kB / 0.522 GB, free: 11.43 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002193/0.3167, allocations: 288.2 kB / 0.5222 GB, free: 11.29 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002961/0.317, allocations: 285.5 kB / 0.5225 GB, free: 11.18 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001259/0.3183, allocations: 0.99 MB / 0.5235 GB, free: 10.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3183, allocations: 0 / 0.5235 GB, free: 10.8 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3183, allocations: 0 / 0.5235 GB, free: 10.8 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.531e-05/0.3183, allocations: 4 kB / 0.5235 GB, free: 10.8 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.001457/0.3197, allocations: 1.121 MB / 0.5246 GB, free: 10.03 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.3198, allocations: 14.56 kB / 0.5246 GB, free: 10.03 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005881/0.3204, allocations: 218.5 kB / 0.5248 GB, free: 9.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005329/0.3209, allocations: 482.1 kB / 0.5253 GB, free: 9.629 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.279e-05/0.321, allocations: 154.1 kB / 0.5254 GB, free: 9.484 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.311e-05/0.3211, allocations: 60.84 kB / 0.5255 GB, free: 9.465 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006481/0.3217, allocations: 0.9354 MB / 0.5264 GB, free: 8.648 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.28e-05/0.3217, allocations: 6.281 kB / 0.5264 GB, free: 8.645 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.596e-05/0.3218, allocations: 24.78 kB / 0.5264 GB, free: 8.629 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.224e-05/0.3218, allocations: 41.45 kB / 0.5265 GB, free: 8.621 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004183/0.3223, allocations: 255.8 kB / 0.5267 GB, free: 8.582 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.00254/0.3248, allocations: 3.771 MB / 0.5304 GB, free: 5.324 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002953/0.3251, allocations: 196.3 kB / 0.5306 GB, free: 5.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.3252, allocations: 78.69 kB / 0.5306 GB, free: 5.227 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.625e-05/0.3253, allocations: 22.31 kB / 0.5307 GB, free: 5.223 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.3253, allocations: 47.39 kB / 0.5307 GB, free: 5.172 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.803e-06/0.3253, allocations: 0 / 0.5307 GB, free: 5.172 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.002832/0.3281, allocations: 1.004 MB / 0.5317 GB, free: 4.672 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.201e-05/0.3282, allocations: 131.5 kB / 0.5318 GB, free: 4.516 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003842/0.3286, allocations: 0.5462 MB / 0.5324 GB, free: 4.207 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.42e-05/0.3286, allocations: 35.2 kB / 0.5324 GB, free: 4.172 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001845/0.3288, allocations: 446.3 kB / 0.5328 GB, free: 3.797 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.614e-05/0.3289, allocations: 146.4 kB / 0.533 GB, free: 3.684 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000179/0.329, allocations: 174 kB / 0.5331 GB, free: 3.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.626e-05/0.3291, allocations: 0.5511 MB / 0.5337 GB, free: 3.062 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001305/0.3293, allocations: 72.5 kB / 0.5337 GB, free: 3.059 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00029/0.3296, allocations: 0.6301 MB / 0.5343 GB, free: 2.32 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005179/0.3301, allocations: 0.6762 MB / 0.535 GB, free: 1.621 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.3301, allocations: 2.625 kB / 0.535 GB, free: 1.621 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0008352/0.3309, allocations: 0.622 MB / 0.5356 GB, free: 1.387 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.3309, allocations: 14.5 kB / 0.5356 GB, free: 1.383 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/0.3309, allocations: 10.94 kB / 0.5356 GB, free: 1.383 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007255/0.3317, allocations: 245.3 kB / 0.5359 GB, free: 1.344 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002771/0.3319, allocations: 129.4 kB / 0.536 GB, free: 1.328 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005252/0.3325, allocations: 0.9825 MB / 0.537 GB, free: 492 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000328/0.3328, allocations: 31.02 kB / 0.537 GB, free: 480 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.411e-05/0.3329, allocations: 53.11 kB / 0.537 GB, free: 476 kB / 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.0001733/0.333, allocations: 209.2 kB / 0.5372 GB, free: 272 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.3331, allocations: 82.11 kB / 0.5373 GB, free: 228 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009012/0.334, allocations: 0.6665 MB / 0.538 GB, free: 15.99 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.334, allocations: 4.844 kB / 0.538 GB, free: 15.99 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.3341, allocations: 0 / 0.538 GB, free: 15.99 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.3341, allocations: 6.25 kB / 0.538 GB, free: 15.99 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001164/0.3352, allocations: 0.8287 MB / 0.5388 GB, free: 15.47 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.3352, allocations: 2.75 kB / 0.5388 GB, free: 15.47 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005683/0.3358, allocations: 176.2 kB / 0.5389 GB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.623e-05/0.3359, allocations: 27.03 kB / 0.539 GB, free: 15.45 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.205e-05/0.3359, allocations: 18.81 kB / 0.539 GB, free: 15.44 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001891/0.3378, allocations: 3.509 MB / 0.5424 GB, free: 11.86 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.3378, allocations: 6.281 kB / 0.5424 GB, free: 11.86 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007607/0.3386, allocations: 0.5645 MB / 0.543 GB, free: 11.49 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001757/0.3388, allocations: 99.05 kB / 0.5431 GB, free: 11.43 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.112e-05/0.3388, allocations: 12.16 kB / 0.5431 GB, free: 11.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002279/0.339, allocations: 16.12 kB / 0.5431 GB, free: 11.42 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.535e-05/0.3391, allocations: 41.67 kB / 0.5431 GB, free: 11.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-05/0.3392, allocations: 30.39 kB / 0.5432 GB, free: 11.41 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002536/0.3394, allocations: 325.6 kB / 0.5435 GB, free: 11.25 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3394, allocations: 0 / 0.5435 GB, free: 11.25 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008588/0.3403, allocations: 246.3 kB / 0.5437 GB, free: 11.21 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.0005096/0.3408, allocations: 274.4 kB / 0.544 GB, free: 11.07 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006227/0.3414, allocations: 355.6 kB / 0.5443 GB, free: 10.98 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.765e-06/0.3414, allocations: 7.062 kB / 0.5443 GB, free: 10.98 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005147/0.3419, allocations: 360.5 kB / 0.5447 GB, free: 10.77 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009904/0.3429, allocations: 316.9 kB / 0.545 GB, free: 10.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002034/0.345, allocations: 1.146 MB / 0.5461 GB, free: 9.984 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001352/0.3451, allocations: 166.1 kB / 0.5462 GB, free: 9.902 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000684/0.3458, allocations: 369 kB / 0.5466 GB, free: 9.82 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006716/0.3464, allocations: 386.3 kB / 0.547 GB, free: 9.66 MB / 426.7 MB Notification: Performance of SimCode: time 1.523e-06/0.3464, allocations: 0 / 0.547 GB, free: 9.66 MB / 426.7 MB Notification: Performance of Templates: time 0.02417/0.3706, allocations: 16.58 MB / 0.5632 GB, free: 10.66 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.774744173977524]