Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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.0009226/0.0009226, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.0009398/0.0009398, allocations: 167.6 kB / 25.61 MB, free: 8.902 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.9275/0.9275, allocations: 177.1 MB / 206 MB, free: 4.504 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.1497/0.1497, allocations: 34.25 MB / 296.8 MB, free: 13.95 MB / 282.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.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 379.3 MB, free: 23.43 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.326e-05/1.441e-05, allocations: 5.547 kB / 379.3 MB, free: 23.43 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.301/0.301, allocations: 146 MB / 0.513 GB, free: 16.43 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003129/0.3041, allocations: 2.579 MB / 0.5155 GB, free: 16.35 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004167/0.3046, allocations: 27.16 kB / 0.5155 GB, free: 16.35 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004818/0.305, allocations: 213.1 kB / 0.5157 GB, free: 16.34 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001806/0.3069, allocations: 1.099 MB / 0.5168 GB, free: 16.28 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001202/0.3081, allocations: 0.8277 MB / 0.5176 GB, free: 16.25 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001646/0.3097, allocations: 1.905 MB / 0.5194 GB, free: 16.2 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005694/0.3103, allocations: 421.5 kB / 0.5198 GB, free: 16.17 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001368/0.3116, allocations: 1.141 MB / 0.521 GB, free: 16.07 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000671/0.3123, allocations: 0.5932 MB / 0.5215 GB, free: 16.02 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000117/0.3124, allocations: 57.78 kB / 0.5216 GB, free: 16.02 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007158/0.3131, allocations: 452.3 kB / 0.522 GB, free: 16 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000194/0.3133, allocations: 287.7 kB / 0.5223 GB, free: 15.96 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002515/0.3136, allocations: 285.4 kB / 0.5226 GB, free: 15.94 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00107/0.3147, allocations: 0.9919 MB / 0.5235 GB, free: 15.83 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3147, allocations: 3.594 kB / 0.5235 GB, free: 15.83 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.3147, allocations: 0 / 0.5235 GB, free: 15.83 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.232e-05/0.3147, allocations: 4 kB / 0.5235 GB, free: 15.82 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.001616/0.3163, allocations: 1.117 MB / 0.5246 GB, free: 15.19 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.3163, allocations: 12.5 kB / 0.5247 GB, free: 15.18 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000732/0.3171, allocations: 221.4 kB / 0.5249 GB, free: 15.12 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000606/0.3177, allocations: 483.3 kB / 0.5253 GB, free: 14.9 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.112e-05/0.3178, allocations: 149.6 kB / 0.5255 GB, free: 14.78 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.899e-05/0.3178, allocations: 64.08 kB / 0.5255 GB, free: 14.77 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000686/0.3185, allocations: 0.9383 MB / 0.5264 GB, free: 14.04 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.055e-05/0.3186, allocations: 6.344 kB / 0.5264 GB, free: 14.04 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.909e-05/0.3186, allocations: 22 kB / 0.5265 GB, free: 14.04 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.82e-05/0.3187, allocations: 38.48 kB / 0.5265 GB, free: 14.04 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000399/0.3191, allocations: 258 kB / 0.5268 GB, free: 14.03 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.002391/0.3214, allocations: 3.777 MB / 0.5304 GB, free: 11.14 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002932/0.3217, allocations: 196.4 kB / 0.5306 GB, free: 11.11 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.3219, allocations: 74.98 kB / 0.5307 GB, free: 11.09 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.114e-05/0.3219, allocations: 14.84 kB / 0.5307 GB, free: 11.09 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.3219, allocations: 48.25 kB / 0.5308 GB, free: 11.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.653e-06/0.3219, allocations: 0 / 0.5308 GB, free: 11.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.002848/0.3248, allocations: 0.994 MB / 0.5317 GB, free: 10.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.619e-05/0.3248, allocations: 137.8 kB / 0.5319 GB, free: 10.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003526/0.3252, allocations: 0.5475 MB / 0.5324 GB, free: 10.29 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.153e-05/0.3252, allocations: 35.33 kB / 0.5324 GB, free: 10.26 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00017/0.3254, allocations: 438.3 kB / 0.5328 GB, free: 9.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.107e-05/0.3254, allocations: 152.6 kB / 0.533 GB, free: 9.891 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00017/0.3256, allocations: 165.1 kB / 0.5332 GB, free: 9.859 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.482e-05/0.3257, allocations: 0.5565 MB / 0.5337 GB, free: 9.363 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/0.3258, allocations: 76 kB / 0.5338 GB, free: 9.359 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002744/0.3261, allocations: 0.6347 MB / 0.5344 GB, free: 8.648 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005012/0.3266, allocations: 0.6706 MB / 0.535 GB, free: 8.059 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.3266, allocations: 9.219 kB / 0.5351 GB, free: 8.055 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0008059/0.3274, allocations: 0.6218 MB / 0.5357 GB, free: 7.957 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.3274, allocations: 8.312 kB / 0.5357 GB, free: 7.957 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/0.3274, allocations: 11.16 kB / 0.5357 GB, free: 7.957 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007626/0.3282, allocations: 233.7 kB / 0.5359 GB, free: 7.941 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002853/0.3285, allocations: 131.2 kB / 0.536 GB, free: 7.941 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005367/0.329, allocations: 0.9909 MB / 0.537 GB, free: 7.133 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003408/0.3294, allocations: 28.05 kB / 0.537 GB, free: 7.133 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.42e-05/0.3294, allocations: 53.2 kB / 0.5371 GB, free: 7.133 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.0001633/0.3296, allocations: 209.8 kB / 0.5373 GB, free: 6.965 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.3297, allocations: 80.86 kB / 0.5373 GB, free: 6.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000924/0.3306, allocations: 0.6618 MB / 0.538 GB, free: 6.805 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.3306, allocations: 6.609 kB / 0.538 GB, free: 6.805 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.3306, allocations: 0 / 0.538 GB, free: 6.805 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.3306, allocations: 5.578 kB / 0.538 GB, free: 6.801 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001039/0.3317, allocations: 0.8288 MB / 0.5388 GB, free: 6.438 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.3317, allocations: 2.656 kB / 0.5388 GB, free: 6.438 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006342/0.3323, allocations: 171 kB / 0.539 GB, free: 6.438 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.063e-05/0.3324, allocations: 27.05 kB / 0.539 GB, free: 6.422 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.045e-05/0.3324, allocations: 19.56 kB / 0.539 GB, free: 6.422 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000968/0.3334, allocations: 3.511 MB / 0.5425 GB, free: 2.91 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.3334, allocations: 2.25 kB / 0.5425 GB, free: 2.91 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005886/0.334, allocations: 0.5687 MB / 0.543 GB, free: 2.594 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001481/0.3341, allocations: 96.5 kB / 0.5431 GB, free: 2.559 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.614e-05/0.3342, allocations: 17.69 kB / 0.5431 GB, free: 2.555 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000237/0.3344, allocations: 17.31 kB / 0.5431 GB, free: 2.551 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.005e-05/0.3345, allocations: 44.05 kB / 0.5432 GB, free: 2.547 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.386e-05/0.3346, allocations: 31.41 kB / 0.5432 GB, free: 2.547 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002098/0.3348, allocations: 324.6 kB / 0.5435 GB, free: 2.418 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3348, allocations: 1.969 kB / 0.5435 GB, free: 2.418 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007209/0.3355, allocations: 246 kB / 0.5438 GB, free: 2.406 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.0004424/0.3359, allocations: 267.1 kB / 0.544 GB, free: 2.289 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005483/0.3365, allocations: 360.2 kB / 0.5444 GB, free: 2.262 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3365, allocations: 0 / 0.5444 GB, free: 2.262 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004652/0.3369, allocations: 360.4 kB / 0.5447 GB, free: 2.082 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000976/0.3379, allocations: 322.3 kB / 0.545 GB, free: 2.039 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001656/0.3396, allocations: 1.158 MB / 0.5461 GB, free: 1.402 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001062/0.3397, allocations: 164.9 kB / 0.5463 GB, free: 1.328 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006098/0.3403, allocations: 366.9 kB / 0.5466 GB, free: 1.238 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006151/0.3409, allocations: 376.1 kB / 0.547 GB, free: 1.086 MB / 410.7 MB Notification: Performance of SimCode: time 5.21e-07/0.3409, allocations: 0 / 0.547 GB, free: 1.086 MB / 410.7 MB Notification: Performance of Templates: time 0.0224/0.3633, allocations: 16.81 MB / 0.5634 GB, free: 6 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.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.808551302179694]