Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.001328/0.001328, allocations: 79.58 kB / 21.18 MB, free: 3.383 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.001684/0.001684, allocations: 161 kB / 24.56 MB, free: 16 kB / 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 1.011/1.011, allocations: 177.1 MB / 205 MB, free: 5.59 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.253/0.253, allocations: 34.26 MB / 295.7 MB, free: 0.6875 MB / 266.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.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 378.1 MB, free: 2.613 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.414e-05/2.603e-05, allocations: 2.312 kB / 378.1 MB, free: 2.609 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.2801/0.2801, allocations: 134.6 MB / 0.5006 GB, free: 25.11 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003962/0.284, allocations: 3.092 MB / 0.5036 GB, free: 23.04 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005887/0.2846, allocations: 26.78 kB / 0.5037 GB, free: 23.03 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006924/0.2853, allocations: 211.5 kB / 0.5039 GB, free: 22.92 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001694/0.287, allocations: 0.782 MB / 0.5046 GB, free: 22.45 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002199/0.2892, allocations: 0.9038 MB / 0.5055 GB, free: 22 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002573/0.2918, allocations: 1.86 MB / 0.5073 GB, free: 21.15 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000721/0.2925, allocations: 427.8 kB / 0.5077 GB, free: 20.89 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001565/0.2941, allocations: 0.9053 MB / 0.5086 GB, free: 20.53 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001082/0.2952, allocations: 0.6955 MB / 0.5093 GB, free: 20.31 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001439/0.2953, allocations: 63.72 kB / 0.5094 GB, free: 20.31 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006619/0.296, allocations: 278.9 kB / 0.5096 GB, free: 20.24 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002602/0.2962, allocations: 295 kB / 0.5099 GB, free: 20.09 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002973/0.2965, allocations: 288.8 kB / 0.5102 GB, free: 19.98 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001117/0.2976, allocations: 0.7953 MB / 0.511 GB, free: 19.66 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2976, allocations: 4 kB / 0.511 GB, free: 19.66 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2976, allocations: 6.375 kB / 0.511 GB, free: 19.66 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.94e-05/0.2977, allocations: 0 / 0.511 GB, free: 19.66 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.001459/0.2991, allocations: 1.083 MB / 0.512 GB, free: 18.91 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.2992, allocations: 8.969 kB / 0.512 GB, free: 18.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003254/0.2995, allocations: 154.1 kB / 0.5122 GB, free: 18.84 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005786/0.3001, allocations: 497.5 kB / 0.5127 GB, free: 18.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001139/0.3002, allocations: 148.8 kB / 0.5128 GB, free: 18.39 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.974e-05/0.3003, allocations: 57.53 kB / 0.5129 GB, free: 18.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007929/0.3011, allocations: 0.9752 MB / 0.5138 GB, free: 17.54 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.3011, allocations: 7.844 kB / 0.5138 GB, free: 17.53 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.567e-05/0.3011, allocations: 25.41 kB / 0.5138 GB, free: 17.51 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.71e-05/0.3012, allocations: 38.56 kB / 0.5139 GB, free: 17.51 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004841/0.3016, allocations: 307.9 kB / 0.5142 GB, free: 17.45 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002367/0.304, allocations: 3.515 MB / 0.5176 GB, free: 14.51 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004351/0.3044, allocations: 273.5 kB / 0.5179 GB, free: 14.4 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001348/0.3046, allocations: 96.67 kB / 0.518 GB, free: 14.37 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001396/0.3047, allocations: 42.78 kB / 0.518 GB, free: 14.36 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.3047, allocations: 40.78 kB / 0.518 GB, free: 14.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 2.134e-06/0.3047, allocations: 0 / 0.518 GB, free: 14.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=45): time 0.001754/0.3065, allocations: 0.9766 MB / 0.519 GB, free: 13.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.336e-05/0.3065, allocations: 138.2 kB / 0.5191 GB, free: 13.66 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003463/0.3069, allocations: 0.5289 MB / 0.5196 GB, free: 13.37 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.839e-05/0.3069, allocations: 37.11 kB / 0.5197 GB, free: 13.33 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001438/0.3071, allocations: 423.8 kB / 0.5201 GB, free: 12.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.266e-05/0.3071, allocations: 172.9 kB / 0.5203 GB, free: 12.84 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/0.3072, allocations: 147.3 kB / 0.5204 GB, free: 12.76 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.544e-05/0.3073, allocations: 0.5424 MB / 0.5209 GB, free: 12.24 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00015/0.3075, allocations: 93.12 kB / 0.521 GB, free: 12.23 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000256/0.3077, allocations: 0.5934 MB / 0.5216 GB, free: 11.55 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004386/0.3082, allocations: 0.6386 MB / 0.5222 GB, free: 10.92 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.3082, allocations: 6.938 kB / 0.5222 GB, free: 10.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0008069/0.309, allocations: 0.6667 MB / 0.5229 GB, free: 10.65 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.309, allocations: 8.469 kB / 0.5229 GB, free: 10.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.309, allocations: 8.938 kB / 0.5229 GB, free: 10.65 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006838/0.3097, allocations: 229.1 kB / 0.5231 GB, free: 10.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002059/0.3099, allocations: 120.6 kB / 0.5232 GB, free: 10.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000469/0.3104, allocations: 0.9717 MB / 0.5242 GB, free: 9.746 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002436/0.3106, allocations: 28.5 kB / 0.5242 GB, free: 9.734 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.598e-05/0.3107, allocations: 32.5 kB / 0.5242 GB, free: 9.73 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (71): * Single equations (assignments): 70 * 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,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0001423/0.3108, allocations: 212 kB / 0.5244 GB, free: 9.531 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.833e-05/0.3109, allocations: 79.28 kB / 0.5245 GB, free: 9.492 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006022/0.3115, allocations: 0.5047 MB / 0.525 GB, free: 9.254 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.3115, allocations: 5.469 kB / 0.525 GB, free: 9.254 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3115, allocations: 0 / 0.525 GB, free: 9.254 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/0.3115, allocations: 4.734 kB / 0.525 GB, free: 9.254 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009332/0.3124, allocations: 0.9581 MB / 0.5259 GB, free: 8.656 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.3124, allocations: 0 / 0.5259 GB, free: 8.656 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004937/0.3129, allocations: 192.6 kB / 0.5261 GB, free: 8.648 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.4e-05/0.313, allocations: 24.62 kB / 0.5262 GB, free: 8.633 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.517e-05/0.313, allocations: 16.28 kB / 0.5262 GB, free: 8.625 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009429/0.314, allocations: 3.56 MB / 0.5296 GB, free: 4.988 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.314, allocations: 7.156 kB / 0.5296 GB, free: 4.984 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005897/0.3146, allocations: 0.6373 MB / 0.5303 GB, free: 4.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001349/0.3147, allocations: 106.9 kB / 0.5304 GB, free: 4.535 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.195e-05/0.3147, allocations: 17.25 kB / 0.5304 GB, free: 4.523 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001797/0.3149, allocations: 17.03 kB / 0.5304 GB, free: 4.516 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.312e-05/0.315, allocations: 38.66 kB / 0.5304 GB, free: 4.508 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.788e-05/0.315, allocations: 26.88 kB / 0.5305 GB, free: 4.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002131/0.3152, allocations: 329.9 kB / 0.5308 GB, free: 4.332 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3152, allocations: 0 / 0.5308 GB, free: 4.332 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005254/0.3157, allocations: 199.5 kB / 0.531 GB, free: 4.305 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 (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0002599/0.316, allocations: 180.9 kB / 0.5311 GB, free: 4.18 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006548/0.3167, allocations: 404.4 kB / 0.5315 GB, free: 4.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.3167, allocations: 0 / 0.5315 GB, free: 4.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004815/0.3171, allocations: 409.2 kB / 0.5319 GB, free: 3.852 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00083/0.318, allocations: 339.6 kB / 0.5322 GB, free: 3.77 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001703/0.3197, allocations: 1.177 MB / 0.5334 GB, free: 3.047 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.864e-05/0.3198, allocations: 173.1 kB / 0.5336 GB, free: 2.965 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004168/0.3202, allocations: 179.7 kB / 0.5337 GB, free: 2.918 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001061/0.3203, allocations: 59.64 kB / 0.5338 GB, free: 2.906 MB / 410.7 MB Notification: Performance of SimCode: time 1.202e-06/0.3203, allocations: 0 / 0.5338 GB, free: 2.906 MB / 410.7 MB Notification: Performance of Templates: time 0.01629/0.3366, allocations: 12.89 MB / 0.5464 GB, free: 12.46 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.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.802810213994235]