Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001118/0.001118, allocations: 95.31 kB / 20.43 MB, free: 4.141 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.00106/0.00106, allocations: 165 kB / 23.8 MB, free: 0.7734 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9815/0.9815, allocations: 158.6 MB / 185.7 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1439/0.1439, allocations: 32.38 MB / 270.4 MB, free: 14.7 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 347.7 MB, free: 9.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.681e-05/2.888e-05, allocations: 9.344 kB / 347.7 MB, free: 9.422 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.2768/0.2768, allocations: 147 MB / 494.7 MB, free: 9.184 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006251/0.283, allocations: 5.017 MB / 499.7 MB, free: 7.02 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006537/0.2837, allocations: 31.12 kB / 499.8 MB, free: 7 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006463/0.2843, allocations: 212 kB / 500 MB, free: 6.855 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002486/0.2868, allocations: 1.144 MB / 0.4894 GB, free: 5.992 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001628/0.2885, allocations: 0.8401 MB / 0.4902 GB, free: 5.363 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001953/0.2904, allocations: 1.918 MB / 0.4921 GB, free: 4.242 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006638/0.2911, allocations: 419.6 kB / 0.4925 GB, free: 3.945 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001987/0.2931, allocations: 1.139 MB / 0.4936 GB, free: 3.273 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008671/0.2939, allocations: 0.5871 MB / 0.4942 GB, free: 2.965 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001305/0.2941, allocations: 59.78 kB / 0.4942 GB, free: 2.965 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009514/0.295, allocations: 476.7 kB / 0.4947 GB, free: 2.762 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002316/0.2952, allocations: 289.2 kB / 0.4949 GB, free: 2.562 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002954/0.2955, allocations: 283.3 kB / 0.4952 GB, free: 2.434 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001465/0.297, allocations: 1.009 MB / 0.4962 GB, free: 1.828 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.297, allocations: 0 / 0.4962 GB, free: 1.828 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.297, allocations: 0 / 0.4962 GB, free: 1.828 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.565e-05/0.297, allocations: 0 / 0.4962 GB, free: 1.828 MB / 362.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.001819/0.2988, allocations: 1.139 MB / 0.4973 GB, free: 0.9492 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.2989, allocations: 9 kB / 0.4973 GB, free: 0.9492 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007956/0.2997, allocations: 221.7 kB / 0.4975 GB, free: 0.8359 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006928/0.3004, allocations: 499.5 kB / 0.498 GB, free: 488 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.773e-05/0.3005, allocations: 160.9 kB / 0.4982 GB, free: 332 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.3006, allocations: 53.62 kB / 0.4982 GB, free: 316 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00114/0.3017, allocations: 1.004 MB / 0.4992 GB, free: 15.32 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/0.3017, allocations: 7.094 kB / 0.4992 GB, free: 15.32 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.458e-05/0.3018, allocations: 28.75 kB / 0.4992 GB, free: 15.3 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.727e-05/0.3019, allocations: 33.36 kB / 0.4993 GB, free: 15.3 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005766/0.3024, allocations: 314.5 kB / 0.4996 GB, free: 15.18 MB / 378.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.003841/0.3063, allocations: 3.885 MB / 0.5034 GB, free: 11.64 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000409/0.3067, allocations: 206.2 kB / 0.5036 GB, free: 11.45 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001501/0.3068, allocations: 88.14 kB / 0.5036 GB, free: 11.36 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002876/0.3071, allocations: 130.1 kB / 0.5038 GB, free: 11.23 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/0.3071, allocations: 49.61 kB / 0.5038 GB, free: 11.18 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 2.845e-06/0.3072, allocations: 0 / 0.5038 GB, free: 11.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=39): time 0.003479/0.3106, allocations: 1.165 MB / 0.5049 GB, free: 9.957 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.923e-05/0.3107, allocations: 132.5 kB / 0.5051 GB, free: 9.797 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005087/0.3112, allocations: 0.5569 MB / 0.5056 GB, free: 9.223 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.864e-05/0.3112, allocations: 33.7 kB / 0.5056 GB, free: 9.184 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002514/0.3115, allocations: 438.9 kB / 0.5061 GB, free: 8.746 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001101/0.3116, allocations: 154.7 kB / 0.5062 GB, free: 8.594 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001882/0.3118, allocations: 160.2 kB / 0.5064 GB, free: 8.43 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001798/0.312, allocations: 0.5508 MB / 0.5069 GB, free: 7.867 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002006/0.3122, allocations: 89.94 kB / 0.507 GB, free: 7.781 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004741/0.3126, allocations: 0.6454 MB / 0.5076 GB, free: 6.902 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006999/0.3133, allocations: 0.6926 MB / 0.5083 GB, free: 6.008 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.3133, allocations: 4 kB / 0.5083 GB, free: 6.004 MB / 378.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00105/0.3144, allocations: 0.6677 MB / 0.509 GB, free: 5.324 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.3144, allocations: 8 kB / 0.509 GB, free: 5.316 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.597e-05/0.3144, allocations: 12 kB / 0.509 GB, free: 5.305 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000891/0.3153, allocations: 263 kB / 0.5092 GB, free: 5.051 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003426/0.3157, allocations: 131.8 kB / 0.5093 GB, free: 4.922 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001042/0.3167, allocations: 1.007 MB / 0.5103 GB, free: 3.883 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004091/0.3171, allocations: 24 kB / 0.5104 GB, free: 3.859 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.449e-05/0.3172, allocations: 63.98 kB / 0.5104 GB, free: 3.797 MB / 378.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.0002389/0.3174, allocations: 208.3 kB / 0.5106 GB, free: 3.582 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/0.3176, allocations: 75.66 kB / 0.5107 GB, free: 3.508 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008556/0.3184, allocations: 0.4976 MB / 0.5112 GB, free: 2.992 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.3184, allocations: 4 kB / 0.5112 GB, free: 2.988 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.3184, allocations: 0 / 0.5112 GB, free: 2.988 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.3184, allocations: 4 kB / 0.5112 GB, free: 2.984 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001483/0.3199, allocations: 1.021 MB / 0.5122 GB, free: 1.898 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.3199, allocations: 4 kB / 0.5122 GB, free: 1.895 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000676/0.3206, allocations: 191.9 kB / 0.5124 GB, free: 1.707 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.518e-05/0.3207, allocations: 27.67 kB / 0.5124 GB, free: 1.676 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.284e-05/0.3207, allocations: 15.98 kB / 0.5124 GB, free: 1.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001754/0.3225, allocations: 3.566 MB / 0.5159 GB, free: 13.85 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3225, allocations: 0 / 0.5159 GB, free: 13.85 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007673/0.3232, allocations: 0.5856 MB / 0.5165 GB, free: 13.23 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002271/0.3235, allocations: 107.5 kB / 0.5166 GB, free: 13.12 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.878e-05/0.3235, allocations: 8 kB / 0.5166 GB, free: 13.11 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002421/0.3238, allocations: 16.73 kB / 0.5166 GB, free: 13.1 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.442e-05/0.3239, allocations: 35.89 kB / 0.5166 GB, free: 13.06 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002984/0.3242, allocations: 31.98 kB / 0.5166 GB, free: 13.03 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000321/0.3245, allocations: 346.8 kB / 0.517 GB, free: 12.7 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3245, allocations: 0 / 0.517 GB, free: 12.7 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008116/0.3253, allocations: 251.8 kB / 0.5172 GB, free: 12.45 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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.0006865/0.326, allocations: 286.2 kB / 0.5175 GB, free: 12.18 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00081/0.3268, allocations: 390.8 kB / 0.5179 GB, free: 11.79 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.3268, allocations: 0 / 0.5179 GB, free: 11.79 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006193/0.3274, allocations: 385.2 kB / 0.5182 GB, free: 11.39 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/0.3285, allocations: 322.2 kB / 0.5185 GB, free: 11.09 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002071/0.3306, allocations: 1.124 MB / 0.5196 GB, free: 9.91 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001351/0.3307, allocations: 170.4 kB / 0.5198 GB, free: 9.723 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005963/0.3313, allocations: 221.3 kB / 0.52 GB, free: 9.504 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001943/0.3315, allocations: 84.48 kB / 0.5201 GB, free: 9.422 MB / 394.7 MB Notification: Performance of SimCode: time 1.673e-06/0.3315, allocations: 0 / 0.5201 GB, free: 9.422 MB / 394.7 MB Notification: Performance of Templates: time 0.02064/0.3521, allocations: 16.55 MB / 0.5363 GB, free: 8.961 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 4.016056661028415]